File tree Expand file tree Collapse file tree 1 file changed +64
-0
lines changed
Expand file tree Collapse file tree 1 file changed +64
-0
lines changed Original file line number Diff line number Diff line change 1+ openapi : 3.2.0
2+ info :
3+ title : API
4+ version : 1.0.0
5+ paths :
6+ /pets/{id} :
7+ get :
8+ description : Returns pets based on ID
9+ summary : Find pets by ID
10+ operationId : getPetsById
11+ responses :
12+ ' 200 ' :
13+ description : pet response
14+ content :
15+ ' */* ' :
16+ schema :
17+ type : array
18+ items :
19+ $ref : ' #/components/schemas/Pet'
20+ default :
21+ description : error payload
22+ content :
23+ text/html :
24+ schema :
25+ $ref : ' #/components/schemas/ErrorModel'
26+ parameters :
27+ - name : id
28+ in : path
29+ description : ID of pet to use
30+ required : true
31+ schema :
32+ type : array
33+ items :
34+ type : string
35+ style : simple
36+ additionalOperations :
37+ POST :
38+ description : Returns pets based on ID
39+ summary : Find pets by ID
40+ operationId : postPetsById
41+ request-body :
42+ description : ID of pet to use
43+ required : true
44+ content :
45+ application/json :
46+ schema :
47+ type : array
48+ items :
49+ type : string
50+ responses :
51+ ' 200 ' :
52+ description : pet response
53+ content :
54+ ' */* ' :
55+ schema :
56+ type : array
57+ items :
58+ $ref : ' #/components/schemas/Pet'
59+ default :
60+ description : error payload
61+ content :
62+ text/html :
63+ schema :
64+ $ref : ' #/components/schemas/ErrorModel'
You can’t perform that action at this time.
0 commit comments