9/2/2023 0 Comments Openapi generator enumThe name under which you want to publish generated npm package. Only change it if you provide your own run-time code for (de-)serialization of models Naming convention for the property: 'camelCase', 'PascalCase', 'snake_case' and 'original', which keeps the original name. The suffix of the file of the generated model (model.ts). 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 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. 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 |