onasty/api/paths/auth/reset-password-token.yml (view raw)
Oleksandr Smirnov
Oleksandr Smirnov
olexsmir@gmail.com api: add openapi docs (#181)..., 9 months ago
olexsmir@gmail.com api: add openapi docs (#181)..., 9 months ago
| 1 | post: |
| 2 | tags: [Account] |
| 3 | summary: Reset password |
| 4 | security: |
| 5 | - {} |
| 6 | |
| 7 | parameters: |
| 8 | - name: token |
| 9 | in: path |
| 10 | required: true |
| 11 | schema: |
| 12 | type: string |
| 13 | |
| 14 | requestBody: |
| 15 | required: true |
| 16 | content: |
| 17 | application/json: |
| 18 | schema: |
| 19 | $ref: '../../components/requests/ResetPassword.yml' |
| 20 | |
| 21 | responses: |
| 22 | '200': |
| 23 | description: Successfully resend the email |
| 24 | '400': |
| 25 | $ref: '../../components/responses/ErrorResponse.yml' |
| 26 | '404': |
| 27 | $ref: '../../components/responses/UserNotFound.yml' |
| 28 | '500': |
| 29 | $ref: '../../components/responses/ErrorResponse.yml' |