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
* If you use Pageable in a GET HTTP method, you will have to declare the explicit mapping of Pageable fields as Query Params and add the @Parameter(hidden = true) Pageable pageable on your pageable parameter.
183
+
* If you use Pageable in a GET HTTP method, you will have to declare the explicit mapping of Pageable fields as Query Params and add the `@Parameter(hidden = true) Pageable pageable` on your pageable parameter.
187
184
* You should also, declare the annotation `@PageableAsQueryParam` provided by springdoc on the method level, or declare your own if need to define your custom description, defaultValue, ...
188
185
* Since, v1.3.1 you can use as well `@ParameterObject` instead of `@PageableAsQueryParam` for HTTP `GET` methods.
NOTE: The property `springdoc.model-converters.pageable-converter.enabled` is only available since v1.5.11+
195
+
196
+
TIP: The projects that uses `spring-boot-starter-data-rest` should add the following dependency `springdoc-openapi-data-rest` in combination with the `springdoc-openapi-ui`.
197
+
This dependency handles the main previous points listed above.
198
+
189
199
190
200
191
201
=== How can I generate enums in the generated description?
@@ -456,14 +466,14 @@ public OpenAPI customOpenAPI() {
456
466
springdoc.cache.disabled= true
457
467
----
458
468
459
-
=== How can I expose the api-docs endpoints without using the `swagger-ui`?
469
+
=== How can I expose the mvc api-docs endpoints without using the `swagger-ui`?
460
470
* You should use the `springdoc-openapi-core` dependency only:
0 commit comments