Skip to content

Commit 3eae365

Browse files
committed
refactor: Correct schema references and response descriptions in OpenAPI configuration
1 parent 89b6cff commit 3eae365

1 file changed

Lines changed: 17 additions & 17 deletions

File tree

api/openapi.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"content": {
4040
"application/json": {
4141
"schema": {
42-
"$ref": "#/components/schemas/OASInput"
42+
"$ref": "#/components/schemas/OasInput"
4343
}
4444
}
4545
}
@@ -66,7 +66,7 @@
6666
}
6767
},
6868
"404": {
69-
"description": "Not Found"
69+
"$ref": "#/components/responses/404"
7070
}
7171
},
7272
"security": [
@@ -90,7 +90,7 @@
9090
"content": {
9191
"application/json": {
9292
"schema": {
93-
"$ref": "#/components/schemas/OASInput"
93+
"$ref": "#/components/schemas/OasInput"
9494
}
9595
}
9696
}
@@ -117,7 +117,7 @@
117117
}
118118
},
119119
"404": {
120-
"description": "Not Found"
120+
"$ref": "#/components/responses/404"
121121
}
122122
},
123123
"security": [
@@ -168,7 +168,7 @@
168168
}
169169
},
170170
"404": {
171-
"description": "Not Found"
171+
"$ref": "#/components/responses/404"
172172
}
173173
},
174174
"security": [
@@ -192,7 +192,7 @@
192192
"content": {
193193
"application/json": {
194194
"schema": {
195-
"$ref": "#/components/schemas/OASInput"
195+
"$ref": "#/components/schemas/OasInput"
196196
}
197197
}
198198
}
@@ -212,7 +212,7 @@
212212
}
213213
},
214214
"404": {
215-
"description": "Not Found"
215+
"$ref": "#/components/responses/404"
216216
}
217217
},
218218
"security": [
@@ -236,7 +236,7 @@
236236
"content": {
237237
"application/json": {
238238
"schema": {
239-
"$ref": "#/components/schemas/OASInput"
239+
"$ref": "#/components/schemas/OasInput"
240240
}
241241
}
242242
}
@@ -256,7 +256,7 @@
256256
}
257257
},
258258
"404": {
259-
"description": "Not Found"
259+
"$ref": "#/components/responses/404"
260260
}
261261
},
262262
"security": [
@@ -280,7 +280,7 @@
280280
"content": {
281281
"application/json": {
282282
"schema": {
283-
"$ref": "#/components/schemas/OASInput"
283+
"$ref": "#/components/schemas/OasInput"
284284
}
285285
}
286286
}
@@ -307,7 +307,7 @@
307307
}
308308
},
309309
"404": {
310-
"description": "Not Found"
310+
"$ref": "#/components/responses/404"
311311
}
312312
},
313313
"security": [
@@ -331,7 +331,7 @@
331331
"content": {
332332
"application/json": {
333333
"schema": {
334-
"$ref": "#/components/schemas/OASInput"
334+
"$ref": "#/components/schemas/OasInput"
335335
}
336336
}
337337
}
@@ -358,7 +358,7 @@
358358
}
359359
},
360360
"404": {
361-
"description": "Not Found"
361+
"$ref": "#/components/responses/404"
362362
}
363363
},
364364
"security": [
@@ -382,7 +382,7 @@
382382
"content": {
383383
"application/json": {
384384
"schema": {
385-
"$ref": "#/components/schemas/OASInput"
385+
"$ref": "#/components/schemas/OasInput"
386386
}
387387
}
388388
}
@@ -402,7 +402,7 @@
402402
}
403403
},
404404
"404": {
405-
"description": "Not Found"
405+
"$ref": "#/components/responses/404"
406406
}
407407
},
408408
"security": [
@@ -436,13 +436,13 @@
436436
"description": "Resource does not exist",
437437
"headers": {
438438
"API-Version": {
439-
"$ref": "#/headers/API-Version"
439+
"$ref": "#/components/headers/API-Version"
440440
}
441441
}
442442
}
443443
},
444444
"schemas": {
445-
"OASInput": {
445+
"OasInput": {
446446
"example": {
447447
"oasUrl": "oasUrl",
448448
"oasBody": "oasBody",

0 commit comments

Comments
 (0)