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
|useJackson3|Use Jackson 3 instead of Jackson 2 for JSON processing. Only supported for 'native' library.||false|
100
+
|useJackson3|Use jackson 3 dependencies (only allowed when `useSpringBoot4` is set and incompatible with `openApiNullable`).||false|
101
101
|useJakartaEe|whether to use Jakarta EE namespace instead of javax||false|
102
102
|useOneOfDiscriminatorLookup|Use the discriminator's mapping in oneOf to speed up the model lookup. IMPORTANT: Validation (e.g. one and only one match in oneOf's schemas) will be skipped. Only jersey2, jersey3, native, okhttp-gson support this option.||false|
103
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||false|
@@ -108,6 +108,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
108
108
|useRxJava3|Whether to use the RxJava3 adapter with the retrofit2 library. IMPORTANT: This option has been deprecated.||false|
109
109
|useSealedOneOfInterfaces|Generate the oneOf interfaces as sealed interfaces. Only supported for WebClient and RestClient.||false|
110
110
|useSingleRequestParameter|Setting this property to "true" will generate functions with a single argument containing all API endpoint parameters instead of one argument per parameter. ONLY native, jersey2, jersey3, okhttp-gson, microprofile, Spring RestClient, Spring WebClient support this option. Setting this property to "static" does the same as "true", but also makes the generated arguments class static with single parameter instantiation.||false|
111
+
|useSpringBoot4|Generate code and provide dependencies for use with Spring Boot 4.x.||false|
111
112
|useUnaryInterceptor|If true it will generate ResponseInterceptors using a UnaryOperator. This can be usefull for manipulating the request before it gets passed, for example doing your own decryption||false|
112
113
|webclientBlockingOperations|Making all WebClient operations blocking(sync). Note that if on operation 'x-webclient-blocking: false' then such operation won't be sync||false|
113
114
|withAWSV4Signature|whether to include AWS v4 signature support (only available for okhttp-gson library)||false|
|useJackson3|Use Jackson 3 instead of Jackson 2 for JSON processing. Only supported for 'native' library.||false|
100
+
|useJackson3|Use jackson 3 dependencies (only allowed when `useSpringBoot4` is set and incompatible with `openApiNullable`).||false|
101
101
|useJakartaEe|whether to use Jakarta EE namespace instead of javax||false|
102
102
|useOneOfDiscriminatorLookup|Use the discriminator's mapping in oneOf to speed up the model lookup. IMPORTANT: Validation (e.g. one and only one match in oneOf's schemas) will be skipped. Only jersey2, jersey3, native, okhttp-gson support this option.||false|
103
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||false|
@@ -108,6 +108,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
108
108
|useRxJava3|Whether to use the RxJava3 adapter with the retrofit2 library. IMPORTANT: This option has been deprecated.||false|
109
109
|useSealedOneOfInterfaces|Generate the oneOf interfaces as sealed interfaces. Only supported for WebClient and RestClient.||false|
110
110
|useSingleRequestParameter|Setting this property to "true" will generate functions with a single argument containing all API endpoint parameters instead of one argument per parameter. ONLY native, jersey2, jersey3, okhttp-gson, microprofile, Spring RestClient, Spring WebClient support this option. Setting this property to "static" does the same as "true", but also makes the generated arguments class static with single parameter instantiation.||false|
111
+
|useSpringBoot4|Generate code and provide dependencies for use with Spring Boot 4.x.||false|
111
112
|useUnaryInterceptor|If true it will generate ResponseInterceptors using a UnaryOperator. This can be usefull for manipulating the request before it gets passed, for example doing your own decryption||false|
112
113
|webclientBlockingOperations|Making all WebClient operations blocking(sync). Note that if on operation 'x-webclient-blocking: false' then such operation won't be sync||false|
113
114
|withAWSV4Signature|whether to include AWS v4 signature support (only available for okhttp-gson library)||false|
// Ensure the OAS 3.x discriminator mappings include any descendent schemas that allOf
312
+
cliOptions.add(CliOption.newBoolean(USE_SPRING_BOOT4, "Generate code and provide dependencies for use with Spring Boot 4.x.", useSpringBoot4));
313
+
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)); // Ensure the OAS 3.x discriminator mappings include any descendent schemas that allOf
306
314
// inherit from self, any oneOf schemas, any anyOf schemas, any x-discriminator-values,
307
315
// and the discriminator mapping schemas in the OAS document.
308
316
this.setLegacyDiscriminatorBehavior(false);
@@ -370,8 +378,24 @@ public void processOpts() {
370
378
// default jackson unless overridden by setSerializationLibrary
0 commit comments