Improve Spring Data Web configuration properties

See gh-11403
This commit is contained in:
Marcel Overdijk
2017-12-22 19:02:00 +01:00
committed by Stephane Nicoll
parent 8d1bd7eb3c
commit be93eabc6b
4 changed files with 75 additions and 1 deletions

View File

@@ -646,7 +646,11 @@ content into your application. Rather, pick only the properties that you need.
# DATA WEB ({sc-spring-boot-autoconfigure}/data/web/SpringDataWebProperties.{sc-ext}[SpringDataWebProperties])
spring.data.web.pageable.default-page-size=20 # Default page size.
spring.data.web.pageable.max-page-size=2000 # Configures the maximum page size to be accepted.
spring.data.web.pageable.one-indexed-parameters=false # Whether to expose and assume 1-based page number indexes in the request parameters.
spring.data.web.pageable.page-parameter=page # Page index parameter name.
spring.data.web.pageable.prefix= # Configures a general prefix to be prepended to the page number and page size parameters.
spring.data.web.pageable.qualifier-delimiter= # Configures the delimiter to be used between the qualifier and the actual page number and size properties.
spring.data.web.pageable.size-parameter=size # Page size parameter name.
spring.data.web.sort.sort-parameter=sort # Sort parameter name.