Skip to content

Commit 87ea96a

Browse files
authored
chore: moved changes to code classes
1 parent 26f7f42 commit 87ea96a

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

docs/generators/spring.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
104104
|useOptional|Use Optional container for optional parameters| |false|
105105
|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|
106106
|useSealed|Whether to generate sealed model interfaces and classes| |false|
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|
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|
108108
|useSpringBuiltInValidation|Disable `@Validated` at the class level when using built-in validation.| |false|
109109
|useSpringController|Annotate the generated API as a Spring Controller| |false|
110110
|useSwaggerUI|Open the OpenApi specification in swagger-ui. Will also import and configure needed dependencies| |true|

modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/KotlinSpringServerCodegen.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ public KotlinSpringServerCodegen() {
241241
addSwitch(BEAN_QUALIFIERS, "Whether to add fully-qualifier class names as bean qualifiers in @Component and " +
242242
"@RestController annotations. May be used to prevent bean names clash if multiple generated libraries" +
243243
" (contexts) added to single project.", beanQualifiers);
244-
addSwitch(USE_SPRING_BOOT3, "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`.", useSpringBoot3);
244+
addSwitch(USE_SPRING_BOOT3, "Generate code and provide dependencies for use with Spring Boot ≥ 3 (use jakarta instead of javax in imports). Enabling this option will also enable `useJakartaEe`.", useSpringBoot3);
245245
addSwitch(USE_FLOW_FOR_ARRAY_RETURN_TYPE, "Whether to use Flow for array/collection return types when reactive is enabled. If false, will use List instead.", useFlowForArrayReturnType);
246246
addSwitch(INCLUDE_HTTP_REQUEST_CONTEXT, "Whether to include HttpServletRequest (blocking) or ServerWebExchange (reactive) as additional parameter in generated methods.", includeHttpRequestContext);
247247
addSwitch(USE_RESPONSE_ENTITY,

modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/SpringCodegen.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ public SpringCodegen() {
276276
"Use `equalsIgnoreCase` when String for enum comparison",
277277
useEnumCaseInsensitive));
278278
cliOptions.add(CliOption.newBoolean(USE_SPRING_BOOT3,
279-
"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`.",
279+
"Generate code and provide dependencies for use with Spring Boot ≥ 3 (use jakarta instead of javax in imports). Enabling this option will also enable `useJakartaEe`.",
280280
useSpringBoot3));
281281
cliOptions.add(CliOption.newBoolean(GENERATE_CONSTRUCTOR_WITH_REQUIRED_ARGS,
282282
"Whether to generate constructors with required args for models",

0 commit comments

Comments
 (0)