2/29/2024 0 Comments Json data generator javatrue 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.Įrror Object type. 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). Generate operations dynamically at runtime from an OAS source Publish the original input OpenAPI specification. None Do not publish an OpenAPI specification. Select the OpenAPI documentation provider. This option only works for Java API client Whether the discriminator value lookup should be case-sensitive or 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. Joda Joda (for legacy app only) legacy Legacy java8-localdatetime Java 8 using LocalDateTime (for legacy app only) java8 Java 8 native JSR310 (preferred for jdk 1.8+)ĭeveloper email in generated name in generated pom.xmlĭeveloper organization in generated pom.xmlĭeveloper organization URL in generated pom.xmlĭisable HTML escaping of JSON strings when using gson (needed to avoid problems with byte fields) Set containers (array, set, map) default to null Available on okhttp-gson, jersey2 librariesĬonfig key in Default to none. Make API response's headers case-insensitive. Treat BigDecimal values as Strings to avoid precision loss.įix camelCase when starting with $ sign. If true, async handlers will be used, instead of the sync version This also becomes part of the generated library's filename This also becomes part of the generated library's filenameĪrtifact version in generated pom.xml. swagger2 Annotate Model and Api using the Swagger Annotations 2.x library.Īrtifact description in generated pom.xmlĪrtifactId in generated pom.xml. swagger1 Annotate Model and Api using the Swagger Annotations 1.x library. None Do not annotate Model and Api with complementary annotations. Select the complementary documentation annotation library. List separated by semicolon( ) or new line (Linux or Windows)īoolean, toggles whether unicode identifiers are allowed in names or not, default is false List separated by semicolon( ) or new line (Linux or Windows)Īdditional annotations for oneOf interfaces(class level annotations). OptionĪdditional annotations for enum type(class level annotations)Īdditional annotations for model type(class level annotations). Refer to configuration docs for more details. These options may be applied as additional-properties (cli) or configOptions (plugins). Generates a Java client library (HTTP lib: Jersey (1.x, 2.x), Retrofit (2.x), OpenFeign (10.x) and more. Pass this to the generate command after -g Documentation for the java Generator METADATA Property
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |