Skip to content

Commit b7864f4

Browse files
committed
fix docs
1 parent 21f82d2 commit b7864f4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

docs/generators/kotlin-spring.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
2424
|apiSuffix|suffix for api classes| |Api|
2525
|artifactId|Generated artifact id (name of jar).| |openapi-spring|
2626
|artifactVersion|Generated artifact's package version.| |1.0.0|
27+
|autoXSpringPaginated|Automatically add x-spring-paginated to operations that have 'page', 'size', and 'sort' query parameters. When enabled, operations with all three parameters will have Pageable support automatically applied. Operations with x-spring-paginated explicitly set to false will not be auto-detected.| |false|
2728
|basePackage|base package (invokerPackage) for generated code| |org.openapitools|
2829
|beanQualifiers|Whether to add fully-qualifier class names as bean qualifiers in @Component and @RestController annotations. May be used to prevent bean names clash if multiple generated libraries (contexts) added to single project.| |false|
2930
|configPackage|configuration package for generated code| |org.openapitools.configuration|
@@ -79,6 +80,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
7980
|x-maximum-message|Add this property whenever you need to customize the invalidation error message for the maximum value of a variable|FIELD, OPERATION_PARAMETER|null
8081
|x-kotlin-implements|Ability to specify interfaces that model must implement|MODEL|empty array
8182
|x-kotlin-implements-fields|Specify attributes that are implemented by the interface(s) added via `x-kotlin-implements`|MODEL|empty array
83+
|x-spring-paginated|Add `org.springframework.data.domain.Pageable` to controller method. Can be used to handle `page`, `size` and `sort` query parameters. If these query parameters are also specified in the operation spec, they will be removed from the controller method as their values can be obtained from the `Pageable` object.|OPERATION|false
8284

8385

8486
## IMPORT MAPPING

0 commit comments

Comments
 (0)