oapi: fix a few response types in auth
This commit is contained in:
parent
e68819d97a
commit
4824e14661
@ -35,7 +35,7 @@ router.post(
|
|||||||
responses: {
|
responses: {
|
||||||
204: {},
|
204: {},
|
||||||
400: {
|
400: {
|
||||||
body: "APIErrorResponse",
|
body: "APIErrorOrCaptchaResponse",
|
||||||
},
|
},
|
||||||
500: {
|
500: {
|
||||||
body: "APIErrorResponse",
|
body: "APIErrorResponse",
|
||||||
|
@ -28,8 +28,12 @@ router.post(
|
|||||||
right: "RESEND_VERIFICATION_EMAIL",
|
right: "RESEND_VERIFICATION_EMAIL",
|
||||||
responses: {
|
responses: {
|
||||||
204: {},
|
204: {},
|
||||||
400: {},
|
400: {
|
||||||
500: {},
|
body: "APIErrorResponse",
|
||||||
|
},
|
||||||
|
500: {
|
||||||
|
body: "APIErrorResponse",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
async (req: Request, res: Response) => {
|
async (req: Request, res: Response) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user