You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/generators/java-camel.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -105,12 +105,14 @@ These options may be applied as additional-properties (cli) or configOptions (pl
105
105
|useEnumCaseInsensitive|Use `equalsIgnoreCase` when String for enum comparison||false|
106
106
|useFeignClientContextId|Whether to generate Feign client with contextId parameter.||true|
107
107
|useFeignClientUrl|Whether to generate Feign client with url parameter.||true|
108
+
|useJackson3|Set it in order to use jackson 3 dependencies (only allowed when `useSpringBoot4` is set and incompatible with `openApiNullable`).||false|
108
109
|useJakartaEe|whether to use Jakarta EE namespace instead of javax||false|
109
110
|useOneOfInterfaces|whether to use a java interface to describe a set of oneOf options, where each option is a class that implements the interface||true|
110
111
|useOptional|Use Optional container for optional parameters||false|
111
112
|useResponseEntity|Use the `ResponseEntity` type to wrap return values of generated API methods. If disabled, method are annotated using a `@ResponseStatus` annotation, which has the status of the first response declared in the Api definition||true|
112
113
|useSealed|Whether to generate sealed model interfaces and classes||false|
113
114
|useSpringBoot3|Generate code and provide dependencies for use with Spring Boot 3.x. (Use jakarta instead of javax in imports). Enabling this option will also enable `useJakartaEe`.||false|
115
+
|useSpringBoot4|Generate code and provide dependencies for use with Spring Boot 4.x. (Use jakarta instead of javax in imports). Enabling this option will also enable `useJakartaEe`.||false|
114
116
|useSpringBuiltInValidation|Disable `@Validated` at the class level when using built-in validation.||false|
115
117
|useSpringController|Annotate the generated API as a Spring Controller||false|
116
118
|useSwaggerUI|Open the OpenApi specification in swagger-ui. Will also import and configure needed dependencies||true|
Copy file name to clipboardExpand all lines: docs/generators/spring.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,12 +98,14 @@ These options may be applied as additional-properties (cli) or configOptions (pl
98
98
|useEnumCaseInsensitive|Use `equalsIgnoreCase` when String for enum comparison||false|
99
99
|useFeignClientContextId|Whether to generate Feign client with contextId parameter.||true|
100
100
|useFeignClientUrl|Whether to generate Feign client with url parameter.||true|
101
+
|useJackson3|Set it in order to use jackson 3 dependencies (only allowed when `useSpringBoot4` is set and incompatible with `openApiNullable`).||false|
101
102
|useJakartaEe|whether to use Jakarta EE namespace instead of javax||false|
102
103
|useOneOfInterfaces|whether to use a java interface to describe a set of oneOf options, where each option is a class that implements the interface||true|
103
104
|useOptional|Use Optional container for optional parameters||false|
104
105
|useResponseEntity|Use the `ResponseEntity` type to wrap return values of generated API methods. If disabled, method are annotated using a `@ResponseStatus` annotation, which has the status of the first response declared in the Api definition||true|
105
106
|useSealed|Whether to generate sealed model interfaces and classes||false|
106
107
|useSpringBoot3|Generate code and provide dependencies for use with Spring Boot 3.x. (Use jakarta instead of javax in imports). Enabling this option will also enable `useJakartaEe`.||false|
108
+
|useSpringBoot4|Generate code and provide dependencies for use with Spring Boot 4.x. (Use jakarta instead of javax in imports). Enabling this option will also enable `useJakartaEe`.||false|
107
109
|useSpringBuiltInValidation|Disable `@Validated` at the class level when using built-in validation.||false|
108
110
|useSpringController|Annotate the generated API as a Spring Controller||false|
109
111
|useSwaggerUI|Open the OpenApi specification in swagger-ui. Will also import and configure needed dependencies||true|
"Generate code and provide dependencies for use with Spring Boot 3.x. (Use jakarta instead of javax in imports). Enabling this option will also enable `useJakartaEe`.",
"Generate code and provide dependencies for use with Spring Boot 4.x. (Use jakarta instead of javax in imports). Enabling this option will also enable `useJakartaEe`.",
289
+
useSpringBoot4));
290
+
cliOptions.add(CliOption.newBoolean(USE_JACKSON_3, "Set it in order to use jackson 3 dependencies (only allowed when `" + USE_SPRING_BOOT4 + "` is set and incompatible with `"+OPENAPI_NULLABLE+"`).", useJackson3));
0 commit comments