Commit c3c36316 authored by Rosana Aurélio's avatar Rosana Aurélio

[API] Correção nos schemas para que os objetos que possuem referências apontem para o arquivo json.

parent 8c26a8f1
...@@ -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.yaml/#/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.yaml/#/VirtualAssessmentsSubmissionsDraft" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Submission.json/#/VirtualAssessmentsSubmissionsDraft"
} }
}, },
"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.yaml/#/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.yaml/#/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.yaml/#/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.yaml/#/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.yaml/#/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.yaml/#/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.yaml/#/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.yaml/#/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.yaml/#/Assignment" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Assessment.json/#/Assignment"
} }
] ]
} }
...@@ -369,13 +369,13 @@ ...@@ -369,13 +369,13 @@
] ]
}, },
"subscription": { "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": { "exams": {
"type": "array", "type": "array",
"items": [ "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 @@ ...@@ -400,7 +400,7 @@
"type": "array", "type": "array",
"items": [ "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"
} }
] ]
} }
......
...@@ -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.yaml/#/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.yaml/#/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.yaml/#/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.yaml/#/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.yaml/#/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.yaml/#/FormTemplate" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.json/#/FormTemplate"
} }
}, },
"discriminator": { "discriminator": {
......
...@@ -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.yaml/#/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.yaml/#/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.yaml/#/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.yaml/#/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.yaml/#/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.yaml/#/FormTemplate" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.json/#/FormTemplate"
} }
}, },
"discriminator": { "discriminator": {
......
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