![]() ![]() True The mapping in the discriminator includes descendent schemas that allOf inherit from self and the discriminator mapping schemas in the OAS document. (Python, Java, Go, PowerShell, C# have this enabled by default). Set to false for generators with better support for discriminators. ![]() Naming convention for the output files: 'camelCase', 'kebab-case'. true With this option enabled, each enum will have a new case, 'unknown_default_open_api', so that when the enum case sent by the server is not known by the client/spec, can safely be decoded to this case. If the server adds new enum cases, that are unknown by an old spec/client, the client will fail to parse the network response.With this option enabled, each enum will have a new case, 'unknown_default_open_api', so that when the server sends an enum case that is not known by the client/spec, they can safely fallback to this case.įalse No changes to the enum's are made, this is the default option. Set to true to replace '-' and '+' symbols with 'minus ' and 'plus' in enum of type string Naming convention for enum properties: 'camelCase', 'PascalCase', 'snake_case', 'UPPERCASE', and 'original' Suffix that will be appended to all enum names. Whether to ensure parameter names are unique in an operation (rename parameters that are not). true Keep the old (incorrect) behaviour that 'additionalProperties' is set to false by default. If true (default), keep the old (incorrect) behaviour that 'additionalProperties' is set to false by default.įalse The 'additionalProperties' implementation is compliant with the OAS and JSON schema specifications. If false, the 'additionalProperties' implementation (set to true by default) is compliant with the OAS and JSON schema specifications. The prefix of the generated Configuration. Optionīoolean, toggles whether unicode identifiers are allowed in names or not, default is false Refer to configuration docs for more details. These options may be applied as additional-properties (cli) or configOptions (plugins). Generates a TypeScript Angular (9.x - 16.x) client library. Pass this to the generate command after -g Documentation for the typescript-angular Generator METADATA Property
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |