11openapi : 3.0.1
22info :
3- description : This is a sample server Petstore server. For this sample, you can use
4- the api key `special-key` to test the authorization filters.
3+ description : " This is a sample server Petstore server. For this sample, you can\
4+ \ use the api key `special-key` to test the authorization filters."
55 license :
66 name : Apache-2.0
77 url : https://www.apache.org/licenses/LICENSE-2.0.html
@@ -122,8 +122,8 @@ paths:
122122 /pet/findByTags :
123123 get :
124124 deprecated : true
125- description : Multiple tags can be provided with comma separated strings. Use
126- tag1, tag2, tag3 for testing.
125+ description : " Multiple tags can be provided with comma separated strings. Use\
126+ \ tag1, tag2, tag3 for testing."
127127 operationId : findPetsByTags
128128 parameters :
129129 - description : Tags to filter by
@@ -235,13 +235,7 @@ paths:
235235 content :
236236 application/x-www-form-urlencoded :
237237 schema :
238- properties :
239- name :
240- description : Updated name of the pet
241- type : string
242- status :
243- description : Updated status of the pet
244- type : string
238+ $ref : ' #/components/schemas/updatePetWithForm_request'
245239 responses :
246240 " 405 " :
247241 content : {}
@@ -269,14 +263,7 @@ paths:
269263 content :
270264 multipart/form-data :
271265 schema :
272- properties :
273- additionalMetadata :
274- description : Additional data to pass to server
275- type : string
276- file :
277- description : file to upload
278- format : binary
279- type : string
266+ $ref : ' #/components/schemas/uploadFile_request'
280267 responses :
281268 " 200 " :
282269 content :
@@ -767,6 +754,25 @@ components:
767754 type : string
768755 title : An uploaded response
769756 type : object
757+ updatePetWithForm_request :
758+ properties :
759+ name :
760+ description : Updated name of the pet
761+ type : string
762+ status :
763+ description : Updated status of the pet
764+ type : string
765+ type : object
766+ uploadFile_request :
767+ properties :
768+ additionalMetadata :
769+ description : Additional data to pass to server
770+ type : string
771+ file :
772+ description : file to upload
773+ format : binary
774+ type : string
775+ type : object
770776 securitySchemes :
771777 petstore_auth :
772778 flows :
@@ -780,3 +786,4 @@ components:
780786 in : header
781787 name : api_key
782788 type : apiKey
789+ x-original-swagger-version : " 2.0"
0 commit comments