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

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

parent 48b8a560
...@@ -38,13 +38,18 @@ paths: ...@@ -38,13 +38,18 @@ paths:
required: true required: true
responses: responses:
'200': '200':
description: 'JWT' description: 'Auth token'
content: content:
application/json: application/json:
schema: schema:
type: object
properties:
token:
type: string type: string
'422': redirectUrl:
description: 'validation error' type: string
'401':
description: 'Authetication failed'
content: content:
application/json: application/json:
schema: schema:
......
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