Advertisement
Guest User

createapi jellyfin yaml

a guest
Jul 26th, 2022
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 4.74 KB | None | 0 0
  1. # Modifier for all generated declarations
  2. access: public
  3. # Add @available(*, deprecated) attributed
  4. isAddingDeprecations: true
  5. # Generate enums for strings
  6. isGeneratingEnums: true
  7. # Example: "enabled" -> "isEnabled"
  8. isGeneratingSwiftyBooleanPropertyNames: true
  9. # Any schema that can be conveted to a type identifier.
  10. # Example: "typealias Pets = [Pet], is inlined as "[Pet]".
  11. isInliningTypealiases: true
  12. # Example: "var sourcelUrl" becomes "var sourceURL"
  13. isReplacingCommonAcronyms: true
  14. # Acronyms to add to the default list
  15. addedAcronyms: []
  16. # Acronyms to remove from the default list
  17. ignoredAcronyms: []
  18. # Example: "var file: [File]" becomes "var files: [File]"
  19. isPluralizationEnabled: true
  20. # Available values: ["spaces", "tabs"]
  21. indentation: spaces
  22. # By default, 4
  23. spaceWidth: 4
  24. # Parses dates (e.g. "2021-09-29") using `NaiveDate` (https://github.com/CreateAPI/NaiveDate)
  25. isNaiveDateEnabled: true
  26. # If enabled, uses `Int64` or `Int32` when specified.
  27. isUsingIntegersWithPredefinedCapacity: false
  28. # Disableds SwiftLint
  29. isSwiftLintDisabled: true
  30. # Overrides file header comment
  31. fileHeaderComment: "// Generated by Create API\n// https://github.com/CreateAPI/CreateAPI"
  32.  
  33. entities:
  34.  # Excluded entities, e.g. ["SimpleUser"]
  35.   # `exclude` and `include` can't be used together
  36.   exclude: []
  37.   # Included entities, e.g. ["SimpleUser"]
  38.   include: []
  39.   # Generates entities as structs
  40.   isGeneratingStructs: true
  41.   # Generate the following entities as classes
  42.   entitiesGeneratedAsClasses: []
  43.   # Generate the following entities as structs
  44.   entitiesGeneratedAsStructs: []
  45.   # Makes classes final
  46.   isMakingClassesFinal: true
  47.   # Base class for entities generated as classes
  48.   baseClass: null
  49.   # Protocols adopted by entities
  50.   protocols: ["Codable"]
  51.   # Generate initializers for all entities
  52.   isGeneratingInitializers: true
  53.   # If disabled, will use let properties in struct entities
  54.   isGeneratingMutableStructProperties: false
  55.   # If disabled, will use let properties in class entities
  56.   isGeneratingMutableClassProperties: false
  57.   # If disabled, will use strings as coding keys
  58.   isGeneratingCustomCodingKeys: true
  59.   # By default, the order matches the order in the spec
  60.   isSortingPropertiesAlphabetically: false
  61.   # Add defaults values for booleans and other types when specified
  62.   isAddingDefaultValues: true
  63.   # For `allOf` inline properties from references
  64.   isInliningPropertiesFromReferencedSchemas: false
  65.   # Changes how unspecified additional properties are interpreted
  66.   isAdditionalPropertiesOnByDefault: true
  67.   # Strips the parent name of enum cases within objects that are `oneOf` / `allOf` / `anyOf` of nested references
  68.   isStrippingParentNameInNestedObjects: false
  69.  
  70.   # The types to import in the entities, by default empty
  71.   imports: ["CoreLocation"]
  72.  
  73. paths:
  74.  # Excluded paths, e.g. ["/gists/{gist_id}/commits"]
  75.   # `exclude` and `include` can't be used together
  76.   exclude: []
  77.   # Included paths, e.g. ["/gists/{gist_id}/commits"]
  78.   include: []
  79.   # Available options:
  80.   #   - "rest" - generate structs to represent path components
  81.   #   - "operations" - generate a plain list of operatinos
  82.   style: operations
  83.   # Namespace for all generated paths
  84.   namespace: "Paths"
  85.   # Generate response headers using https://github.com/CreateAPI/HTTPHeaders
  86.   isGeneratingResponseHeaders: true
  87.   # Add operation id to each request
  88.   isAddingOperationIds: false
  89.   # The types to import, by default uses "Get" (https://github.com/kean/Get)
  90.   imports: ["Get"]
  91.   # Example, "- empty: Void"
  92.   overrideResponses: {}
  93.   # Inline simple requests, like the ones with a single parameter
  94.   isInliningSimpleRequests: true
  95.   # Inline simple parametesr with few arguments.
  96.   isInliningSimpleQueryParameters: true
  97.   # Threshold from which to start inlining query parameters
  98.   simpleQueryParametersThreshold: 999
  99.   # Tries to remove redundant paths
  100.   isRemovingRedundantPaths: true
  101.  
  102. rename:
  103.  # Rename properties, example:
  104.   #   - name: firstName
  105.   #   - SimpleUser.name: firstName
  106.   properties: {}
  107.   # Rename query parameters
  108.   parameters: {}
  109.   # Rename enum cases
  110.   enumCases: {}
  111.   # Rename entities
  112.   entities: {"AuthenticateUserByName": "AuthenticateUserByNamePayload"}
  113.   # Rename operation when "paths.style: operations" is used
  114.   operations: {}
  115.   # Rename anynomous collection elements. By default, use
  116.   # a singularized form of the property name
  117.   collectionElements: {}
  118.  
  119. comments:
  120.  # Generate comments
  121.   isEnabled: false
  122.   # Generate titles
  123.   isAddingTitles: false
  124.   # Generate description
  125.   isAddingDescription: false
  126.   # Generate examples
  127.   isAddingExamples: false
  128.   # Add links to the external documenatation
  129.   isAddingExternalDocumentation: false
  130.   # Auto-capitalizes comments
  131.   isCapitalizationEnabled: true
  132.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement