· 5 years ago · Jun 24, 2020, 08:14 PM
1swagger: "2.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"
12host: "petstore.swagger.io"
13basePath: "/v2"
14schemes:
15- "https"
16- "http"
17paths:
18 /company:
19 post:
20 tags:
21 - "company"
22 summary: "Add a new pet to the store"
23 responses:
24 200:
25 description: "successful operation"
26 /company/{uuid]:
27 delete:
28 tags:
29 - "company"
30 summary: "Add a new pet to the store"
31 responses:
32 200:
33 description: "successful operation"
34 post:
35 tags:
36 - "company"
37 summary: "Add a new pet to the store"
38 responses:
39 200:
40 description: "successful operation"
41 get:
42 tags:
43 - "company"
44 summary: "Add a new pet to the store"
45 responses:
46 200:
47 description: "successful operation"
48 /company/{uuid]/{file}:
49 post:
50 tags:
51 - "company"
52 summary: "Add a new pet to the store"
53 responses:
54 200:
55 description: "successful operation"
56 /contact/{uuid]:
57 get:
58 tags:
59 - "contact"
60 summary: "Add a new pet to the store"
61 responses:
62 200:
63 description: "successful operation"
64 post:
65 tags:
66 - "contact"
67 summary: "Add a new pet to the store"
68 responses:
69 200:
70 description: "successful operation"
71 delete:
72 tags:
73 - "contact"
74 summary: "Add a new pet to the store"
75 responses:
76 200:
77 description: "successful operation"
78 /file/{uuid]:
79 delete:
80 tags:
81 - "file"
82 summary: "Add a new pet to the store"
83 responses:
84 200:
85 description: "successful operation"
86 get:
87 tags:
88 - "file"
89 summary: "Add a new pet to the store"
90 responses:
91 200:
92 description: "successful operation"
93 /file/{uuid}/{resize}:
94 get:
95 tags:
96 - "file"
97 summary: "Add a new pet to the store"
98 responses:
99 200:
100 description: "successful operation"
101 /search/counts/{table}:
102 post:
103 tags:
104 - "search"
105 summary: "Add a new pet to the store"
106 responses:
107 200:
108 description: "successful operation"
109 /search/reset/{table}:
110 post:
111 tags:
112 - "search"
113 summary: "Add a new pet to the store"
114 responses:
115 200:
116 description: "successful operation"
117 /search/result/{table}:
118 post:
119 tags:
120 - "search"
121 summary: "Add a new pet to the store"
122 responses:
123 200:
124 description: "successful operation"
125 /search/schema/{table}:
126 post:
127 tags:
128 - "search"
129 summary: "Add a new pet to the store"
130 responses:
131 200:
132 description: "successful operation"
133 get:
134 tags:
135 - "search"
136 summary: "Add a new pet to the store"
137 responses:
138 200:
139 description: "successful operation"
140 /search/schema/{table}/public:
141 get:
142 tags:
143 - "search"
144 summary: "Add a new pet to the store"
145 responses:
146 200:
147 description: "successful operation"