Commit 2a5dcb3e authored by Rosana Aurélio's avatar Rosana Aurélio

[API] Correçao em rotas de schemas no formato json.

parent 68b84fb8
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
"type": "string" "type": "string"
}, },
"exam": { "exam": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.json/#/Exam" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.json#/Exam"
}, },
"showResult": { "showResult": {
"type": "boolean", "type": "boolean",
...@@ -113,7 +113,7 @@ ...@@ -113,7 +113,7 @@
"drafts": { "drafts": {
"type": "array", "type": "array",
"items": { "items": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Submission.json/#/VirtualAssessmentSubmissionsDraft" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Submission.json#/VirtualAssessmentSubmissionsDraft"
} }
}, },
"submissions": { "submissions": {
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
"type": "string" "type": "string"
}, },
"registration": { "registration": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Submission.json/#/Submission" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Submission.json#/Submission"
}, },
"tags": { "tags": {
"type": "array", "type": "array",
...@@ -31,16 +31,16 @@ ...@@ -31,16 +31,16 @@
"participations": { "participations": {
"type": "array", "type": "array",
"items": { "items": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Phase.json/#/PhaseParticipation" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Phase.json#/PhaseParticipation"
} }
}, },
"competition": { "competition": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Phase.json/#/Competition" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Phase.json#/Competition"
}, },
"assignments": { "assignments": {
"type": "array", "type": "array",
"items": { "items": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Assessment.json/#/Assignment" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Assessment.json#/Assignment"
} }
} }
}, },
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
"type": "array", "type": "array",
"items": [ "items": [
{ {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Assessment.json/#/AssessmentPriority" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Assessment.json#/AssessmentPriority"
} }
] ]
} }
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
"type": "number" "type": "number"
}, },
"questionGroup": { "questionGroup": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.json/#/QuestionGroup" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.json#/QuestionGroup"
} }
} }
}, },
...@@ -159,7 +159,7 @@ ...@@ -159,7 +159,7 @@
"type": "array", "type": "array",
"items": [ "items": [
{ {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Assessment.json/#/Assessment" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Assessment.json#/Assessment"
} }
] ]
}, },
...@@ -220,7 +220,7 @@ ...@@ -220,7 +220,7 @@
"PhaseParticipation": { "PhaseParticipation": {
"properties": { "properties": {
"competifier": { "competifier": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Competifier.json/#/Competifier" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Competifier.json#/Competifier"
}, },
"phase": { "phase": {
"$ref": "#/Phase" "$ref": "#/Phase"
...@@ -238,7 +238,7 @@ ...@@ -238,7 +238,7 @@
"type": "array", "type": "array",
"items": [ "items": [
{ {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Assessment.json/#/Assignment" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Assessment.json#/Assignment"
} }
] ]
} }
...@@ -375,7 +375,7 @@ ...@@ -375,7 +375,7 @@
"type": "array", "type": "array",
"items": [ "items": [
{ {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.json/#/Exam" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.json#/Exam"
} }
] ]
}, },
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
] ]
}, },
"question": { "question": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.json/#/Question" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.json#/Question"
} }
} }
}, },
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
"type": "number" "type": "number"
}, },
"question": { "question": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.json/#/Question" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.json#/Question"
} }
} }
}, },
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
"description": "Last time this submission was modified" "description": "Last time this submission was modified"
}, },
"assignment": { "assignment": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Assessment.json/#/Assignment" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Assessment.json#/Assignment"
}, },
"type": { "type": {
"type": "string", "type": "string",
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
"format": "float" "format": "float"
}, },
"submission": { "submission": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Assessment.json/#/AssessmentSubmission" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Assessment.json#/AssessmentSubmission"
}, },
"grades": { "grades": {
"type": "array", "type": "array",
...@@ -185,7 +185,7 @@ ...@@ -185,7 +185,7 @@
"type": "string" "type": "string"
}, },
"assessment": { "assessment": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Assessment.json/#/Assignment" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Assessment.json#/Assignment"
} }
} }
}, },
...@@ -209,7 +209,7 @@ ...@@ -209,7 +209,7 @@
} }
}, },
"template": { "template": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.json/#/FormTemplate" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.json#/FormTemplate"
} }
}, },
"discriminator": { "discriminator": {
......
...@@ -121,7 +121,7 @@ ...@@ -121,7 +121,7 @@
"type": "string" "type": "string"
}, },
"submission": { "submission": {
"$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.yaml#/Submission"
}, },
"status": { "status": {
"type": "string", "type": "string",
...@@ -161,7 +161,7 @@ ...@@ -161,7 +161,7 @@
] ]
}, },
"schedule": { "schedule": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Assessment.yaml/#/ScheduledEvent" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Assessment.yaml#/ScheduledEvent"
}, },
"type": { "type": {
"type": "string", "type": "string",
...@@ -216,7 +216,7 @@ ...@@ -216,7 +216,7 @@
], ],
"properties": { "properties": {
"competition": { "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.yaml#/Competition"
}, },
"timestamp": { "timestamp": {
"type": "number" "type": "number"
...@@ -231,7 +231,7 @@ ...@@ -231,7 +231,7 @@
"sections": { "sections": {
"type": "array", "type": "array",
"items": { "items": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Submission.yaml/#/SubmissionSection" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Submission.yaml#/SubmissionSection"
} }
}, },
"invitations": { "invitations": {
...@@ -258,15 +258,15 @@ ...@@ -258,15 +258,15 @@
"$ref": "#/Submission", "$ref": "#/Submission",
"properties": { "properties": {
"team": { "team": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Submission.yaml/#/TeamSubmissionSection" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Submission.yaml#/TeamSubmissionSection"
}, },
"leader": { "leader": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Submission.yaml/#/ParticipantSubmissionSection" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Submission.yaml#/ParticipantSubmissionSection"
}, },
"participants": { "participants": {
"type": "array", "type": "array",
"items": { "items": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Submission.yaml/#/ParticipantSubmissionSection" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Submission.yaml#/ParticipantSubmissionSection"
} }
} }
} }
...@@ -281,7 +281,7 @@ ...@@ -281,7 +281,7 @@
"$ref": "#/Submission", "$ref": "#/Submission",
"properties": { "properties": {
"participant": { "participant": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Submission.yaml/#/ParticipantSubmissionSection" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Submission.yaml#/ParticipantSubmissionSection"
} }
} }
} }
......
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