diff --git a/public/api-schemas.json b/public/api-schemas.json index 1616d6d449..c049a1343c 100644 --- a/public/api-schemas.json +++ b/public/api-schemas.json @@ -1163,17 +1163,6 @@ } ], "parameters": [ - { - "name": "number", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "description": "The pull request number", - "title": "Number" - }, - "description": "The pull request number" - }, { "name": "owner", "in": "path", @@ -1200,6 +1189,18 @@ "title": "Repository" }, "description": "The name of the repository" + }, + { + "name": "number", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "minimum": 0, + "description": "The pull request number", + "title": "Number" + }, + "description": "The pull request number" } ], "requestBody": {