Skip to content

Commit 9fb97b1

Browse files
committed
Change status/tag to required param for findbystatus/findbytag endpoints
1 parent 0f0761b commit 9fb97b1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/main/resources/openapi.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ paths:
128128
- name: status
129129
in: query
130130
description: Status values that need to be considered for filter
131-
required: false
131+
required: true
132132
explode: true
133133
schema:
134134
type: string
@@ -170,7 +170,7 @@ paths:
170170
- name: tags
171171
in: query
172172
description: Tags to filter by
173-
required: false
173+
required: true
174174
explode: true
175175
schema:
176176
type: array
@@ -267,7 +267,7 @@ paths:
267267
$ref: '#/components/schemas/Pet'
268268
application/xml:
269269
schema:
270-
$ref: '#/components/schemas/Pet'
270+
$ref: '#/components/schemas/Pet'
271271
'400':
272272
description: Invalid input
273273
default:
@@ -490,7 +490,7 @@ paths:
490490
$ref: '#/components/schemas/User'
491491
application/xml:
492492
schema:
493-
$ref: '#/components/schemas/User'
493+
$ref: '#/components/schemas/User'
494494
default:
495495
description: Unexpected error
496496
/user/createWithList:
@@ -836,4 +836,4 @@ components:
836836
api_key:
837837
type: apiKey
838838
name: api_key
839-
in: header
839+
in: header

0 commit comments

Comments
 (0)