29
29
description : " Find out more about our store"
30
30
url : " http://swagger.io"
31
31
schemes :
32
- - " http "
32
+ - " https "
33
33
paths :
34
34
/pet :
35
35
post :
@@ -52,14 +52,13 @@ paths:
52
52
schema :
53
53
$ref : " #/definitions/Pet"
54
54
responses :
55
- 405 :
55
+ " 405 " :
56
56
description : " Invalid input"
57
57
security :
58
58
- petstore_auth :
59
59
- " write:pets"
60
60
- " read:pets"
61
61
x-swagger-router-controller : " Pet"
62
- x-is-post-method : true
63
62
put :
64
63
tags :
65
64
- " pet"
@@ -80,18 +79,17 @@ paths:
80
79
schema :
81
80
$ref : " #/definitions/Pet"
82
81
responses :
83
- 400 :
82
+ " 400 " :
84
83
description : " Invalid ID supplied"
85
- 404 :
84
+ " 404 " :
86
85
description : " Pet not found"
87
- 405 :
86
+ " 405 " :
88
87
description : " Validation exception"
89
88
security :
90
89
- petstore_auth :
91
90
- " write:pets"
92
91
- " read:pets"
93
92
x-swagger-router-controller : " Pet"
94
- x-is-put-method : true
95
93
/pet/findByStatus :
96
94
get :
97
95
tags :
@@ -110,27 +108,26 @@ paths:
110
108
type : " array"
111
109
items :
112
110
type : " string"
113
- default : " available"
114
111
enum :
115
112
- " available"
116
113
- " pending"
117
114
- " sold"
115
+ default : " available"
118
116
collectionFormat : " csv"
119
117
responses :
120
- 200 :
118
+ " 200 " :
121
119
description : " successful operation"
122
120
schema :
123
121
type : " array"
124
122
items :
125
123
$ref : " #/definitions/Pet"
126
- 400 :
124
+ " 400 " :
127
125
description : " Invalid status value"
128
126
security :
129
127
- petstore_auth :
130
128
- " write:pets"
131
129
- " read:pets"
132
130
x-swagger-router-controller : " Pet"
133
- x-is-get-method : true
134
131
/pet/findByTags :
135
132
get :
136
133
tags :
@@ -152,21 +149,20 @@ paths:
152
149
type : " string"
153
150
collectionFormat : " csv"
154
151
responses :
155
- 200 :
152
+ " 200 " :
156
153
description : " successful operation"
157
154
schema :
158
155
type : " array"
159
156
items :
160
157
$ref : " #/definitions/Pet"
161
- 400 :
158
+ " 400 " :
162
159
description : " Invalid tag value"
163
160
security :
164
161
- petstore_auth :
165
162
- " write:pets"
166
163
- " read:pets"
167
164
deprecated : true
168
165
x-swagger-router-controller : " Pet"
169
- x-is-get-method : true
170
166
/pet/{petId} :
171
167
get :
172
168
tags :
@@ -185,18 +181,17 @@ paths:
185
181
type : " integer"
186
182
format : " int64"
187
183
responses :
188
- 200 :
184
+ " 200 " :
189
185
description : " successful operation"
190
186
schema :
191
187
$ref : " #/definitions/Pet"
192
- 400 :
188
+ " 400 " :
193
189
description : " Invalid ID supplied"
194
- 404 :
190
+ " 404 " :
195
191
description : " Pet not found"
196
192
security :
197
193
- api_key : []
198
194
x-swagger-router-controller : " Pet"
199
- x-is-get-method : true
200
195
post :
201
196
tags :
202
197
- " pet"
@@ -226,14 +221,13 @@ paths:
226
221
required : false
227
222
type : " string"
228
223
responses :
229
- 405 :
224
+ " 405 " :
230
225
description : " Invalid input"
231
226
security :
232
227
- petstore_auth :
233
228
- " write:pets"
234
229
- " read:pets"
235
230
x-swagger-router-controller : " Pet"
236
- x-is-post-method : true
237
231
delete :
238
232
tags :
239
233
- " pet"
@@ -255,14 +249,13 @@ paths:
255
249
type : " integer"
256
250
format : " int64"
257
251
responses :
258
- 400 :
252
+ " 400 " :
259
253
description : " Invalid pet value"
260
254
security :
261
255
- petstore_auth :
262
256
- " write:pets"
263
257
- " read:pets"
264
258
x-swagger-router-controller : " Pet"
265
- x-is-delete-method : true
266
259
/pet/{petId}/uploadImage :
267
260
post :
268
261
tags :
@@ -292,7 +285,7 @@ paths:
292
285
required : false
293
286
type : " file"
294
287
responses :
295
- 200 :
288
+ " 200 " :
296
289
description : " successful operation"
297
290
schema :
298
291
$ref : " #/definitions/ApiResponse"
@@ -301,7 +294,6 @@ paths:
301
294
- " write:pets"
302
295
- " read:pets"
303
296
x-swagger-router-controller : " Pet"
304
- x-is-post-method : true
305
297
/store/inventory :
306
298
get :
307
299
tags :
@@ -313,7 +305,7 @@ paths:
313
305
- " application/json"
314
306
parameters : []
315
307
responses :
316
- 200 :
308
+ " 200 " :
317
309
description : " successful operation"
318
310
schema :
319
311
type : " object"
@@ -323,7 +315,6 @@ paths:
323
315
security :
324
316
- api_key : []
325
317
x-swagger-router-controller : " Store"
326
- x-is-get-method : true
327
318
/store/order :
328
319
post :
329
320
tags :
@@ -342,14 +333,13 @@ paths:
342
333
schema :
343
334
$ref : " #/definitions/Order"
344
335
responses :
345
- 200 :
336
+ " 200 " :
346
337
description : " successful operation"
347
338
schema :
348
339
$ref : " #/definitions/Order"
349
- 400 :
340
+ " 400 " :
350
341
description : " Invalid Order"
351
342
x-swagger-router-controller : " Store"
352
- x-is-post-method : true
353
343
/store/order/{orderId} :
354
344
get :
355
345
tags :
@@ -371,16 +361,15 @@ paths:
371
361
minimum : 1
372
362
format : " int64"
373
363
responses :
374
- 200 :
364
+ " 200 " :
375
365
description : " successful operation"
376
366
schema :
377
367
$ref : " #/definitions/Order"
378
- 400 :
368
+ " 400 " :
379
369
description : " Invalid ID supplied"
380
- 404 :
370
+ " 404 " :
381
371
description : " Order not found"
382
372
x-swagger-router-controller : " Store"
383
- x-is-get-method : true
384
373
delete :
385
374
tags :
386
375
- " store"
@@ -398,12 +387,11 @@ paths:
398
387
required : true
399
388
type : " string"
400
389
responses :
401
- 400 :
390
+ " 400 " :
402
391
description : " Invalid ID supplied"
403
- 404 :
392
+ " 404 " :
404
393
description : " Order not found"
405
394
x-swagger-router-controller : " Store"
406
- x-is-delete-method : true
407
395
/user :
408
396
post :
409
397
tags :
@@ -425,7 +413,6 @@ paths:
425
413
default :
426
414
description : " successful operation"
427
415
x-swagger-router-controller : " User"
428
- x-is-post-method : true
429
416
/user/createWithArray :
430
417
post :
431
418
tags :
@@ -449,7 +436,6 @@ paths:
449
436
default :
450
437
description : " successful operation"
451
438
x-swagger-router-controller : " User"
452
- x-is-post-method : true
453
439
/user/createWithList :
454
440
post :
455
441
tags :
@@ -473,7 +459,6 @@ paths:
473
459
default :
474
460
description : " successful operation"
475
461
x-swagger-router-controller : " User"
476
- x-is-post-method : true
477
462
/user/login :
478
463
get :
479
464
tags :
@@ -496,7 +481,7 @@ paths:
496
481
required : true
497
482
type : " string"
498
483
responses :
499
- 200 :
484
+ " 200 " :
500
485
description : " successful operation"
501
486
headers :
502
487
X-Rate-Limit :
@@ -509,10 +494,9 @@ paths:
509
494
description : " date in UTC when toekn expires"
510
495
schema :
511
496
type : " string"
512
- 400 :
497
+ " 400 " :
513
498
description : " Invalid username/password supplied"
514
499
x-swagger-router-controller : " User"
515
- x-is-get-method : true
516
500
/user/logout :
517
501
get :
518
502
tags :
@@ -528,7 +512,6 @@ paths:
528
512
default :
529
513
description : " successful operation"
530
514
x-swagger-router-controller : " User"
531
- x-is-get-method : true
532
515
/user/{username} :
533
516
get :
534
517
tags :
@@ -546,16 +529,15 @@ paths:
546
529
required : true
547
530
type : " string"
548
531
responses :
549
- 200 :
532
+ " 200 " :
550
533
description : " successful operation"
551
534
schema :
552
535
$ref : " #/definitions/User"
553
- 400 :
536
+ " 400 " :
554
537
description : " Invalid username supplied"
555
- 404 :
538
+ " 404 " :
556
539
description : " User not found"
557
540
x-swagger-router-controller : " User"
558
- x-is-get-method : true
559
541
put :
560
542
tags :
561
543
- " user"
@@ -578,12 +560,11 @@ paths:
578
560
schema :
579
561
$ref : " #/definitions/User"
580
562
responses :
581
- 400 :
563
+ " 400 " :
582
564
description : " Invalid user supplied"
583
- 404 :
565
+ " 404 " :
584
566
description : " User not found"
585
567
x-swagger-router-controller : " User"
586
- x-is-put-method : true
587
568
delete :
588
569
tags :
589
570
- " user"
@@ -600,12 +581,11 @@ paths:
600
581
required : true
601
582
type : " string"
602
583
responses :
603
- 400 :
584
+ " 400 " :
604
585
description : " Invalid username supplied"
605
- 404 :
586
+ " 404 " :
606
587
description : " User not found"
607
588
x-swagger-router-controller : " User"
608
- x-is-delete-method : true
609
589
securityDefinitions :
610
590
petstore_auth :
611
591
type : " oauth2"
0 commit comments