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
5bf0610a
Commit
5bf0610a
authored
Jun 14, 2018
by
Isaac Pereira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[API] Adiciona token da competição ao schema
* Status da Invitation crado
parent
60aca262
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
4 deletions
+15
-4
Competition.API.yaml
Api/Competition.API.yaml
+1
-1
schemas.yaml
Api/components/schemas.yaml
+3
-0
Phase.yaml
Api/components/schemas/Phase.yaml
+2
-0
Subscription.yaml
Api/components/schemas/Subscription.yaml
+9
-3
No files found.
Api/Competition.API.yaml
View file @
5bf0610a
...
...
@@ -185,7 +185,7 @@ paths:
content
:
application/json
:
schema
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Invitation
s
'
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Invitation'
/subscription/submissions
:
post
:
tags
:
...
...
Api/components/schemas.yaml
View file @
5bf0610a
...
...
@@ -133,6 +133,9 @@ SoloSubscriptionSubmission:
TeamSubscriptionSubmission
:
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.yaml/#/TeamSubscriptionSubmission
Invitation
:
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.yaml/#/Invitation
FormTemplate
:
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.yaml/#/FormTemplate
...
...
Api/components/schemas/Phase.yaml
View file @
5bf0610a
...
...
@@ -21,6 +21,8 @@ Competition:
-
INACTIVE
subscription
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.yaml/#/Subscription'
token
:
type
:
string
Phase
:
required
:
-
label
...
...
Api/components/schemas/Subscription.yaml
View file @
5bf0610a
...
...
@@ -194,11 +194,17 @@ Invitation:
-
submission
type
:
object
properties
:
id
:
type
:
integer
token
:
type
:
string
subject
:
type
:
string
submission
:
type
:
type
:
string
enum
:
-
AVAILABLE
-
CONSUMED
-
EXPIRED
submission
:
$ref
:
'
#/SubscriptionSubmission'
\ No newline at end of file
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