static boolean |
SpringPageableScanUtils.applyAutoXSpringPaginatedIfNeeded(io.swagger.v3.oas.models.OpenAPI openAPI,
io.swagger.v3.oas.models.Operation operation,
SpringPageableScanUtils.AutoPaginationMode autoPaginationMode) |
Auto-detects pagination parameters after resolving component parameter references against
the supplied OpenAPI document.
|
static boolean |
SpringPageableScanUtils.applyAutoXSpringPaginatedIfNeeded(io.swagger.v3.oas.models.Operation operation,
SpringPageableScanUtils.AutoPaginationMode autoPaginationMode) |
Auto-detects Pageable pagination query parameters and, when detected, mutates the
operation by setting x-spring-paginated: true on its vendor extensions.
|
void |
SpringPageableScanUtils.scanAll(io.swagger.v3.oas.models.OpenAPI openAPI,
SpringPageableScanUtils.AutoPaginationMode autoPaginationMode) |
|
static Map<String,SpringPageableScanUtils.PageableConstraintsData> |
SpringPageableScanUtils.scanPageableConstraints(io.swagger.v3.oas.models.OpenAPI openAPI,
SpringPageableScanUtils.AutoPaginationMode autoPaginationMode) |
Scans all pageable operations for maximum: and minimum: constraints on
page and size parameters.
|
static Map<String,SpringPageableScanUtils.PageableDefaultsData> |
SpringPageableScanUtils.scanPageableDefaults(io.swagger.v3.oas.models.OpenAPI openAPI,
SpringPageableScanUtils.AutoPaginationMode autoPaginationMode) |
Scans all pageable operations for default values on page, size,
and sort parameters.
|
static Map<String,List<String>> |
SpringPageableScanUtils.scanSortValidationEnums(io.swagger.v3.oas.models.OpenAPI openAPI,
SpringPageableScanUtils.AutoPaginationMode autoPaginationMode) |
Scans all pageable operations for a sort parameter with enum values.
|
static boolean |
SpringPageableScanUtils.willBePageable(io.swagger.v3.oas.models.OpenAPI openAPI,
io.swagger.v3.oas.models.Operation operation,
SpringPageableScanUtils.AutoPaginationMode autoPaginationMode) |
Returns true if the given operation will have a Pageable parameter injected,
resolving component parameter references against the supplied OpenAPI document.
|
static boolean |
SpringPageableScanUtils.willBePageable(io.swagger.v3.oas.models.Operation operation,
SpringPageableScanUtils.AutoPaginationMode autoPaginationMode) |
Returns true if the given operation will have a Pageable parameter injected —
either because it has x-spring-paginated: true explicitly, or because
autoPaginationMode is not NONE and the operation has
all of that mode's required pagination query parameters.
|