Commit 11260ac6 authored by Rosana Aurélio's avatar Rosana Aurélio

[API] Correção api competition.adm

parent c2c743a5
......@@ -1092,13 +1092,20 @@ paths:
summary: Retrieve all assignment from assessment
responses:
'200':
description: ''
content:
application/json:
schema:
type: array
items:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Assignment'
parameters:
- name: assessmentId
in: path
required: true
schema:
format: int32
type: integer
#Assignment
/assignments:
get:
......@@ -1107,6 +1114,7 @@ paths:
summary: Retrieves all assignments for the assessment.
responses:
'200':
description: ''
content:
application/json:
schema:
......@@ -1120,6 +1128,7 @@ paths:
summary: Retrieves a specific assignment.
responses:
'200':
description: ''
content:
application/json:
schema:
......@@ -1138,6 +1147,7 @@ paths:
summary: Retrives all submissions from specific assignment
responses:
'200':
description: ''
content:
application/json:
schema:
......@@ -1154,10 +1164,11 @@ paths:
/assignments/{assignmentId}/submissions/{submissionId}:
get:
tags:
-assignment
- assignment
summary: Retrieve a specific submission from assignment
responses:
'200':
description: ''
content:
application/json:
schema:
......
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