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
c31cf232
Commit
c31cf232
authored
Jul 12, 2018
by
Rosana Aurélio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[API] Correção api
parent
0d7cb477
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
57 additions
and
51 deletions
+57
-51
schemas.yaml
Api/components/schemas.yaml
+9
-3
Phase.yaml
Api/components/schemas/Phase.yaml
+48
-48
No files found.
Api/components/schemas.yaml
View file @
c31cf232
...
...
@@ -85,12 +85,12 @@ Message:
JsonPatch
:
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/JsonPatch.yaml
Competition
:
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Phase.yaml/#/Competition
Phase
:
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Phase.yaml/#/Phase
Competition
:
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Phase.yaml/#/Competition
PhaseEvent
:
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Phase.yaml/#/PhaseEvent
...
...
@@ -154,3 +154,9 @@ FormSection:
User
:
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Auth.yaml/#/User
Submission
:
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.yaml/#/Submission
Subscription
:
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.yaml/#/Subscription
\ No newline at end of file
Api/components/schemas/Phase.yaml
View file @
c31cf232
Competition
:
required
:
-
id
-
uri
-
name
-
status
-
subscription
properties
:
uri
:
type
:
string
name
:
type
:
string
description
:
type
:
string
status
:
type
:
string
enum
:
-
ACTIVE
-
INACTIVE
subscription
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.yaml/#/Subscription'
exams
:
type
:
array
items
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.yaml/#/Exam'
phase
:
type
:
array
items
:
$ref
:
'
#/Phase'
finalPhase
:
$ref
:
'
#/Phase'
initialPhase
:
$ref
:
'
#/Phase'
currentPhase
:
$ref
:
'
#/Phase'
competifiers
:
type
:
array
items
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Competifier.yaml/#/Competifier'
AssessmentConclusionTime
:
allOf
:
-
$ref
:
'
#/TieBreakStrategy'
...
...
@@ -55,7 +16,7 @@ AssessmentPriorityStrategy:
priorities
:
type
:
array
items
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Assessment.yaml/#/AssessmentPriority'
-
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Assessment.yaml/#/AssessmentPriority'
BestRanked
:
required
:
-
number
...
...
@@ -65,7 +26,7 @@ BestRanked:
tieBreakStrategies
:
type
:
array
items
:
$ref
:
'
#/TieBreakStrategy'
-
$ref
:
'
#/TieBreakStrategy'
ClassificationStrategy
:
required
:
-
type
...
...
@@ -136,19 +97,19 @@ Phase:
assessments
:
type
:
array
items
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Assessment.yaml/#/Assessment'
-
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Assessment.yaml/#/Assessment'
evaluations
:
type
:
array
items
:
$ref
:
'
#/Ranking'
-
$ref
:
'
#/Ranking'
events
:
type
:
array
items
:
$ref
:
'
#/PhaseEvent'
-
$ref
:
'
#/PhaseEvent'
participations
:
type
:
array
items
:
$ref
:
'
#/PhaseParticipation'
-
$ref
:
'
#/PhaseParticipation'
competition
:
$ref
:
'
#/Competition'
PhaseEvent
:
...
...
@@ -185,7 +146,7 @@ PhaseParticipation:
assignments
:
type
:
array
items
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Assessment.yaml/#/Assignment'
-
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Assessment.yaml/#/Assignment'
QuestionGroupPriorityStrategy
:
allOf
:
$ref
:
'
#/TieBreakStrategy'
...
...
@@ -194,7 +155,7 @@ QuestionGroupPriorityStrategy:
priorities
:
type
:
array
items
:
$ref
:
'
#/GroupPriority'
-
$ref
:
'
#/GroupPriority'
Rank
:
required
:
-
position
...
...
@@ -230,7 +191,7 @@ Ranking:
qualified
:
type
:
array
items
:
$ref
:
'
#Rank'
$ref
:
'
#
/
Rank'
TieBreakStrategy
:
required
:
-
type
...
...
@@ -251,3 +212,42 @@ TieBreakStrategy:
ASSESSMENT_PRIORITY
:
'
#/AssessmentPriority'
QUESTION_PRIORITY
:
'
#/QuestionGroupPriorityStrategy'
ASSESSMENT_CONCLUSION_TIME
:
'
#/AssessmentConclusionTime'
Competition
:
required
:
-
id
-
uri
-
name
-
status
-
subscription
properties
:
uri
:
type
:
string
name
:
type
:
string
description
:
type
:
string
status
:
type
:
string
enum
:
-
ACTIVE
-
INACTIVE
subscription
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.yaml/#/Subscription'
exams
:
type
:
array
items
:
-
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.yaml/#/Exam'
phase
:
type
:
array
items
:
-
$ref
:
'
#/Phase'
finalPhase
:
$ref
:
'
#/Phase'
initialPhase
:
$ref
:
'
#/Phase'
currentPhase
:
$ref
:
'
#/Phase'
competifiers
:
type
:
array
items
:
-
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Competifier.yaml/#/Competifier'
\ 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