Skip to content

Commit 1d100d4

Browse files
author
kadraman
committed
Updating schema
1 parent 4c043f8 commit 1d100d4

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

public/docs/openapi.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,12 +320,12 @@
320320
"content": {
321321
"application/json": {
322322
"schema": {
323-
"$ref": "#/components/schemas/jwtJson"
323+
"$ref": "#/components/schemas/success"
324324
}
325325
},
326326
"application/xml": {
327327
"schema": {
328-
"$ref": "#/components/schemas/jwtJson"
328+
"$ref": "#/components/schemas/success"
329329
}
330330
}
331331
}

src/configs/swagger_output.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,12 +320,12 @@
320320
"content": {
321321
"application/json": {
322322
"schema": {
323-
"$ref": "#/components/schemas/jwtJson"
323+
"$ref": "#/components/schemas/success"
324324
}
325325
},
326326
"application/xml": {
327327
"schema": {
328-
"$ref": "#/components/schemas/jwtJson"
328+
"$ref": "#/components/schemas/success"
329329
}
330330
}
331331
}

src/routes/site.routes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ siteRoutes.post('/api/v1/site/sign-in',
215215
}
216216
#swagger.responses[200] = {
217217
description: "Success",
218-
schema: { $ref: '#/components/schemas/jwtJson' }
218+
schema: { $ref: '#/components/schemas/success' }
219219
}
220220
#swagger.responses[400] = {
221221
description: "Bad Request",

0 commit comments

Comments
 (0)