Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Docs
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Registry
Registry
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Competify
Docs
Commits
d38ff61d
Commit
d38ff61d
authored
May 14, 2018
by
bernardosunderhus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[API] Troca declaração de headers por parametros
parent
0877424e
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
174 deletions
+14
-174
Competition.yaml
Api/Competition.yaml
+0
-160
headers.yaml
Api/components/headers.yaml
+0
-8
parameters.yaml
Api/components/parameters.yaml
+8
-0
responses.yaml
Api/components/responses.yaml
+6
-6
No files found.
Api/Competition.yaml
View file @
d38ff61d
This diff is collapsed.
Click to expand it.
Api/components/headers.yaml
deleted
100644 → 0
View file @
0877424e
Competition-Token
:
description
:
The token that identifies the endpoint
schema
:
type
:
integer
Accept-Language
:
description
:
The desired language
schema
:
type
:
string
Api/components/parameters.yaml
0 → 100644
View file @
d38ff61d
language
:
name
:
Accept-Language
in
:
header
description
:
preferred language
required
:
false
schema
:
type
:
string
style
:
simple
Api/components/responses.yaml
View file @
d38ff61d
...
...
@@ -11,9 +11,9 @@ NotFoundError:
type
:
string
completeMessage
:
type
:
string
head
ers
:
Accept-L
anguage
:
$ref
:
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/headers.yaml/#/Accept-Language
paramet
ers
:
l
anguage
:
$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
head
ers
:
Accept-L
anguage
:
$ref
:
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/headers.yaml/#/Accept-Language
paramet
ers
:
l
anguage
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.yaml/#/language'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment