From 635a66328ef86069c7b417f341ff8b29150bc43c Mon Sep 17 00:00:00 2001 From: Joshua O'Sullivan Date: Fri, 4 Nov 2022 11:10:19 +0000 Subject: [PATCH] Enforce documented /pets pagination size limit --- examples/v3.0/petstore.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/v3.0/petstore.yaml b/examples/v3.0/petstore.yaml index 534bb0cd77..fa14a9781d 100644 --- a/examples/v3.0/petstore.yaml +++ b/examples/v3.0/petstore.yaml @@ -20,6 +20,7 @@ paths: required: false schema: type: integer + maximum: 100 format: int32 responses: '200': @@ -96,6 +97,7 @@ components: type: string Pets: type: array + maxItems: 100 items: $ref: "#/components/schemas/Pet" Error: