allowUnicodeIdentifiers | boolean, toggles whether unicode identifiers are allowed in names or not, default is false | | false |
disallowAdditionalPropertiesIfNotPresent | If false, the 'additionalProperties' implementation (set to true by default) is compliant with the OAS and JSON schema specifications. If true (default), keep the old (incorrect) behaviour that 'additionalProperties' is set to false by default. | - false
- The 'additionalProperties' implementation is compliant with the OAS and JSON schema specifications.
- true
- Keep the old (incorrect) behaviour that 'additionalProperties' is set to false by default.
| true |
ensureUniqueParams | Whether to ensure parameter names are unique in an operation (rename parameters that are not). | | true |
gemAuthor | gem author (only one is supported). | | null |
gemAuthorEmail | gem author email (only one is supported). | | null |
gemDescription | gem description. | | This gem maps to a REST API |
gemHomepage | gem homepage. | | http://org.openapitools |
gemLicense | gem license. | | unlicense |
gemName | gem name (convention: underscore_case). | | openapi_client |
gemRequiredRubyVersion | gem required Ruby version. | | >= 1.9 |
gemSummary | gem summary. | | A ruby wrapper for the REST APIs |
gemVersion | gem version. | | 1.0.0 |
hideGenerationTimestamp | Hides the generation timestamp when files are generated. | | true |
legacyDiscriminatorBehavior | Set to false for generators with better support for discriminators. (Python, Java, Go, PowerShell, C#have this enabled by default). | - true
- The mapping in the discriminator includes descendent schemas that allOf inherit from self and the discriminator mapping schemas in the OAS document.
- false
- The mapping in the discriminator includes any descendent schemas that allOf inherit from self, any oneOf schemas, any anyOf schemas, any x-discriminator-values, and the discriminator mapping schemas in the OAS document AND Codegen validates that oneOf and anyOf schemas contain the required discriminator and throws an error if the discriminator is missing.
| true |
library | HTTP library template (sub-template) to use | - faraday
- Faraday (https://github.com/lostisland/faraday) (Beta support)
- typhoeus
- Typhoeus >= 1.0.1 (https://github.com/typhoeus/typhoeus)
| typhoeus |
moduleName | top module name (convention: CamelCase, usually corresponding to gem name). | | OpenAPIClient |
prependFormOrBodyParameters | Add form or body parameters to the beginning of the parameter list. | | false |
sortModelPropertiesByRequiredFlag | Sort model properties to place required parameters before optional parameters. | | true |
sortParamsByRequiredFlag | Sort method arguments to place required parameters before optional parameters. | | true |