Commit 9f96699f authored by Isaac Pereira's avatar Isaac Pereira

[API] Corrige referências para schemas em .json

parent 2a5dcb3e
...@@ -122,7 +122,7 @@ paths: ...@@ -122,7 +122,7 @@ paths:
schema: schema:
type: array type: array
items: items:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/Competition' $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Competition'
post: post:
security: security:
- bearerAuth: [] - bearerAuth: []
...@@ -136,8 +136,8 @@ paths: ...@@ -136,8 +136,8 @@ paths:
schema: schema:
type: object type: object
oneOf: oneOf:
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/SoloCompetifier' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/SoloCompetifier'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/TeamCompetifier' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/TeamCompetifier'
required: true required: true
responses: responses:
'200': '200':
...@@ -147,8 +147,8 @@ paths: ...@@ -147,8 +147,8 @@ paths:
schema: schema:
type: object type: object
oneOf: oneOf:
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/SoloCompetifier' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/SoloCompetifier'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/TeamCompetifier' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/TeamCompetifier'
/competitions/{competitionId}: /competitions/{competitionId}:
get: get:
security: security:
...@@ -163,7 +163,7 @@ paths: ...@@ -163,7 +163,7 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/Competition' $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Competition'
delete: delete:
security: security:
- bearerAuth: [] - bearerAuth: []
...@@ -177,7 +177,7 @@ paths: ...@@ -177,7 +177,7 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/Competition' $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Competition'
parameters: parameters:
- name: competitionId - name: competitionId
in: path in: path
......
...@@ -37,7 +37,7 @@ paths: ...@@ -37,7 +37,7 @@ paths:
/login: /login:
parameters: parameters:
- $ref: >- - $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json/#/language https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.yaml#/language
post: post:
tags: tags:
- authentication - authentication
...@@ -63,10 +63,10 @@ paths: ...@@ -63,10 +63,10 @@ paths:
type: string type: string
'422': '422':
$ref: >- $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json/#/NotFoundError https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml#/NotFoundError
'500': '500':
$ref: >- $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json/#/InternalServerError https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml#/InternalServerError
/register: /register:
post: post:
tags: tags:
...@@ -128,7 +128,7 @@ paths: ...@@ -128,7 +128,7 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/Invitation' $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Invitation'
parameters: parameters:
- in: path - in: path
name: invitationToken name: invitationToken
...@@ -149,7 +149,7 @@ paths: ...@@ -149,7 +149,7 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$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'
/subscription: /subscription:
get: get:
...@@ -164,8 +164,8 @@ paths: ...@@ -164,8 +164,8 @@ paths:
schema: schema:
type: object type: object
oneOf: oneOf:
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/SoloSubscription' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/SoloSubscription'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/TeamSubscription' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/TeamSubscription'
/subscription/team-template: /subscription/team-template:
get: get:
tags: tags:
...@@ -177,7 +177,7 @@ paths: ...@@ -177,7 +177,7 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/FormTemplate' $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/FormTemplate'
/subscription/participant-template: /subscription/participant-template:
get: get:
tags: tags:
...@@ -189,7 +189,7 @@ paths: ...@@ -189,7 +189,7 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/FormTemplate' $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/FormTemplate'
/subscription/submissions: /subscription/submissions:
post: post:
tags: tags:
...@@ -202,8 +202,8 @@ paths: ...@@ -202,8 +202,8 @@ paths:
schema: schema:
type: object type: object
oneOf: oneOf:
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/SoloSubmission' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/SoloSubmission'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/TeamSubmission' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/TeamSubmission'
required: true required: true
responses: responses:
'200': '200':
...@@ -213,14 +213,14 @@ paths: ...@@ -213,14 +213,14 @@ paths:
schema: schema:
type: object type: object
oneOf: oneOf:
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/SoloSubmission' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/SoloSubmission'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/TeamSubmission' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/TeamSubmission'
/assessments: /assessments:
parameters: parameters:
- $ref: >- - $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json/#/language https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json#/language
- $ref: >- - $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json/#/competition_token https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json#/competition_token
get: get:
tags: tags:
- assessments - assessments
...@@ -235,12 +235,12 @@ paths: ...@@ -235,12 +235,12 @@ paths:
items: items:
oneOf: oneOf:
- $ref: >- - $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/VirtualAssessment https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/VirtualAssessment
- $ref: >- - $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/HandmadeAssessment https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/HandmadeAssessment
'500': '500':
$ref: >- $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json/#/InternalServerError https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json#/InternalServerError
# Phase # Phase
/competifiers: /competifiers:
...@@ -255,14 +255,14 @@ paths: ...@@ -255,14 +255,14 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/Competifier' $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Competifier'
/phases: /phases:
parameters: parameters:
- $ref: >- - $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json/#/language https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json#/language
- $ref: >- - $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json/#/competition_token https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json#/competition_token
get: get:
tags: tags:
- phases - phases
...@@ -276,14 +276,14 @@ paths: ...@@ -276,14 +276,14 @@ paths:
type: array type: array
items: items:
$ref: >- $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/Phase https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Phase
'500': '500':
$ref: >- $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json/#/InternalServerError https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json#/InternalServerError
/phases/{phaseId}: /phases/{phaseId}:
parameters: parameters:
- $ref: >- - $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json/#/language https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json#/language
- name: phaseId - name: phaseId
in: path in: path
required: true required: true
...@@ -300,14 +300,14 @@ paths: ...@@ -300,14 +300,14 @@ paths:
application/json: application/json:
schema: schema:
$ref: >- $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/Phase https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Phase
'500': '500':
$ref: >- $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json/#/InternalServerError https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json#/InternalServerError
/phases/{phaseId}/board: /phases/{phaseId}/board:
parameters: parameters:
- $ref: >- - $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json/#/language https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json#/language
- name: phaseId - name: phaseId
in: path in: path
required: true required: true
...@@ -326,14 +326,14 @@ paths: ...@@ -326,14 +326,14 @@ paths:
type: array type: array
items: items:
$ref: >- $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/PhaseParticipation https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/PhaseParticipation
'500': '500':
$ref: >- $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json/#/InternalServerError https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json#/InternalServerError
/phases/{phaseId}/ranking: /phases/{phaseId}/ranking:
parameters: parameters:
- $ref: >- - $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json/#/language https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json#/language
- name: phaseId - name: phaseId
in: path in: path
required: true required: true
...@@ -352,17 +352,17 @@ paths: ...@@ -352,17 +352,17 @@ paths:
type: array type: array
items: items:
$ref: >- $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/Ranking https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Ranking
'500': '500':
$ref: >- $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json/#/InternalServerError https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json#/InternalServerError
/assignments: /assignments:
parameters: parameters:
- $ref: >- - $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json/#/language https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json#/language
- $ref: >- - $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json/#/competition_token https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json#/competition_token
get: get:
tags: tags:
- assignments - assignments
...@@ -377,18 +377,18 @@ paths: ...@@ -377,18 +377,18 @@ paths:
items: items:
oneOf: oneOf:
- $ref: >- - $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/VirtualAssessment https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/VirtualAssessment
- $ref: >- - $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/HandmadeAssessment https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/HandmadeAssessment
'500': '500':
$ref: >- $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json/#/InternalServerError https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json#/InternalServerError
/assignments/{assignmentId}/status: /assignments/{assignmentId}/status:
parameters: parameters:
- $ref: >- - $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json/#/language https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json#/language
- $ref: >- - $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json/#/competition_token https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json#/competition_token
- name: assignmentId - name: assignmentId
in: path in: path
required: true required: true
...@@ -405,8 +405,8 @@ paths: ...@@ -405,8 +405,8 @@ paths:
schema: schema:
type: object type: object
oneOf: oneOf:
- $ref: 'htps://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/VirtualAssessment' - $ref: 'htps://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/VirtualAssessment'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/HandmadeAssessment' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/HandmadeAssessment'
required: true required: true
responses: responses:
'200': '200':
...@@ -416,17 +416,17 @@ paths: ...@@ -416,17 +416,17 @@ paths:
schema: schema:
type: object type: object
oneOf: oneOf:
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/VirtualAssessment' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/VirtualAssessment'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/HandmadeAssessment' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/HandmadeAssessment'
'500': '500':
$ref: >- $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json/#/InternalServerError https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json#/InternalServerError
/assignments/{assignmentId}: /assignments/{assignmentId}:
parameters: parameters:
- $ref: >- - $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json/#/language https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json#/language
- $ref: >- - $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json/#/competition_token https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json#/competition_token
- name: assignmentId - name: assignmentId
in: path in: path
required: true required: true
...@@ -445,18 +445,18 @@ paths: ...@@ -445,18 +445,18 @@ paths:
type: object type: object
oneOf: oneOf:
- $ref: >- - $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/VirtualAssessment https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/VirtualAssessment
- $ref: >- - $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/HandmadeAssessment https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/HandmadeAssessment
'500': '500':
$ref: >- $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json/#/InternalServerError https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json#/InternalServerError
/assignments/{assignmentId}/submissions: /assignments/{assignmentId}/submissions:
parameters: parameters:
- $ref: >- - $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json/#/language https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json#/language
- $ref: >- - $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json/#/competition_token https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json#/competition_token
- name: assignmentId - name: assignmentId
in: path in: path
required: true required: true
...@@ -471,7 +471,7 @@ paths: ...@@ -471,7 +471,7 @@ paths:
application/json: application/json:
schema: schema:
$ref: >- $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/AssessmentSubmission https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/AssessmentSubmission
required: true required: true
responses: responses:
'200': '200':
...@@ -480,16 +480,16 @@ paths: ...@@ -480,16 +480,16 @@ paths:
application/json: application/json:
schema: schema:
$ref: >- $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/AssessmentSubmission https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/AssessmentSubmission
'500': '500':
$ref: >- $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json/#/InternalServerError https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json#/InternalServerError
/assignments/{assignmentId}/draft: /assignments/{assignmentId}/draft:
parameters: parameters:
- $ref: >- - $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json/#/language https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json#/language
- $ref: >- - $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json/#/competition_token https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json#/competition_token
- name: assignmentId - name: assignmentId
in: path in: path
required: true required: true
...@@ -511,7 +511,7 @@ paths: ...@@ -511,7 +511,7 @@ paths:
application/json: application/json:
schema: schema:
$ref: >- $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/AssessmentSubmission https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/AssessmentSubmission
examples: examples:
Dummy Submission: Dummy Submission:
value: value:
...@@ -528,7 +528,7 @@ paths: ...@@ -528,7 +528,7 @@ paths:
uploadUri: null uploadUri: null
'500': '500':
$ref: >- $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json/#/InternalServerError https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json#/InternalServerError
patch: patch:
tags: tags:
- assignments - assignments
...@@ -540,7 +540,7 @@ paths: ...@@ -540,7 +540,7 @@ paths:
schema: schema:
type: object type: object
oneOf: oneOf:
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/VirtualAssessmentSubmissionDraft' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/VirtualAssessmentSubmissionDraft'
required: true required: true
responses: responses:
'200': '200':
...@@ -549,14 +549,14 @@ paths: ...@@ -549,14 +549,14 @@ paths:
application/json: application/json:
schema: schema:
$ref: >- $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/VirtualAssessmentSubmissionDraft https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/VirtualAssessmentSubmissionDraft
'500': '500':
$ref: >- $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json/#/InternalServerError https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json#/InternalServerError
/assignments/{assignmentId}/exam: /assignments/{assignmentId}/exam:
parameters: parameters:
- $ref: >- - $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json/#/language https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json#/language
- name: assignmentId - name: assignmentId
in: path in: path
required: true required: true
...@@ -576,14 +576,14 @@ paths: ...@@ -576,14 +576,14 @@ paths:
items: items:
anyOf: anyOf:
- $ref: >- - $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/Exam https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Exam
'500': '500':
$ref: >- $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json/#/InternalServerError https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json#/InternalServerError
/assignments/{assignmentId}/exam/questions: /assignments/{assignmentId}/exam/questions:
parameters: parameters:
- $ref: >- - $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json/#/language https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json#/language
- name: assignmentId - name: assignmentId
in: path in: path
required: true required: true
...@@ -603,16 +603,16 @@ paths: ...@@ -603,16 +603,16 @@ paths:
items: items:
anyOf: anyOf:
- $ref: >- - $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/ObjectiveQuestion https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/ObjectiveQuestion
- $ref: >- - $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/SubjectiveQuestion https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/SubjectiveQuestion
'500': '500':
$ref: >- $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json/#/InternalServerError https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json#/InternalServerError
/assignments/{assignmentId}/exam/questions/{questionId}: /assignments/{assignmentId}/exam/questions/{questionId}:
parameters: parameters:
- $ref: >- - $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json/#/language https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json#/language
- name: assignmentId - name: assignmentId
in: path in: path
required: true required: true
...@@ -635,12 +635,12 @@ paths: ...@@ -635,12 +635,12 @@ paths:
schema: schema:
anyOf: anyOf:
- $ref: >- - $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/SubjectiveQuestion https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/SubjectiveQuestion
- $ref: >- - $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/ObjectiveQuestion https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/ObjectiveQuestion
'500': '500':
$ref: >- $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json/#/InternalServerError https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json#/InternalServerError
/me: /me:
get: get:
...@@ -654,16 +654,16 @@ paths: ...@@ -654,16 +654,16 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/User' $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/User'
'500': '500':
$ref: >- $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json/#/InternalServerError https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json#/InternalServerError
# /competifier/messages: # /competifier/messages:
# parameters: # parameters:
# - $ref: >- # - $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json/#/language # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json#/language
# - $ref: >- # - $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json/#/competition_token # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json#/competition_token
# get: # get:
# tags: # tags:
# - competifier # - competifier
...@@ -677,16 +677,16 @@ paths: ...@@ -677,16 +677,16 @@ paths:
# type: array # type: array
# items: # items:
# $ref: >- # $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/Message # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Message
# '500': # '500':
# $ref: >- # $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json/#/InternalServerError # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json#/InternalServerError
# '/competifier/messages/{messageId}': # '/competifier/messages/{messageId}':
# parameters: # parameters:
# - $ref: >- # - $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json/#/language # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json#/language
# - $ref: >- # - $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json/#/competition_token # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json#/competition_token
# - name: messageId # - name: messageId
# in: path # in: path
# required: true # required: true
...@@ -703,10 +703,10 @@ paths: ...@@ -703,10 +703,10 @@ paths:
# application/json: # application/json:
# schema: # schema:
# $ref: >- # $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/Message # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Message
# '500': # '500':
# $ref: >- # $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json/#/InternalServerError # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json#/InternalServerError
# patch: # patch:
# tags: # tags:
# - competifier # - competifier
...@@ -717,7 +717,7 @@ paths: ...@@ -717,7 +717,7 @@ paths:
# application/json: # application/json:
# schema: # schema:
# $ref: >- # $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/JsonPatch # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/JsonPatch
# required: true # required: true
# responses: # responses:
# '200': # '200':
...@@ -726,15 +726,15 @@ paths: ...@@ -726,15 +726,15 @@ paths:
# application/json: # application/json:
# schema: # schema:
# $ref: >- # $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/Message # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Message
# '500': # '500':
# $ref: >- # $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json/#/InternalServerError # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json#/InternalServerError
# '/assessments/{assessmentId}/questions/{questionId}/statement': # '/assessments/{assessmentId}/questions/{questionId}/statement':
# parameters: # parameters:
# - $ref: >- # - $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json/#/language # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json#/language
# - name: assessmentId # - name: assessmentId
# in: path # in: path
# required: true # required: true
...@@ -756,14 +756,14 @@ paths: ...@@ -756,14 +756,14 @@ paths:
# application/json: # application/json:
# schema: # schema:
# $ref: >- # $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/QuestionStatement # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/QuestionStatement
# '500': # '500':
# $ref: >- # $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json/#/InternalServerError # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json#/InternalServerError
# '/assessments/{assessmentId}/questions/{questionId}/alternatives': # '/assessments/{assessmentId}/questions/{questionId}/alternatives':
# parameters: # parameters:
# - $ref: >- # - $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json/#/language # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json#/language
# - name: assessmentId # - name: assessmentId
# in: path # in: path
# required: true # required: true
...@@ -787,14 +787,14 @@ paths: ...@@ -787,14 +787,14 @@ paths:
# type: array # type: array
# items: # items:
# $ref: >- # $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/Alternative # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Alternative
# '500': # '500':
# $ref: >- # $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json/#/InternalServerError # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json#/InternalServerError
# '/assessments/{assessmentId}/drafts': # '/assessments/{assessmentId}/drafts':
# parameters: # parameters:
# - $ref: >- # - $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json/#/language # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json#/language
# - name: assessmentId # - name: assessmentId
# in: path # in: path
# required: true # required: true
...@@ -814,12 +814,12 @@ paths: ...@@ -814,12 +814,12 @@ paths:
# items: # items:
# oneOf: # oneOf:
# - $ref: >- # - $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/HandmadeAssessmentSubmission # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/HandmadeAssessmentSubmission
# - $ref: >- # - $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/VirtualAssessmentSubmission # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/VirtualAssessmentSubmission
# '500': # '500':
# $ref: >- # $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json/#/InternalServerError # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json#/InternalServerError
# post: # post:
# tags: # tags:
# - assessments # - assessments
...@@ -830,9 +830,9 @@ paths: ...@@ -830,9 +830,9 @@ paths:
# schema: # schema:
# oneOf: # oneOf:
# - $ref: >- # - $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/HandmadeAssessmentSubmission # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/HandmadeAssessmentSubmission
# - $ref: >- # - $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/VirtualAssessmentSubmission # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/VirtualAssessmentSubmission
# responses: # responses:
# '200': # '200':
# description: '' # description: ''
...@@ -842,16 +842,16 @@ paths: ...@@ -842,16 +842,16 @@ paths:
# type: object # type: object
# oneOf: # oneOf:
# - $ref: >- # - $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/HandmadeAssessmentSubmission # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/HandmadeAssessmentSubmission
# - $ref: >- # - $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/VirtualAssessmentSubmission # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/VirtualAssessmentSubmission
# '500': # '500':
# $ref: >- # $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json/#/InternalServerError # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json#/InternalServerError
# '/assessments/{assessmentId}/drafts/{draftId}': # '/assessments/{assessmentId}/drafts/{draftId}':
# parameters: # parameters:
# - $ref: >- # - $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json/#/language # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json#/language
# - name: assessmentId # - name: assessmentId
# in: path # in: path
# required: true # required: true
...@@ -875,16 +875,16 @@ paths: ...@@ -875,16 +875,16 @@ paths:
# type: object # type: object
# oneOf: # oneOf:
# - $ref: >- # - $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/HandmadeAssessmentSubmission # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/HandmadeAssessmentSubmission
# - $ref: >- # - $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/VirtualAssessmentSubmission # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/VirtualAssessmentSubmission
# '500': # '500':
# $ref: >- # $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json/#/InternalServerError # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json#/InternalServerError
# '/assessments/{assessmentId}/evaluation': # '/assessments/{assessmentId}/evaluation':
# parameters: # parameters:
# - $ref: >- # - $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json/#/language # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json#/language
# - name: assessmentId # - name: assessmentId
# in: path # in: path
# required: true # required: true
...@@ -901,16 +901,16 @@ paths: ...@@ -901,16 +901,16 @@ paths:
# application/json: # application/json:
# schema: # schema:
# $ref: >- # $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/AssessmentSubmissionEvaluation # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/AssessmentSubmissionEvaluation
# '500': # '500':
# $ref: >- # $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json/#/InternalServerError # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json#/InternalServerError
# /competifier: # /competifier:
# parameters: # parameters:
# - $ref: >- # - $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json/#/language # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json#/language
# - $ref: >- # - $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json/#/competition_token # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json#/competition_token
# get: # get:
# tags: # tags:
# - competifier # - competifier
...@@ -924,12 +924,12 @@ paths: ...@@ -924,12 +924,12 @@ paths:
# type: object # type: object
# oneOf: # oneOf:
# - $ref: >- # - $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/SoloCompetifier # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/SoloCompetifier
# - $ref: >- # - $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/TeamCompetifier # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/TeamCompetifier
# '500': # '500':
# $ref: >- # $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json/#/InternalServerError # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json#/InternalServerError
# patch: # patch:
# tags: # tags:
# - competifier # - competifier
...@@ -940,7 +940,7 @@ paths: ...@@ -940,7 +940,7 @@ paths:
# application/json: # application/json:
# schema: # schema:
# $ref: >- # $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/JsonPatch # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/JsonPatch
# required: true # required: true
# responses: # responses:
# '200': # '200':
...@@ -951,18 +951,18 @@ paths: ...@@ -951,18 +951,18 @@ paths:
# type: object # type: object
# oneOf: # oneOf:
# - $ref: >- # - $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/SoloCompetifier # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/SoloCompetifier
# - $ref: >- # - $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/TeamCompetifier # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/TeamCompetifier
# '500': # '500':
# $ref: >- # $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json/#/InternalServerError # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json#/InternalServerError
# /competifier/participants: # /competifier/participants:
# parameters: # parameters:
# - $ref: >- # - $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json/#/language # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json#/language
# - $ref: >- # - $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json/#/competition_token # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json#/competition_token
# get: # get:
# tags: # tags:
# - competifier # - competifier
...@@ -977,16 +977,16 @@ paths: ...@@ -977,16 +977,16 @@ paths:
# type: array # type: array
# items: # items:
# $ref: >- # $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/Participant # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Participant
# '500': # '500':
# $ref: >- # $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json/#/InternalServerError # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json#/InternalServerError
# '/competifier/participants/{participantId}': # '/competifier/participants/{participantId}':
# parameters: # parameters:
# - $ref: >- # - $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json/#/language # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json#/language
# - $ref: >- # - $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json/#/competition_token # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json#/competition_token
# - name: participantId # - name: participantId
# in: path # in: path
# required: true # required: true
...@@ -1003,10 +1003,10 @@ paths: ...@@ -1003,10 +1003,10 @@ paths:
# application/json: # application/json:
# schema: # schema:
# $ref: >- # $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/Participant # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Participant
# '500': # '500':
# $ref: >- # $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json/#/InternalServerError # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json#/InternalServerError
# patch: # patch:
# tags: # tags:
# - competifier # - competifier
...@@ -1018,7 +1018,7 @@ paths: ...@@ -1018,7 +1018,7 @@ paths:
# type: array # type: array
# items: # items:
# $ref: >- # $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/JsonPatch # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/JsonPatch
# responses: # responses:
# '200': # '200':
# description: '' # description: ''
...@@ -1026,16 +1026,16 @@ paths: ...@@ -1026,16 +1026,16 @@ paths:
# application/json: # application/json:
# schema: # schema:
# $ref: >- # $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/Participant # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Participant
# '500': # '500':
# $ref: >- # $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json/#/InternalServerError # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json#/InternalServerError
# '/phases/{phaseId}/ranking/me': # '/phases/{phaseId}/ranking/me':
# parameters: # parameters:
# - $ref: >- # - $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json/#/language # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json#/language
# - $ref: >- # - $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json/#/competition_token # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.json#/competition_token
# - name: phaseId # - name: phaseId
# in: path # in: path
# required: true # required: true
...@@ -1054,10 +1054,10 @@ paths: ...@@ -1054,10 +1054,10 @@ paths:
# application/json: # application/json:
# schema: # schema:
# $ref: >- # $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/Rank # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Rank
# '500': # '500':
# $ref: >- # $ref: >-
# https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json/#/InternalServerError # https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json#/InternalServerError
externalDocs: externalDocs:
description: Gitlab documentation description: Gitlab documentation
url: 'https://gitlab.dev.evologica.com.br/Competify/Docs' url: 'https://gitlab.dev.evologica.com.br/Competify/Docs'
...@@ -51,7 +51,7 @@ paths: ...@@ -51,7 +51,7 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/Competition' $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Competition'
# Competifiers # Competifiers
/competifiers: /competifiers:
...@@ -69,8 +69,8 @@ paths: ...@@ -69,8 +69,8 @@ paths:
type: array type: array
items: items:
oneOf: oneOf:
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/SoloCompetifier' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/SoloCompetifier'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/TeamCompetifier' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/TeamCompetifier'
# Subscription # Subscription
/subscription: /subscription:
...@@ -86,8 +86,8 @@ paths: ...@@ -86,8 +86,8 @@ paths:
schema: schema:
type: object type: object
oneOf: oneOf:
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/SoloSubscription' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/SoloSubscription'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/TeamSubscription' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/TeamSubscription'
patch: patch:
tags: tags:
- subscription - subscription
...@@ -98,8 +98,8 @@ paths: ...@@ -98,8 +98,8 @@ paths:
schema: schema:
type: object type: object
oneOf: oneOf:
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/SoloSubscription' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/SoloSubscription'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/TeamSubscription' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/TeamSubscription'
required: true required: true
responses: responses:
'200': '200':
...@@ -108,8 +108,8 @@ paths: ...@@ -108,8 +108,8 @@ paths:
application/json: application/json:
schema: schema:
oneOf: oneOf:
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/SoloSubscription' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/SoloSubscription'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/TeamSubscription' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/TeamSubscription'
/subscription/participant-template: /subscription/participant-template:
get: get:
tags: tags:
...@@ -121,7 +121,7 @@ paths: ...@@ -121,7 +121,7 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/FormTemplate' $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/FormTemplate'
patch: patch:
tags: tags:
- subscription - subscription
...@@ -132,7 +132,7 @@ paths: ...@@ -132,7 +132,7 @@ paths:
schema: schema:
type: object type: object
oneOf: oneOf:
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/FormTemplate' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/FormTemplate'
required: true required: true
responses: responses:
'200': '200':
...@@ -140,7 +140,7 @@ paths: ...@@ -140,7 +140,7 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/FormTemplate' $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/FormTemplate'
/subscription/team-template: /subscription/team-template:
get: get:
tags: tags:
...@@ -152,7 +152,7 @@ paths: ...@@ -152,7 +152,7 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/FormTemplate' $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/FormTemplate'
patch: patch:
tags: tags:
- subscription - subscription
...@@ -163,7 +163,7 @@ paths: ...@@ -163,7 +163,7 @@ paths:
schema: schema:
type: object type: object
oneOf: oneOf:
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/FormTemplate' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/FormTemplate'
required: true required: true
responses: responses:
'200': '200':
...@@ -171,7 +171,7 @@ paths: ...@@ -171,7 +171,7 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/FormTemplate' $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/FormTemplate'
/subscription/submissions: /subscription/submissions:
get: get:
tags: tags:
...@@ -187,8 +187,8 @@ paths: ...@@ -187,8 +187,8 @@ paths:
type: array type: array
items: items:
oneOf: oneOf:
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/SoloSubmission' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/SoloSubmission'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/TeamSubmission' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/TeamSubmission'
/subscription/submissions/{submissionId}: /subscription/submissions/{submissionId}:
get: get:
tags: tags:
...@@ -203,8 +203,8 @@ paths: ...@@ -203,8 +203,8 @@ paths:
schema: schema:
type: object type: object
oneOf: oneOf:
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/SoloSubmission' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/SoloSubmission'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/TeamSubmission' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/TeamSubmission'
parameters: parameters:
- name: submissionId - name: submissionId
in: path in: path
...@@ -225,8 +225,8 @@ paths: ...@@ -225,8 +225,8 @@ paths:
schema: schema:
type: object type: object
oneOf: oneOf:
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/SoloSubmission' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/SoloSubmission'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/TeamSubmission' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/TeamSubmission'
required: true required: true
responses: responses:
'200': '200':
...@@ -236,8 +236,8 @@ paths: ...@@ -236,8 +236,8 @@ paths:
schema: schema:
type: object type: object
oneOf: oneOf:
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/SoloSubmission' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/SoloSubmission'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/TeamSubmission' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/TeamSubmission'
parameters: parameters:
- name: submissionId - name: submissionId
in: path in: path
...@@ -259,7 +259,7 @@ paths: ...@@ -259,7 +259,7 @@ paths:
schema: schema:
type: array type: array
items: items:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/Invitation' $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Invitation'
parameters: parameters:
- name: submissionId - name: submissionId
in: path in: path
...@@ -279,7 +279,7 @@ paths: ...@@ -279,7 +279,7 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/Invitation' $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Invitation'
parameters: parameters:
- name: submissionId - name: submissionId
in: path in: path
...@@ -311,7 +311,7 @@ paths: ...@@ -311,7 +311,7 @@ paths:
schema: schema:
type: array type: array
items: items:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/Exam' $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Exam'
post: post:
tags: tags:
- exams - exams
...@@ -321,7 +321,7 @@ paths: ...@@ -321,7 +321,7 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/Exam' $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Exam'
required: true required: true
responses: responses:
'200': '200':
...@@ -329,7 +329,7 @@ paths: ...@@ -329,7 +329,7 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/Exam' $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Exam'
/exams/{examId}: /exams/{examId}:
get: get:
tags: tags:
...@@ -342,7 +342,7 @@ paths: ...@@ -342,7 +342,7 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/Exam' $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Exam'
patch: patch:
tags: tags:
- exams - exams
...@@ -354,7 +354,7 @@ paths: ...@@ -354,7 +354,7 @@ paths:
schema: schema:
type: object type: object
oneOf: oneOf:
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/Exam' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Exam'
required: true required: true
responses: responses:
'200': '200':
...@@ -362,7 +362,7 @@ paths: ...@@ -362,7 +362,7 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/Exam' $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Exam'
delete: delete:
tags: tags:
- exams - exams
...@@ -374,7 +374,7 @@ paths: ...@@ -374,7 +374,7 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/Exam' $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Exam'
parameters: parameters:
- name: examId - name: examId
in: path in: path
...@@ -398,8 +398,8 @@ paths: ...@@ -398,8 +398,8 @@ paths:
type: array type: array
items: items:
oneOf: oneOf:
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/ObjectiveQuestion' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/ObjectiveQuestion'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/SubjectiveQuestion' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/SubjectiveQuestion'
post: post:
tags: tags:
- exams - exams
...@@ -411,8 +411,8 @@ paths: ...@@ -411,8 +411,8 @@ paths:
schema: schema:
type: object type: object
oneOf: oneOf:
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/ObjectiveQuestion' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/ObjectiveQuestion'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/SubjectiveQuestion' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/SubjectiveQuestion'
required: true required: true
responses: responses:
'200': '200':
...@@ -422,8 +422,8 @@ paths: ...@@ -422,8 +422,8 @@ paths:
schema: schema:
type: object type: object
oneOf: oneOf:
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/ObjectiveQuestion' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/ObjectiveQuestion'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/SubjectiveQuestion' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/SubjectiveQuestion'
patch: patch:
tags: tags:
- exams - exams
...@@ -435,7 +435,7 @@ paths: ...@@ -435,7 +435,7 @@ paths:
schema: schema:
type: object type: object
oneOf: oneOf:
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/Question' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Question'
required: true required: true
responses: responses:
'200': '200':
...@@ -445,7 +445,7 @@ paths: ...@@ -445,7 +445,7 @@ paths:
schema: schema:
type: object type: object
oneOf: oneOf:
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/Question' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Question'
parameters: parameters:
- name: examId - name: examId
in: path in: path
...@@ -468,8 +468,8 @@ paths: ...@@ -468,8 +468,8 @@ paths:
schema: schema:
type: object type: object
oneOf: oneOf:
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/ObjectiveQuestion' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/ObjectiveQuestion'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/SubjectiveQuestion' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/SubjectiveQuestion'
patch: patch:
tags: tags:
- exams - exams
...@@ -481,8 +481,8 @@ paths: ...@@ -481,8 +481,8 @@ paths:
schema: schema:
type: object type: object
oneOf: oneOf:
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/ObjectiveQuestion' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/ObjectiveQuestion'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/SubjectiveQuestion' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/SubjectiveQuestion'
required: true required: true
responses: responses:
'200': '200':
...@@ -490,7 +490,7 @@ paths: ...@@ -490,7 +490,7 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/Question' $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Question'
delete: delete:
tags: tags:
- exams - exams
...@@ -526,8 +526,8 @@ paths: ...@@ -526,8 +526,8 @@ paths:
schema: schema:
type: object type: object
oneOf: oneOf:
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/ObjectiveQuestion' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/ObjectiveQuestion'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/SubjectiveQuestion' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/SubjectiveQuestion'
required: true required: true
responses: responses:
'200': '200':
...@@ -537,8 +537,8 @@ paths: ...@@ -537,8 +537,8 @@ paths:
schema: schema:
type: object type: object
oneOf: oneOf:
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/ObjectiveQuestion' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/ObjectiveQuestion'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/SubjectiveQuestion' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/SubjectiveQuestion'
parameters: parameters:
- name: examId - name: examId
in: path in: path
...@@ -569,7 +569,7 @@ paths: ...@@ -569,7 +569,7 @@ paths:
type: array type: array
items: items:
oneOf: oneOf:
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/QuestionGroup' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/QuestionGroup'
post: post:
tags: tags:
- exams - exams
...@@ -581,7 +581,7 @@ paths: ...@@ -581,7 +581,7 @@ paths:
schema: schema:
type: object type: object
oneOf: oneOf:
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/QuestionGroup' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/QuestionGroup'
required: true required: true
responses: responses:
'200': '200':
...@@ -589,7 +589,7 @@ paths: ...@@ -589,7 +589,7 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/QuestionGroup' $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/QuestionGroup'
parameters: parameters:
- name: examId - name: examId
in: path in: path
...@@ -610,7 +610,7 @@ paths: ...@@ -610,7 +610,7 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/QuestionGroup' $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/QuestionGroup'
patch: patch:
tags: tags:
- exams - exams
...@@ -622,7 +622,7 @@ paths: ...@@ -622,7 +622,7 @@ paths:
schema: schema:
type: object type: object
oneOf: oneOf:
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/QuestionGroup' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/QuestionGroup'
required: true required: true
responses: responses:
'200': '200':
...@@ -630,7 +630,7 @@ paths: ...@@ -630,7 +630,7 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/QuestionGroup' $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/QuestionGroup'
delete: delete:
tags: tags:
- exams - exams
...@@ -642,7 +642,7 @@ paths: ...@@ -642,7 +642,7 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/QuestionGroup' $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/QuestionGroup'
parameters: parameters:
- name: examId - name: examId
in: path in: path
...@@ -673,7 +673,7 @@ paths: ...@@ -673,7 +673,7 @@ paths:
schema: schema:
type: array type: array
items: items:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/Phase' $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Phase'
post: post:
tags: tags:
- phases - phases
...@@ -682,14 +682,14 @@ paths: ...@@ -682,14 +682,14 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/Phase' $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Phase'
responses: responses:
'200': '200':
description: '' description: ''
content: content:
application/json: application/json:
schema: schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/Phase' $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Phase'
/phases/{phaseId}: /phases/{phaseId}:
get: get:
tags: tags:
...@@ -701,7 +701,7 @@ paths: ...@@ -701,7 +701,7 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/Phase' $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Phase'
patch: patch:
tags: tags:
- phases - phases
...@@ -712,7 +712,7 @@ paths: ...@@ -712,7 +712,7 @@ paths:
schema: schema:
type: object type: object
oneOf: oneOf:
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/Phase' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Phase'
required: true required: true
responses: responses:
'200': '200':
...@@ -720,7 +720,7 @@ paths: ...@@ -720,7 +720,7 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/Phase' $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Phase'
delete: delete:
tags: tags:
- phases - phases
...@@ -731,7 +731,7 @@ paths: ...@@ -731,7 +731,7 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/Phase' $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Phase'
parameters: parameters:
- name: phaseId - name: phaseId
in: path in: path
...@@ -750,8 +750,8 @@ paths: ...@@ -750,8 +750,8 @@ paths:
schema: schema:
type: object type: object
oneOf: oneOf:
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/MinimumPerformance' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/MinimumPerformance'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/BestRanked' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/BestRanked'
required: true required: true
responses: responses:
'200': '200':
...@@ -761,8 +761,8 @@ paths: ...@@ -761,8 +761,8 @@ paths:
schema: schema:
type: object type: object
oneOf: oneOf:
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/MinimumPerformance' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/MinimumPerformance'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/BestRanked' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/BestRanked'
parameters: parameters:
- name: phaseId - name: phaseId
in: path in: path
...@@ -781,7 +781,7 @@ paths: ...@@ -781,7 +781,7 @@ paths:
schema: schema:
type: object type: object
oneOf: oneOf:
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/EvaluationFormula' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/EvaluationFormula'
required: true required: true
responses: responses:
'200': '200':
...@@ -789,7 +789,7 @@ paths: ...@@ -789,7 +789,7 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/EvaluationFormula' $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/EvaluationFormula'
parameters: parameters:
- name: phaseId - name: phaseId
in: path in: path
...@@ -810,7 +810,7 @@ paths: ...@@ -810,7 +810,7 @@ paths:
schema: schema:
type: array type: array
items: items:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/PhaseEvent' $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/PhaseEvent'
parameters: parameters:
- name: phaseId - name: phaseId
in: path in: path
...@@ -833,8 +833,8 @@ paths: ...@@ -833,8 +833,8 @@ paths:
type: array type: array
items: items:
oneOf: oneOf:
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/HandmadeAssessment' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/HandmadeAssessment'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/VirtualAssessment' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/VirtualAssessment'
post: post:
tags: tags:
- phases - phases
...@@ -845,8 +845,8 @@ paths: ...@@ -845,8 +845,8 @@ paths:
schema: schema:
type: object type: object
oneOf: oneOf:
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/HandmadeAssessment' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/HandmadeAssessment'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/VirtualAssessment' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/VirtualAssessment'
required: true required: true
responses: responses:
'200': '200':
...@@ -856,8 +856,8 @@ paths: ...@@ -856,8 +856,8 @@ paths:
schema: schema:
type: object type: object
oneOf: oneOf:
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/HandmadeAssessment' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/HandmadeAssessment'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/VirtualAssessment' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/VirtualAssessment'
parameters: parameters:
- name: phaseId - name: phaseId
in: path in: path
...@@ -878,7 +878,7 @@ paths: ...@@ -878,7 +878,7 @@ paths:
schema: schema:
type: array type: array
items: items:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/Ranking' $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Ranking'
parameters: parameters:
- name: phaseId - name: phaseId
in: path in: path
...@@ -899,7 +899,7 @@ paths: ...@@ -899,7 +899,7 @@ paths:
schema: schema:
type: array type: array
items: items:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/Ranking' $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Ranking'
post: post:
tags: tags:
- phases - phases
...@@ -908,7 +908,7 @@ paths: ...@@ -908,7 +908,7 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/Ranking' $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Ranking'
required: true required: true
responses: responses:
'200': '200':
...@@ -916,7 +916,7 @@ paths: ...@@ -916,7 +916,7 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/Ranking' $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Ranking'
parameters: parameters:
- name: phaseId - name: phaseId
in: path in: path
...@@ -937,7 +937,7 @@ paths: ...@@ -937,7 +937,7 @@ paths:
schema: schema:
type: array type: array
items: items:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/PhaseParticipation' $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/PhaseParticipation'
parameters: parameters:
- name: phaseId - name: phaseId
in: path in: path
...@@ -956,7 +956,7 @@ paths: ...@@ -956,7 +956,7 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/PhaseParticipation' $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/PhaseParticipation'
patch: patch:
tags: tags:
- phases - phases
...@@ -967,7 +967,7 @@ paths: ...@@ -967,7 +967,7 @@ paths:
schema: schema:
type: object type: object
oneOf: oneOf:
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/PhaseParticipation' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/PhaseParticipation'
required: true required: true
responses: responses:
'200': '200':
...@@ -975,7 +975,7 @@ paths: ...@@ -975,7 +975,7 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/PhaseParticipation' $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/PhaseParticipation'
parameters: parameters:
- name: phaseId - name: phaseId
in: path in: path
...@@ -1000,7 +1000,7 @@ paths: ...@@ -1000,7 +1000,7 @@ paths:
schema: schema:
type: object type: object
oneOf: oneOf:
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/Phase' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Phase'
required: true required: true
responses: responses:
'200': '200':
...@@ -1008,7 +1008,7 @@ paths: ...@@ -1008,7 +1008,7 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/Phase' $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Phase'
parameters: parameters:
- name: phaseId - name: phaseId
in: path in: path
...@@ -1030,7 +1030,7 @@ paths: ...@@ -1030,7 +1030,7 @@ paths:
schema: schema:
type: object type: object
oneOf: oneOf:
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/Assessment' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Assessment'
required: true required: true
responses: responses:
'200': '200':
...@@ -1038,7 +1038,7 @@ paths: ...@@ -1038,7 +1038,7 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/Assessment' $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Assessment'
parameters: parameters:
- name: assessmentId - name: assessmentId
in: path in: path
...@@ -1061,8 +1061,8 @@ paths: ...@@ -1061,8 +1061,8 @@ paths:
type: array type: array
items: items:
oneOf: oneOf:
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/HandmadeAssessmentSubmission' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/HandmadeAssessmentSubmission'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/VirtualAssessmentSubmission' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/VirtualAssessmentSubmission'
parameters: parameters:
- name: assessmentId - name: assessmentId
in: path in: path
...@@ -1083,8 +1083,8 @@ paths: ...@@ -1083,8 +1083,8 @@ paths:
schema: schema:
type: object type: object
oneOf: oneOf:
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/HandmadeAssessmentSubmission' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/HandmadeAssessmentSubmission'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/VirtualAssessmentSubmission' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/VirtualAssessmentSubmission'
parameters: parameters:
- name: assessmentId - name: assessmentId
in: path in: path
...@@ -1112,7 +1112,7 @@ paths: ...@@ -1112,7 +1112,7 @@ paths:
# schema: # schema:
# type: array # type: array
# items: # items:
# $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/FormTemplate' # $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/FormTemplate'
# '/phases/{phaseId}/assessments': # '/phases/{phaseId}/assessments':
# get: # get:
...@@ -1128,8 +1128,8 @@ paths: ...@@ -1128,8 +1128,8 @@ paths:
# type: array # type: array
# items: # items:
# oneOf: # oneOf:
# - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/HandmadeAssessment' # - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/HandmadeAssessment'
# - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/VirtualAssessment' # - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/VirtualAssessment'
# post: # post:
# tags: # tags:
# - phases # - phases
...@@ -1140,8 +1140,8 @@ paths: ...@@ -1140,8 +1140,8 @@ paths:
# schema: # schema:
# type: object # type: object
# oneOf: # oneOf:
# - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/HandmadeAssessment' # - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/HandmadeAssessment'
# - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/VirtualAssessment' # - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/VirtualAssessment'
# required: true # required: true
# responses: # responses:
# '200': # '200':
...@@ -1151,8 +1151,8 @@ paths: ...@@ -1151,8 +1151,8 @@ paths:
# schema: # schema:
# type: object # type: object
# oneOf: # oneOf:
# - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/HandmadeAssessment' # - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/HandmadeAssessment'
# - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/VirtualAssessment' # - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/VirtualAssessment'
# parameters: # parameters:
# - name: phaseId # - name: phaseId
# in: path # in: path
...@@ -1173,8 +1173,8 @@ paths: ...@@ -1173,8 +1173,8 @@ paths:
# schema: # schema:
# type: object # type: object
# oneOf: # oneOf:
# - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/HandmadeAssessment' # - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/HandmadeAssessment'
# - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/VirtualAssessment' # - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/VirtualAssessment'
# parameters: # parameters:
# - name: assessmentId # - name: assessmentId
# in: path # in: path
...@@ -1191,7 +1191,7 @@ paths: ...@@ -1191,7 +1191,7 @@ paths:
# content: # content:
# application/json: # application/json:
# schema: # schema:
# $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/Phase' # $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Phase'
# required: true # required: true
# responses: # responses:
# '200': # '200':
...@@ -1199,7 +1199,7 @@ paths: ...@@ -1199,7 +1199,7 @@ paths:
# content: # content:
# application/json: # application/json:
# schema: # schema:
# $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json/#/Phase' # $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Phase'
# parameters: # parameters:
# - name: phaseId # - name: phaseId
# in: path # in: path
......
{ {
"ScheduledEvent": { "ScheduledEvent": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Assessment.json/#/ScheduledEvent" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Assessment.json#/ScheduledEvent"
}, },
"Assessment": { "Assessment": {
"$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"
}, },
"VirtualAssessment": { "VirtualAssessment": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Assessment.json/#/VirtualAssessment" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Assessment.json#/VirtualAssessment"
}, },
"HandmadeAssessment": { "HandmadeAssessment": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Assessment.json/#/HandmadeAssessment" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Assessment.json#/HandmadeAssessment"
}, },
"AssessmentEvent": { "AssessmentEvent": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Assessment.json/#/AssessmentEvent" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Assessment.json#/AssessmentEvent"
}, },
"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"
}, },
"QuestionStatement": { "QuestionStatement": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.json/#/QuestionStatement" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.json#/QuestionStatement"
}, },
"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"
}, },
"SubjectiveQuestion": { "SubjectiveQuestion": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.json/#/SubjectiveQuestion" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.json#/SubjectiveQuestion"
}, },
"ObjectiveQuestion": { "ObjectiveQuestion": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.json/#/ObjectiveQuestion" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.json#/ObjectiveQuestion"
}, },
"ExamCover": { "ExamCover": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.json/#/ExamCover" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.json#/ExamCover"
}, },
"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"
}, },
"Alternative": { "Alternative": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.json/#/Alternative" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.json#/Alternative"
}, },
"ExamQuestionComplaint": { "ExamQuestionComplaint": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.json/#/ExamQuestionComplaint" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.json#/ExamQuestionComplaint"
}, },
"AssessmentSubmission": { "AssessmentSubmission": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Submission.json/#/AssessmentSubmission" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Submission.json#/AssessmentSubmission"
}, },
"HandmadeAssessmentSubmission": { "HandmadeAssessmentSubmission": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Submission.json/#/HandmadeAssessmentSubmission" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Submission.json#/HandmadeAssessmentSubmission"
}, },
"VirtualAssessmentSubmission": { "VirtualAssessmentSubmission": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Submission.json/#/VirtualAssessmentSubmission" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Submission.json#/VirtualAssessmentSubmission"
}, },
"Answer": { "Answer": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Submission.json/#/Answer" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Submission.json#/Answer"
}, },
"AssessmentSubmissionEvaluation": { "AssessmentSubmissionEvaluation": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Submission.json/#/AssessmentSubmissionEvaluation" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Submission.json#/AssessmentSubmissionEvaluation"
}, },
"AnswerGrade": { "AnswerGrade": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Submission.json/#/AnswerGrade" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Submission.json#/AnswerGrade"
}, },
"VirtualAssessmentSubmissionDraft": { "VirtualAssessmentSubmissionDraft": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Submission.json/#/VirtualAssessmentSubmissionDraft" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Submission.json#/VirtualAssessmentSubmissionDraft"
}, },
"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"
}, },
"SoloCompetifier": { "SoloCompetifier": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Competifier.json/#/SoloCompetifier" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Competifier.json#/SoloCompetifier"
}, },
"TeamCompetifier": { "TeamCompetifier": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Competifier.json/#/TeamCompetifier" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Competifier.json#/TeamCompetifier"
}, },
"CompetifierEvent": { "CompetifierEvent": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Competifier.json/#/CompetifierEvent" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Competifier.json#/CompetifierEvent"
}, },
"Tag": { "Tag": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Competifier.json/#/Tag" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Competifier.json#/Tag"
}, },
"Participant": { "Participant": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Competifier.json/#/Participant" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Competifier.json#/Participant"
}, },
"Message": { "Message": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Competifier.json/#/Message" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Competifier.json#/Message"
}, },
"JsonPatch": { "JsonPatch": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/JsonPatch.yaml" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/JsonPatch.yaml"
}, },
"Phase": { "Phase": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Phase.json/#/Phase" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Phase.json#/Phase"
}, },
"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"
}, },
"PhaseEvent": { "PhaseEvent": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Phase.json/#/PhaseEvent" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Phase.json#/PhaseEvent"
}, },
"PhaseParticipation": { "PhaseParticipation": {
"$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"
}, },
"BestRanked": { "BestRanked": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Phase.json/#/BestRanked" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Phase.json#/BestRanked"
}, },
"MinimumPerformance": { "MinimumPerformance": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Phase.json/#/MinimumPerformance" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Phase.json#/MinimumPerformance"
}, },
"ClassificationRule": { "ClassificationRule": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Phase.json/#/ClassificationStrategy" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Phase.json#/ClassificationStrategy"
}, },
"EvaluationRule": { "EvaluationRule": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Phase.json/#/EvaluationFormula" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Phase.json#/EvaluationFormula"
}, },
"TieBreakCriteria": { "TieBreakCriteria": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Phase.json/#/TieBreakCriteria" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Phase.json#/TieBreakCriteria"
}, },
"Rank": { "Rank": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Phase.json/#/Rank" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Phase.json#/Rank"
}, },
"Ranking": { "Ranking": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Phase.json/#/Ranking" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Phase.json#/Ranking"
}, },
"Subscription": { "Subscription": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.json/#/Subscription" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.json#/Subscription"
}, },
"SoloSubscription": { "SoloSubscription": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.json/#/SoloSubscription" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.json#/SoloSubscription"
}, },
"TeamSubscription": { "TeamSubscription": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.json/#/TeamSubscription" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.json#/TeamSubscription"
}, },
"SubscriptionSubmission": { "SubscriptionSubmission": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.json/#/SubscriptionSubmission" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.json#/SubscriptionSubmission"
}, },
"SoloSubmission": { "SoloSubmission": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.json/#/SoloSubmission" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.json#/SoloSubmission"
}, },
"TeamSubmission": { "TeamSubmission": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.json/#/TeamSubmission" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.json#/TeamSubmission"
}, },
"Invitation": { "Invitation": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.json/#/Invitation" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.json#/Invitation"
}, },
"FormTemplate": { "FormTemplate": {
"$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"
}, },
"FormField": { "FormField": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.json/#/FormField" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.json#/FormField"
}, },
"FormAnswer": { "FormAnswer": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.json/#/FormAnswer" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.json#/FormAnswer"
}, },
"FormSection": { "FormSection": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.json/#/FormSection" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.json#/FormSection"
}, },
"User": { "User": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Auth.json/#/User" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Auth.json#/User"
}, },
"Submission": { "Submission": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.json/#/Submission" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.json#/Submission"
} }
} }
\ No newline at end of file
...@@ -56,8 +56,9 @@ ...@@ -56,8 +56,9 @@
}, },
"assignments": { "assignments": {
"type": "array", "type": "array",
"description": "Assignment ids",
"items": { "items": {
"$ref": "#/Assignment" "type": "integer"
} }
} }
}, },
...@@ -113,23 +114,23 @@ ...@@ -113,23 +114,23 @@
"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#/VirtualAssessmentSubmissionDraft"
} }
}, },
"submissions": { "submissions": {
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#AssessmentSubmission" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Submission.json#/AssessmentSubmission"
} }
}, },
"currentSubmissions": { "currentSubmissions": {
"$ref": "#AssessmentSubmission" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Submission.json#/AssessmentSubmission"
}, },
"assessment": { "assessment": {
"$ref": "#Assessment" "$ref": "#/Assessment"
}, },
"competifier": { "competifier": {
"$ref": "#Competifier" "$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Competifier.json#/Competifier"
} }
} }
}, },
......
...@@ -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/Subscription.json#/Submission"
}, },
"tags": { "tags": {
"type": "array", "type": "array",
......
{ {
"Phase": {
"required": [
"id",
"label",
"status",
"evaluationFormula",
"classificationStrategy",
"competition"
],
"properties": {
"id": {
"type": "integer"
},
"label": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"PREP",
"ONGOING",
"EVALUATION",
"CLOSED"
]
},
"previous": "integer",
"next": "integer",
"evaluationFormula": {
"$ref": "#/EvaluationFormula"
},
"classificationStrategy": {
"$ref": "#/ClassificationStrategy"
},
"ranking": {
"$ref": "#/Ranking"
},
"assessments": {
"type": "array",
"items": [
{
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Assessment.json#/Assessment"
}
]
},
"evaluations": {
"type": "array",
"items": [
{
"$ref": "#/Ranking"
}
]
},
"events": {
"type": "array",
"items": [
{
"$ref": "#/PhaseEvent"
}
]
},
"participations": {
"type": "array",
"items": [
{
"$ref": "#/PhaseParticipation"
}
]
},
"competition": {
"$ref": "#/Competition"
}
}
},
"AssessmentConclusionTime": { "AssessmentConclusionTime": {
"allOf": [ "allOf": [
{ {
...@@ -13,7 +86,7 @@ ...@@ -13,7 +86,7 @@
"required": [ "required": [
"priority" "priority"
], ],
"allOf": { "allOf": [{
"$ref": "#/TieBreakStrategy", "$ref": "#/TieBreakStrategy",
"type": "object", "type": "object",
"properties": { "properties": {
...@@ -21,7 +94,7 @@ ...@@ -21,7 +94,7 @@
"type": "integer" "type": "integer"
} }
} }
} }]
}, },
"AssessmentPriorityStrategy": { "AssessmentPriorityStrategy": {
"properties": { "properties": {
...@@ -115,83 +188,6 @@ ...@@ -115,83 +188,6 @@
} }
] ]
}, },
"Phase": {
"required": [
"id",
"label",
"status",
"evaluationFormula",
"classificationStrategy",
"competition"
],
"properties": {
"id": {
"type": "integer"
},
"label": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"PREP",
"ONGOING",
"EVALUATION",
"CLOSED"
]
},
"previous": {
"$ref": "#/Phase"
},
"next": {
"$ref": "#/Phase"
},
"evaluationFormula": {
"$ref": "#/EvaluationFormula"
},
"classificationStrategy": {
"$ref": "#/ClassificationStrategy"
},
"ranking": {
"$ref": "#/Ranking"
},
"assessments": {
"type": "array",
"items": [
{
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Assessment.json#/Assessment"
}
]
},
"evaluations": {
"type": "array",
"items": [
{
"$ref": "#/Ranking"
}
]
},
"events": {
"type": "array",
"items": [
{
"$ref": "#/PhaseEvent"
}
]
},
"participations": {
"type": "array",
"items": [
{
"$ref": "#/PhaseParticipation"
}
]
},
"competition": {
"$ref": "#/Competition"
}
}
},
"PhaseEvent": { "PhaseEvent": {
"required": [ "required": [
"timestamp", "timestamp",
...@@ -222,9 +218,7 @@ ...@@ -222,9 +218,7 @@
"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": "integer",
"$ref": "#/Phase"
},
"status": { "status": {
"type": "string", "type": "string",
"enum": [ "enum": [
...@@ -245,7 +239,7 @@ ...@@ -245,7 +239,7 @@
} }
}, },
"QuestionGroupPriorityStrategy": { "QuestionGroupPriorityStrategy": {
"allOf": { "allOf": [{
"$ref": "#/TieBreakStrategy", "$ref": "#/TieBreakStrategy",
"type": "object", "type": "object",
"properties": { "properties": {
...@@ -258,7 +252,7 @@ ...@@ -258,7 +252,7 @@
] ]
} }
} }
} }]
}, },
"Rank": { "Rank": {
"required": [ "required": [
...@@ -379,23 +373,17 @@ ...@@ -379,23 +373,17 @@
} }
] ]
}, },
"phase": { "phases": {
"type": "array", "type": "array",
"items": [ "items": [
{ {
"$ref": "#/Phase" "type": "integer"
} }
] ]
}, },
"finalPhase": { "finalPhase": "integer",
"$ref": "#/Phase" "initialPhase": "integer",
}, "currentPhase": "integer",
"initialPhase": {
"$ref": "#/Phase"
},
"currentPhase": {
"$ref": "#/Phase"
},
"competifiers": { "competifiers": {
"type": "array", "type": "array",
"items": [ "items": [
......
...@@ -188,52 +188,5 @@ ...@@ -188,52 +188,5 @@
"$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"
} }
} }
},
"SubmissionSection": {
"required": [
"type",
"template"
],
"properties": {
"type": {
"type": "string",
"enum": [
"PARTICIPANT",
"TEAM"
]
},
"answers": {
"type": "array",
"items": {
"$ref": "#/answer"
}
},
"template": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.json#/FormTemplate"
}
},
"discriminator": {
"propertyName": "type",
"mapping": {
"PARTICIPANT": "#/ParticipantSubmissionSection",
"TEAM": "#/TeamSubmissionSection"
}
}
},
"TeamSubmissionSection": {
"allOf": [
{
"type": "object"
},
{
"$ref": "#/SubmissionSection"
}
]
},
"ParticipantSubmissionSection": {
"allOf": {
"type": "object",
"$ref": "#/SubmissionSection"
}
} }
} }
\ No newline at end of file
...@@ -120,9 +120,7 @@ ...@@ -120,9 +120,7 @@
"subject": { "subject": {
"type": "string" "type": "string"
}, },
"submission": { "submission": "integer",
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Submission.yaml#/Submission"
},
"status": { "status": {
"type": "string", "type": "string",
"enum": [ "enum": [
...@@ -134,10 +132,12 @@ ...@@ -134,10 +132,12 @@
} }
}, },
"SoloSubscription": { "SoloSubscription": {
"allOf": { "allOf": [
{
"type": "object", "type": "object",
"$ref": "#/Subscription" "$ref": "#/Subscription"
} }
]
}, },
"Subscription": { "Subscription": {
"required": [ "required": [
...@@ -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.json#/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.json#/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": "#/SubmissionSection"
} }
}, },
"invitations": { "invitations": {
...@@ -253,37 +253,82 @@ ...@@ -253,37 +253,82 @@
"required": [ "required": [
"team" "team"
], ],
"allOf": { "allOf": [{
"type": "object", "type": "object",
"$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": "#/TeamSubmissionSection"
},
"leader": {
"$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": "#/ParticipantSubmissionSection"
}
} }
} }
} }
}]
}, },
"SoloSubmission": { "SoloSubmission": {
"required": [ "required": [
"participant" "participant"
], ],
"allOf": { "allOf": [{
"type": "object", "type": "object",
"$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": "#/ParticipantSubmissionSection"
}
}
}]
},
"SubmissionSection": {
"required": [
"type",
"template"
],
"properties": {
"type": {
"type": "string",
"enum": [
"PARTICIPANT",
"TEAM"
]
},
"answers": {
"type": "array",
"items": {
"$ref": "#/FormFieldAnswer"
}
},
"template": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.json#/FormTemplate"
}
},
"discriminator": {
"propertyName": "type",
"mapping": {
"PARTICIPANT": "#/ParticipantSubmissionSection",
"TEAM": "#/TeamSubmissionSection"
} }
} }
},
"TeamSubmissionSection": {
"allOf": [
{
"type": "object"
},
{
"$ref": "#/SubmissionSection"
} }
]
},
"ParticipantSubmissionSection": {
"allOf": [{
"type": "object",
"$ref": "#/SubmissionSection"
}]
} }
} }
\ 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