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
c3c36316
Commit
c3c36316
authored
Jul 13, 2018
by
Rosana Aurélio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[API] Correção nos schemas para que os objetos que possuem referências apontem para o arquivo json.
parent
8c26a8f1
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
26 deletions
+26
-26
Assessment.json
Api/components/schemas/Assessment.json
+2
-2
Competifier.json
Api/components/schemas/Competifier.json
+4
-4
Phase.json
Api/components/schemas/Phase.json
+8
-8
Submission.json
Api/components/schemas/Submission.json
+6
-6
Subscription.json
Api/components/schemas/Subscription.json
+6
-6
No files found.
Api/components/schemas/Assessment.json
View file @
c3c36316
...
...
@@ -22,7 +22,7 @@
"type"
:
"string"
},
"exam"
:
{
"$ref"
:
"https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.
yaml
/#/Exam"
"$ref"
:
"https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.
json
/#/Exam"
},
"showResult"
:
{
"type"
:
"boolean"
,
...
...
@@ -113,7 +113,7 @@
"drafts"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Submission.
yaml
/#/VirtualAssessmentsSubmissionsDraft"
"$ref"
:
"https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Submission.
json
/#/VirtualAssessmentsSubmissionsDraft"
}
},
"submissions"
:
{
...
...
Api/components/schemas/Competifier.json
View file @
c3c36316
...
...
@@ -20,7 +20,7 @@
"type"
:
"string"
},
"registration"
:
{
"$ref"
:
"https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Submission.
yaml
/#/Submission"
"$ref"
:
"https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Submission.
json
/#/Submission"
},
"tags"
:
{
"type"
:
"array"
,
...
...
@@ -31,16 +31,16 @@
"participations"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Phase.
yaml
/#/PhaseParticipation"
"$ref"
:
"https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Phase.
json
/#/PhaseParticipation"
}
},
"competition"
:
{
"$ref"
:
"https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Phase.
yaml
/#/Competition"
"$ref"
:
"https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Phase.
json
/#/Competition"
},
"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.
json
/#/Assignment"
}
}
},
...
...
Api/components/schemas/Phase.json
View file @
c3c36316
...
...
@@ -29,7 +29,7 @@
"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.
json
/#/AssessmentPriority"
}
]
}
...
...
@@ -93,7 +93,7 @@
"type"
:
"number"
},
"questionGroup"
:
{
"$ref"
:
"https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.
yaml
/#/QuestionGroup"
"$ref"
:
"https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.
json
/#/QuestionGroup"
}
}
},
...
...
@@ -159,7 +159,7 @@
"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.
json
/#/Assessment"
}
]
},
...
...
@@ -220,7 +220,7 @@
"PhaseParticipation"
:
{
"properties"
:
{
"competifier"
:
{
"$ref"
:
"https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Competifier.
yaml
/#/Competifier"
"$ref"
:
"https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Competifier.
json
/#/Competifier"
},
"phase"
:
{
"$ref"
:
"#/Phase"
...
...
@@ -238,7 +238,7 @@
"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.
json
/#/Assignment"
}
]
}
...
...
@@ -369,13 +369,13 @@
]
},
"subscription"
:
{
"$ref"
:
"https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.
yaml
/#/Subscription"
"$ref"
:
"https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.
json
/#/Subscription"
},
"exams"
:
{
"type"
:
"array"
,
"items"
:
[
{
"$ref"
:
"https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.
yaml
/#/Exam"
"$ref"
:
"https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.
json
/#/Exam"
}
]
},
...
...
@@ -400,7 +400,7 @@
"type"
:
"array"
,
"items"
:
[
{
"$ref"
:
"https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Competifier.
yaml
/#/Competifier"
"$ref"
:
"https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Competifier.
json
/#/Competifier"
}
]
}
...
...
Api/components/schemas/Submission.json
View file @
c3c36316
...
...
@@ -13,7 +13,7 @@
]
},
"question"
:
{
"$ref"
:
"https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.
yaml
/#/Question"
"$ref"
:
"https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.
json
/#/Question"
}
}
},
...
...
@@ -28,7 +28,7 @@
"type"
:
"number"
},
"question"
:
{
"$ref"
:
"https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.
yaml
/#/Question"
"$ref"
:
"https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.
json
/#/Question"
}
}
},
...
...
@@ -42,7 +42,7 @@
"description"
:
"Last time this submission was modified"
},
"assignment"
:
{
"$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.
json
/#/Assignment"
},
"type"
:
{
"type"
:
"string"
,
...
...
@@ -70,7 +70,7 @@
"format"
:
"float"
},
"submission"
:
{
"$ref"
:
"https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Assessment.
yaml
/#/AssessmentSubmission"
"$ref"
:
"https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Assessment.
json
/#/AssessmentSubmission"
},
"grades"
:
{
"type"
:
"array"
,
...
...
@@ -185,7 +185,7 @@
"type"
:
"string"
},
"assessment"
:
{
"$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.
json
/#/Assignment"
}
}
},
...
...
@@ -209,7 +209,7 @@
}
},
"template"
:
{
"$ref"
:
"https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.
yaml
/#/FormTemplate"
"$ref"
:
"https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.
json
/#/FormTemplate"
}
},
"discriminator"
:
{
...
...
Api/components/schemas/Subscription.json
View file @
c3c36316
...
...
@@ -13,7 +13,7 @@
]
},
"question"
:
{
"$ref"
:
"https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.
yaml
/#/Question"
"$ref"
:
"https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.
json
/#/Question"
}
}
},
...
...
@@ -28,7 +28,7 @@
"type"
:
"number"
},
"question"
:
{
"$ref"
:
"https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.
yaml
/#/Question"
"$ref"
:
"https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.
json
/#/Question"
}
}
},
...
...
@@ -42,7 +42,7 @@
"description"
:
"Last time this submission was modified"
},
"assignment"
:
{
"$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.
json
/#/Assignment"
},
"type"
:
{
"type"
:
"string"
,
...
...
@@ -70,7 +70,7 @@
"format"
:
"float"
},
"submission"
:
{
"$ref"
:
"https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Assessment.
yaml
/#/AssessmentSubmission"
"$ref"
:
"https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Assessment.
json
/#/AssessmentSubmission"
},
"grades"
:
{
"type"
:
"array"
,
...
...
@@ -185,7 +185,7 @@
"type"
:
"string"
},
"assessment"
:
{
"$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.
json
/#/Assignment"
}
}
},
...
...
@@ -209,7 +209,7 @@
}
},
"template"
:
{
"$ref"
:
"https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.
yaml
/#/FormTemplate"
"$ref"
:
"https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.
json
/#/FormTemplate"
}
},
"discriminator"
:
{
...
...
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