Skip to content

Commit b12acf0

Browse files
authored
Enforce documented /pets pagination size limit (OAI#3070)
1 parent 67a6a32 commit b12acf0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/v3.0/petstore.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ paths:
2020
required: false
2121
schema:
2222
type: integer
23+
maximum: 100
2324
format: int32
2425
responses:
2526
'200':
@@ -96,6 +97,7 @@ components:
9697
type: string
9798
Pets:
9899
type: array
100+
maxItems: 100
99101
items:
100102
$ref: "#/components/schemas/Pet"
101103
Error:

0 commit comments

Comments
 (0)