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. 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. GradleVersion version for use in the generated adleĬompileSdkVersion version for use in the generated adleĪrtifactId for use in the generated adle and pom.xmlĪrtifact version for use in the generated adle and pom.xml Optionīoolean, toggles whether unicode identifiers are allowed in names or not, default is falseīuildToolsVersion version for use in the generated adle Refer to configuration docs for more details. These options may be applied as additional-properties (cli) or configOptions (plugins). Pass this to the generate command after -g
0 Comments
Leave a Reply. |