Commit 8ddb5aab authored by Isaac Pereira's avatar Isaac Pereira

[API] Adiciona `redirectUrl` ao payload de retorno login

parent 48b8a560
...@@ -38,17 +38,22 @@ paths: ...@@ -38,17 +38,22 @@ paths:
required: true required: true
responses: responses:
'200': '200':
description: 'JWT' description: 'Auth token'
content: content:
application/json: application/json:
schema: schema:
type: string type: object
'422': properties:
description: 'validation error' token:
type: string
redirectUrl:
type: string
'401':
description: 'Authetication failed'
content: content:
application/json: application/json:
schema: schema:
type: string type: string
/register: /register:
post: post:
tags: tags:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment