File tree Expand file tree Collapse file tree 6 files changed +11967
-0
lines changed
Expand file tree Collapse file tree 6 files changed +11967
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "urls" : {
3+ "/pet" : {
4+ "POST" : {
5+ "description" : " Add a new pet to the store" ,
6+ "payloads" : {
7+ "body" : {
8+ "flags" : " REQUIRED" ,
9+ "description" : " Pet object that needs to be added to the store" ,
10+ "data" : {
11+ "id" : 0 ,
12+ "category" : {
13+ "id" : 0 ,
14+ "name" : " string"
15+ },
16+ "name" : " doggie" ,
17+ "photoUrls" : [
18+ " string"
19+ ],
20+ "tags" : [
21+ {
22+ "id" : 0 ,
23+ "name" : " string"
24+ }
25+ ],
26+ "status" : " available"
27+ },
28+ "responses" : {
29+ "405" : {
30+ "description" : " Invalid input"
31+ }
32+ }
33+ }
34+ }
35+ },
36+ "PUT" : {
37+ "description" : " Update an existing pet"
38+ },
39+ "urls" : {
40+ "/pet/findByStatus" : {
41+ "GET" : {
42+ "description" : " Finds Pets by status" ,
43+ "payloads" : {
44+ "tags" : {
45+ "flags" : " OPTIONAL" ,
46+ "data" : " ?status=[available, pending, sold]" ,
47+ "description" : " Status values that need to be considered for filter" ,
48+ "responses" : {
49+ "200" : {
50+ "description" : " Successful operation" ,
51+ "example" : [
52+ {
53+ "id" : 0 ,
54+ "category" : {
55+ "id" : 0 ,
56+ "name" : " string"
57+ },
58+ "name" : " doggie" ,
59+ "photoUrls" : [
60+ " string"
61+ ],
62+ "tags" : [
63+ {
64+ "id" : 0 ,
65+ "name" : " string"
66+ }
67+ ],
68+ "status" : " available"
69+ }
70+ ]
71+ },
72+ "400" : {
73+ "description" : " Invalid status filter"
74+ }
75+ }
76+ }
77+ }
78+ }
79+ },
80+ "/pet/findByTags" : {
81+ "GET" : {
82+ "description" : " Finds Pets by tags" ,
83+ "flags" : " DEPRECATED"
84+ }
85+ },
86+ "/pet/{petId}" : {
87+ "GET" : {
88+ "description" : " Find pet by ID"
89+ },
90+ "UPDATE" : {
91+ "description" : " Updates a pet in teh store with form data"
92+ },
93+ "DELETE" : {
94+ "description" : " Deletes a pet"
95+ },
96+ "urls" : {
97+ "/pet/{petId}/uploadImage" : {
98+ "POST" : {
99+ "description" : " Uploads an image"
100+ }
101+ }
102+ }
103+ }
104+ }
105+ }
106+ }
107+ }
You can’t perform that action at this time.
0 commit comments