· 6 years ago · Apr 27, 2020, 11:30 AM
1openapi: 3.0.0
2info:
3 description: "This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters."
4 version: "1.0.0"
5 title: "Swagger Petstore"
6 termsOfService: "http://swagger.io/terms/"
7 contact:
8 email: "apiteam@swagger.io"
9 license:
10 name: "Apache 2.0"
11 url: "http://www.apache.org/licenses/LICENSE-2.0.html"
12tags:
13- name: "pet"
14 description: "Everything about your Pets"
15 externalDocs:
16 description: "Find out more"
17 url: "http://swagger.io"
18- name: "store"
19 description: "Access to Petstore orders"
20- name: "user"
21 description: "Operations about user"
22 externalDocs:
23 description: "Find out more about our store"
24 url: "http://swagger.io"
25paths:
26 /pet/findByStatus:
27 get:
28 tags:
29 - "pet"
30 summary: "Finds Pets by status"
31 description: "Multiple status values can be provided with comma separated strings"
32 operationId: "findPetsByStatus"
33 responses:
34 200:
35 description: ''
36 parameters:
37 - description: Free form query parameters as json object
38 in: query
39 name: freeForm
40 explode: True
41 allowEmptyValue: True
42 schema:
43 type: object
44 additionalProperties:
45 type: string
46 style: form
47externalDocs:
48 description: "Find out more about Swagger"
49 url: "http://swagger.io"