Commit 3fd5ef47 authored by Rosana Aurélio's avatar Rosana Aurélio

[API] Correção api submission.

parent d04b5885
...@@ -41,9 +41,7 @@ ...@@ -41,9 +41,7 @@
"type": "number", "type": "number",
"description": "Last time this submission was modified" "description": "Last time this submission was modified"
}, },
"assignment": { "assignment": "integer",
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Assessment.json#/Assignment"
},
"type": { "type": {
"type": "string", "type": "string",
"enum": [ "enum": [
...@@ -155,13 +153,9 @@ ...@@ -155,13 +153,9 @@
}, },
"answers": { "answers": {
"type": "array", "type": "array",
"items": { "items": "integer"
"$ref": "#/Answer"
}
}, },
"draft": { "draft": "integer"
"$ref": "#/VirtualAssessmentSubmissionDraft"
}
} }
} }
] ]
...@@ -184,9 +178,7 @@ ...@@ -184,9 +178,7 @@
"content": { "content": {
"type": "string" "type": "string"
}, },
"assessment": { "assessment": "integer"
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Assessment.json#/Assignment"
}
} }
} }
} }
\ No newline at end of file
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