@@ -51,13 +51,13 @@ paths:
5151 schema :
5252 $ref : " #/definitions/Pet"
5353 x-exportParamName : " Body"
54- responses :
55- " 405 " :
56- description : " Invalid input"
5754 security :
5855 - petstore_auth :
5956 - " write:pets"
6057 - " read:pets"
58+ responses :
59+ " 405 " :
60+ description : " Invalid input"
6161 put :
6262 tags :
6363 - " pet"
@@ -78,17 +78,17 @@ paths:
7878 schema :
7979 $ref : " #/definitions/Pet"
8080 x-exportParamName : " Body"
81+ security :
82+ - petstore_auth :
83+ - " write:pets"
84+ - " read:pets"
8185 responses :
8286 " 400 " :
8387 description : " Invalid ID supplied"
8488 " 404 " :
8589 description : " Pet not found"
8690 " 405 " :
8791 description : " Validation exception"
88- security :
89- - petstore_auth :
90- - " write:pets"
91- - " read:pets"
9292 /pet/findByStatus :
9393 get :
9494 tags :
@@ -114,6 +114,10 @@ paths:
114114 default : " available"
115115 collectionFormat : " csv"
116116 x-exportParamName : " Status"
117+ security :
118+ - petstore_auth :
119+ - " write:pets"
120+ - " read:pets"
117121 responses :
118122 " 200 " :
119123 description : " successful operation"
@@ -123,10 +127,6 @@ paths:
123127 $ref : " #/definitions/Pet"
124128 " 400 " :
125129 description : " Invalid status value"
126- security :
127- - petstore_auth :
128- - " write:pets"
129- - " read:pets"
130130 /pet/findByTags :
131131 get :
132132 tags :
@@ -148,6 +148,11 @@ paths:
148148 type : " string"
149149 collectionFormat : " csv"
150150 x-exportParamName : " Tags"
151+ security :
152+ - petstore_auth :
153+ - " write:pets"
154+ - " read:pets"
155+ deprecated : true
151156 responses :
152157 " 200 " :
153158 description : " successful operation"
@@ -157,11 +162,6 @@ paths:
157162 $ref : " #/definitions/Pet"
158163 " 400 " :
159164 description : " Invalid tag value"
160- security :
161- - petstore_auth :
162- - " write:pets"
163- - " read:pets"
164- deprecated : true
165165 /pet/{petId} :
166166 get :
167167 tags :
@@ -180,6 +180,8 @@ paths:
180180 type : " integer"
181181 format : " int64"
182182 x-exportParamName : " PetId"
183+ security :
184+ - api_key : []
183185 responses :
184186 " 200 " :
185187 description : " successful operation"
@@ -189,8 +191,6 @@ paths:
189191 description : " Invalid ID supplied"
190192 " 404 " :
191193 description : " Pet not found"
192- security :
193- - api_key : []
194194 post :
195195 tags :
196196 - " pet"
@@ -224,13 +224,13 @@ paths:
224224 type : " string"
225225 x-exportParamName : " Status"
226226 x-optionalDataType : " String"
227- responses :
228- " 405 " :
229- description : " Invalid input"
230227 security :
231228 - petstore_auth :
232229 - " write:pets"
233230 - " read:pets"
231+ responses :
232+ " 405 " :
233+ description : " Invalid input"
234234 delete :
235235 tags :
236236 - " pet"
@@ -254,13 +254,13 @@ paths:
254254 type : " integer"
255255 format : " int64"
256256 x-exportParamName : " PetId"
257- responses :
258- " 400 " :
259- description : " Invalid pet value"
260257 security :
261258 - petstore_auth :
262259 - " write:pets"
263260 - " read:pets"
261+ responses :
262+ " 400 " :
263+ description : " Invalid pet value"
264264 /pet/{petId}/uploadImage :
265265 post :
266266 tags :
@@ -293,15 +293,15 @@ paths:
293293 required : false
294294 type : " file"
295295 x-exportParamName : " File"
296+ security :
297+ - petstore_auth :
298+ - " write:pets"
299+ - " read:pets"
296300 responses :
297301 " 200 " :
298302 description : " successful operation"
299303 schema :
300304 $ref : " #/definitions/ApiResponse"
301- security :
302- - petstore_auth :
303- - " write:pets"
304- - " read:pets"
305305 /store/inventory :
306306 get :
307307 tags :
@@ -312,6 +312,8 @@ paths:
312312 produces :
313313 - " application/json"
314314 parameters : []
315+ security :
316+ - api_key : []
315317 responses :
316318 " 200 " :
317319 description : " successful operation"
@@ -320,8 +322,6 @@ paths:
320322 additionalProperties :
321323 type : " integer"
322324 format : " int32"
323- security :
324- - api_key : []
325325 /store/order :
326326 post :
327327 tags :
@@ -613,13 +613,13 @@ paths:
613613 schema :
614614 $ref : " #/definitions/Client"
615615 x-exportParamName : " Body"
616+ security :
617+ - api_key_query : []
616618 responses :
617619 " 200 " :
618620 description : " successful operation"
619621 schema :
620622 $ref : " #/definitions/Client"
621- security :
622- - api_key_query : []
623623 /fake :
624624 get :
625625 tags :
@@ -862,13 +862,13 @@ paths:
862862 type : " string"
863863 x-exportParamName : " Callback"
864864 x-optionalDataType : " String"
865+ security :
866+ - http_basic_test : []
865867 responses :
866868 " 400 " :
867869 description : " Invalid username supplied"
868870 " 404 " :
869871 description : " User not found"
870- security :
871- - http_basic_test : []
872872 patch :
873873 tags :
874874 - " fake"
0 commit comments