File tree Expand file tree Collapse file tree 1 file changed +88
-0
lines changed
Expand file tree Collapse file tree 1 file changed +88
-0
lines changed Original file line number Diff line number Diff line change 1+ # SPDX-FileCopyrightText: 2025 diggsweden/rest-api-profil-lint-processor
2+ #
3+ # SPDX-License-Identifier: EUPL-1.2
4+
5+ openapi : ' 3.0.0'
6+ info :
7+ title : MOG
8+ version : 1.0.0
9+ paths :
10+ /pets :
11+ get :
12+ operationId : listPets
13+ parameters :
14+ - name : limit
15+ in : query
16+ description : Max number of items to return
17+ required : false
18+ schema :
19+ type : integer
20+ maximum : 100
21+ responses :
22+ ' 200 ' :
23+ description : OK
24+ content :
25+ application/json :
26+ schema :
27+ $ref : ' #/components/schemas/Pets'
28+ post :
29+ operationId : createPets
30+ requestBody :
31+ content :
32+ application/json :
33+ schema :
34+ type : object
35+ properties :
36+ id :
37+ type : integer
38+ name :
39+ type : string
40+ responses :
41+ ' 201 ' :
42+ description : Created
43+ /pets/{petId} :
44+ get :
45+ operationId : showPetById
46+ parameters :
47+ - name : petId
48+ in : path
49+ required : true
50+ description : ID of the pet to retrieve
51+ schema :
52+ type : integer
53+ responses :
54+ ' 200 ' :
55+ description : OK
56+ content :
57+ application/json :
58+ schema :
59+ $ref : ' #/components/schemas/Pet'
60+ delete :
61+ operationId : deletePet
62+ parameters :
63+ - name : petId
64+ in : path
65+ required : true
66+ schema :
67+ type : integer
68+ responses :
69+ ' 204 ' :
70+ description : Deleted
71+ components :
72+ schemas :
73+ Pet :
74+ type : object
75+ required :
76+ - id
77+ - name
78+ properties :
79+ id :
80+ type : integer
81+ name :
82+ type : string
83+ tag :
84+ type : string
85+ Pets :
86+ type : array
87+ items :
88+ $ref : ' #/components/schemas/Pet'
You can’t perform that action at this time.
0 commit comments