Skip to content

Commit

Permalink
chore: PIDM-130 increase page size for DL (#181)
Browse files Browse the repository at this point in the history
* chore: increase page size for DL

* fix: align openapi.yaml max value

---------

Co-authored-by: Pietro Tota <pietro.tota@pagopa.it>
  • Loading branch information
infantesimone and pietro-tota authored Feb 4, 2025
1 parent 5d123fd commit 79df77c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api-spec/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ paths:
schema:
type: integer
minimum: 1
maximum: 20
maximum: 1000
default: 10
required: true
description: "Max element per page"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class EcommerceController(@Autowired val ecommerceService: EcommerceService) : E

override fun ecommerceSearchDeadLetterEvents(
@Min(0) pageNumber: Int,
@Min(1) @Max(20) pageSize: Int,
@Min(1) @Max(1000) pageSize: Int,
ecommerceSearchDeadLetterEventsRequestDto: Mono<EcommerceSearchDeadLetterEventsRequestDto>,
exchange: ServerWebExchange
): Mono<ResponseEntity<SearchDeadLetterEventResponseDto>> {
Expand Down

0 comments on commit 79df77c

Please sign in to comment.