allowUnicodeIdentifiers |
boolean, toggles whether unicode identifiers are allowed in names or not, default is false |
|
false |
apiKeyAuthEnvironmentVariable |
Name of environment variable where API key can be defined (e.g. PETSTORE_APIKEY='kjhasdGASDa5asdASD') |
|
false |
basicAuthEnvironmentVariable |
Name of environment variable where username and password can be defined (e.g. PETSTORE_CREDS='username:password') |
|
null |
curlOptions |
Default cURL options |
|
null |
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 |
generateBashCompletion |
Whether to generate the Bash completion script |
|
false |
generateZshCompletion |
Whether to generate the Zsh completion script |
|
false |
hostEnvironmentVariable |
Name of environment variable where host can be defined (e.g. PETSTORE_HOST='http://api.openapitools.org:8080') |
|
null |
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 |
prependFormOrBodyParameters |
Add form or body parameters to the beginning of the parameter list. |
|
false |
processMarkdown |
Convert all Markdown Markup into terminal formatting |
|
false |
scriptName |
The name of the script that will be generated (e.g. petstore-cli) |
|
null |
sortModelPropertiesByRequiredFlag |
Sort model properties to place required parameters before optional parameters. |
|
true |
sortParamsByRequiredFlag |
Sort method arguments to place required parameters before optional parameters. |
|
true |