Commit 58049c0a authored by Isaac Pereira's avatar Isaac Pereira

[API] Adiciona responses de erro para os endpoints de autenticação e registro de usuário

parent 5083633a
......@@ -43,6 +43,12 @@ paths:
application/json:
schema:
type: string
'422':
description: 'validation error'
content:
application/json:
schema:
type: string
/register:
post:
tags:
......@@ -66,7 +72,7 @@ paths:
required: true
responses:
'200':
description: ''
description: 'registered user'
content:
application/json:
schema:
......@@ -80,6 +86,12 @@ paths:
type: string
email:
type: string
'422':
description: 'validation error'
content:
application/json:
schema:
type: string
/competition:
get:
......
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