Commit d38ff61d authored by bernardosunderhus's avatar bernardosunderhus

[API] Troca declaração de headers por parametros

parent 0877424e
This diff is collapsed.
Competition-Token:
description: The token that identifies the endpoint
schema:
type: integer
Accept-Language:
description: The desired language
schema:
type: string
language:
name: Accept-Language
in: header
description: preferred language
required: false
schema:
type: string
style: simple
......@@ -11,9 +11,9 @@ NotFoundError:
type: string
completeMessage:
type: string
headers:
Accept-Language:
$ref: https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/headers.yaml/#/Accept-Language
parameters:
language:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.yaml/#/language'
InternalServerError:
description: Internal Server Error
content:
......@@ -27,6 +27,6 @@ InternalServerError:
type: string
completeMessage:
type: string
headers:
Accept-Language:
$ref: https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/headers.yaml/#/Accept-Language
parameters:
language:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.yaml/#/language'
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