Skip to content

Commit 73936d7

Browse files
committed
fix: remove "result" in swagger
1 parent 672e7e6 commit 73936d7

File tree

2 files changed

+16
-19
lines changed

2 files changed

+16
-19
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,4 +116,7 @@ dist
116116
.pnp.*
117117

118118
# api.env
119-
api.env
119+
api.env
120+
121+
# macOS files
122+
.DS_Store

docs/swagger.yaml

Lines changed: 12 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -172,12 +172,10 @@ paths:
172172
content:
173173
application/json:
174174
schema:
175-
type: object
176-
properties:
177-
result:
178-
type: array
179-
items:
180-
$ref: '#/components/schemas/Job'
175+
type: array
176+
items:
177+
$ref: '#/components/schemas/Job'
178+
181179
headers:
182180
X-Next-Page:
183181
schema:
@@ -573,12 +571,10 @@ paths:
573571
content:
574572
application/json:
575573
schema:
576-
type: object
577-
properties:
578-
result:
579-
type: array
580-
items:
581-
$ref: '#/components/schemas/JobCandidate'
574+
type: array
575+
items:
576+
$ref: '#/components/schemas/JobCandidate'
577+
582578
headers:
583579
X-Next-Page:
584580
schema:
@@ -982,12 +978,10 @@ paths:
982978
content:
983979
application/json:
984980
schema:
985-
type: object
986-
properties:
987-
result:
988-
type: array
989-
items:
990-
$ref: '#/components/schemas/ResourceBooking'
981+
type: array
982+
items:
983+
$ref: '#/components/schemas/ResourceBooking'
984+
991985
headers:
992986
X-Next-Page:
993987
schema:

0 commit comments

Comments
 (0)