Commit 4d59acc9 authored by bernardosunderhus's avatar bernardosunderhus

[API] externaliza a declaraçã de esquemas da api do competify

parent b9837faa
......@@ -26,8 +26,8 @@ paths:
type: array
items:
oneOf:
- $ref: '#/components/schemas/SoloCompetifier'
- $ref: '#/components/schemas/TeamCompetifier'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/SoloCompetifier'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/TeamCompetifier'
post:
summary: Creates a new Competifier for the competition
description: Creates a new Competifier for the competition.
......@@ -36,8 +36,8 @@ paths:
application/json:
schema:
oneOf:
- $ref: '#/components/schemas/SoloCompetifier'
- $ref: '#/components/schemas/TeamCompetifier'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/SoloCompetifier'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/TeamCompetifier'
required: true
responses:
'200':
......@@ -46,8 +46,8 @@ paths:
application/json:
schema:
oneOf:
- $ref: '#/components/schemas/SoloCompetifier'
- $ref: '#/components/schemas/TeamCompetifier'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/SoloCompetifier'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/TeamCompetifier'
/exams:
get:
tags:
......@@ -62,7 +62,7 @@ paths:
schema:
type: array
items:
$ref: '#/components/schemas/Exam'
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Exam'
post:
tags:
- exams
......@@ -72,7 +72,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/Exam'
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Exam'
required: true
responses:
'200':
......@@ -80,7 +80,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/Exam'
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Exam'
/exams/{examId}:
get:
tags:
......@@ -93,7 +93,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/Exam'
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Exam'
patch:
tags:
- exams
......@@ -105,7 +105,7 @@ paths:
schema:
type: array
items:
$ref: '#/components/schemas/JsonPatch'
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/JsonPatch'
required: true
responses:
'200':
......@@ -113,7 +113,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/Exam'
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Exam'
parameters:
- name: examId
in: path
......@@ -137,8 +137,8 @@ paths:
type: array
items:
oneOf:
- $ref: '#/components/schemas/ObjectiveQuestion'
- $ref: '#/components/schemas/SubjectiveQuestion'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/ObjectiveQuestion'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/SubjectiveQuestion'
post:
tags:
- exams
......@@ -149,8 +149,8 @@ paths:
application/json:
schema:
oneOf:
- $ref: '#/components/schemas/ObjectiveQuestion'
- $ref: '#/components/schemas/SubjectiveQuestion'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/ObjectiveQuestion'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/SubjectiveQuestion'
required: true
responses:
'200':
......@@ -159,8 +159,8 @@ paths:
application/json:
schema:
oneOf:
- $ref: '#/components/schemas/ObjectiveQuestion'
- $ref: '#/components/schemas/SubjectiveQuestion'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/ObjectiveQuestion'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/SubjectiveQuestion'
parameters:
- name: examId
in: path
......@@ -182,8 +182,8 @@ paths:
application/json:
schema:
oneOf:
- $ref: '#/components/schemas/ObjectiveQuestion'
- $ref: '#/components/schemas/SubjectiveQuestion'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/ObjectiveQuestion'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/SubjectiveQuestion'
patch:
tags:
- exams
......@@ -195,7 +195,7 @@ paths:
schema:
type: array
items:
$ref: '#/components/schemas/JsonPatch'
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/JsonPatch'
required: true
responses:
'200':
......@@ -204,8 +204,8 @@ paths:
application/json:
schema:
oneOf:
- $ref: '#/components/schemas/ObjectiveQuestion'
- $ref: '#/components/schemas/SubjectiveQuestion'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/ObjectiveQuestion'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/SubjectiveQuestion'
parameters:
- name: examId
in: path
......@@ -235,7 +235,7 @@ paths:
schema:
type: array
items:
$ref: '#/components/schemas/Subscription'
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Subscription'
post:
tags:
- subscription
......@@ -246,8 +246,8 @@ paths:
application/json:
schema:
oneOf:
- $ref: '#/components/schemas/SoloSubscription'
- $ref: '#/components/schemas/TeamSubscription'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/SoloSubscription'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/TeamSubscription'
required: true
responses:
'200':
......@@ -256,8 +256,8 @@ paths:
application/json:
schema:
oneOf:
- $ref: '#/components/schemas/SoloSubscription'
- $ref: '#/components/schemas/TeamSubscription'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/SoloSubscription'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/TeamSubscription'
patch:
tags:
- subscription
......@@ -270,8 +270,8 @@ paths:
type: array
items:
oneOf:
- $ref: '#/components/schemas/SoloSubscription'
- $ref: '#/components/schemas/TeamSubscription'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/SoloSubscription'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/TeamSubscription'
required: true
responses:
'200':
......@@ -282,8 +282,8 @@ paths:
type: array
items:
oneOf:
- $ref: '#/components/schemas/SoloSubscription'
- $ref: '#/components/schemas/TeamSubscription'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/SoloSubscription'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/TeamSubscription'
'/subscription/applicants/{applicantId}':
get:
tags:
......@@ -297,8 +297,8 @@ paths:
application/json:
schema:
oneOf:
- $ref: '#/components/schemas/SoloSubscription'
- $ref: '#/components/schemas/TeamSubscription'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/SoloSubscription'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/TeamSubscription'
parameters:
- name: applicantId
in: path
......@@ -318,7 +318,7 @@ paths:
schema:
type: array
items:
$ref: '#/components/schemas/JsonPatch'
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/JsonPatch'
required: true
responses:
'200':
......@@ -327,8 +327,8 @@ paths:
application/json:
schema:
oneOf:
- $ref: '#/components/schemas/SoloSubscription'
- $ref: '#/components/schemas/TeamSubscription'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/SoloSubscription'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/TeamSubscription'
/subscription:
get:
tags:
......@@ -340,7 +340,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/SubscriptionRule'
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/SubscriptionRule'
patch:
tags:
- config
......@@ -351,7 +351,7 @@ paths:
schema:
type: array
items:
$ref: '#/components/schemas/JsonPatch'
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/JsonPatch'
required: true
responses:
'200':
......@@ -359,7 +359,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/SubscriptionRule'
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/SubscriptionRule'
/subscription/template:
get:
tags:
......@@ -373,7 +373,7 @@ paths:
schema:
type: array
items:
$ref: '#/components/schemas/FormTemplate'
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/FormTemplate'
/subscription/template/team:
get:
tags:
......@@ -385,7 +385,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/FormTemplate'
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/FormTemplate'
patch:
tags:
- config
......@@ -396,7 +396,7 @@ paths:
schema:
type: array
items:
$ref: '#/components/schemas/JsonPatch'
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/JsonPatch'
required: true
responses:
'200':
......@@ -404,7 +404,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/FormTemplate'
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/FormTemplate'
/subscription/template/participant:
get:
tags:
......@@ -416,7 +416,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/FormTemplate'
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/FormTemplate'
patch:
tags:
- config
......@@ -427,7 +427,7 @@ paths:
schema:
type: array
items:
$ref: '#/components/schemas/JsonPatch'
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/JsonPatch'
required: true
responses:
'200':
......@@ -435,7 +435,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/FormTemplate'
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/FormTemplate'
/phases:
get:
tags:
......@@ -449,7 +449,7 @@ paths:
schema:
type: array
items:
$ref: '#/components/schemas/Phase'
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Phase'
post:
tags:
- phases
......@@ -458,14 +458,14 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/Phase'
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Phase'
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/Phase'
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Phase'
patch:
tags:
- phases
......@@ -476,7 +476,7 @@ paths:
schema:
type: array
items:
$ref: '#/components/schemas/JsonPatch'
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/JsonPatch'
required: true
responses:
'200':
......@@ -484,7 +484,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/Phase'
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Phase'
'/phases/{phaseId}':
get:
tags:
......@@ -496,7 +496,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/Phase'
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Phase'
patch:
tags:
- phases
......@@ -507,7 +507,7 @@ paths:
schema:
type: array
items:
$ref: '#/components/schemas/JsonPatch'
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/JsonPatch'
required: true
responses:
'200':
......@@ -515,7 +515,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/Phase'
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Phase'
parameters:
- name: phaseId
in: path
......@@ -536,7 +536,7 @@ paths:
schema:
type: array
items:
$ref: '#/components/schemas/Rank'
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Rank'
# post:
# tags:
# - phases
......@@ -545,7 +545,7 @@ paths:
# content:
# application/json:
# schema:
# $ref: '#/components/schemas/Ranking'
# $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Ranking'
# required: true
# responses:
# '200':
......@@ -553,7 +553,7 @@ paths:
# content:
# application/json:
# schema:
# $ref: '#/components/schemas/Ranking'
# $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Ranking'
parameters:
- name: phaseId
in: path
......@@ -572,7 +572,7 @@ paths:
# content:
# application/json:
# schema:
# $ref: '#/components/schemas/Ranking'
# $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Ranking'
# patch:
# tags:
# - phases
......@@ -583,7 +583,7 @@ paths:
# schema:
# type: array
# items:
# $ref: '#/components/schemas/JsonPatch'
# $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/JsonPatch'
# required: true
# responses:
# '200':
......@@ -591,7 +591,7 @@ paths:
# content:
# application/json:
# schema:
# $ref: '#/components/schemas/Ranking'
# $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Ranking'
# parameters:
# - name: phaseId
# in: path
......@@ -618,7 +618,7 @@ paths:
schema:
type: array
items:
$ref: '#/components/schemas/PhaseParticipation'
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/PhaseParticipation'
post:
tags:
- phases
......@@ -627,7 +627,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/PhaseParticipation'
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/PhaseParticipation'
required: true
responses:
'200':
......@@ -635,7 +635,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/PhaseParticipation'
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/PhaseParticipation'
parameters:
- name: phaseId
in: path
......@@ -654,7 +654,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/PhaseParticipation'
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/PhaseParticipation'
patch:
tags:
- phases
......@@ -665,7 +665,7 @@ paths:
schema:
type: array
items:
$ref: '#/components/schemas/JsonPatch'
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/JsonPatch'
required: true
responses:
'200':
......@@ -673,7 +673,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/PhaseParticipation'
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/PhaseParticipation'
parameters:
- name: phaseId
in: path
......@@ -700,7 +700,7 @@ paths:
schema:
type: array
items:
$ref: '#/components/schemas/PhaseEvent'
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/PhaseEvent'
post:
tags:
- phases
......@@ -709,7 +709,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/PhaseEvent'
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/PhaseEvent'
required: true
responses:
'200':
......@@ -717,7 +717,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/PhaseEvent'
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/PhaseEvent'
parameters:
- name: phaseId
in: path
......@@ -736,7 +736,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/PhaseEvent'
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/PhaseEvent'
patch:
tags:
- phases
......@@ -747,7 +747,7 @@ paths:
schema:
type: array
items:
$ref: '#/components/schemas/JsonPatch'
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/JsonPatch'
required: true
responses:
'200':
......@@ -755,7 +755,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/PhaseEvent'
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/PhaseEvent'
parameters:
- name: phaseId
in: path
......@@ -783,8 +783,8 @@ paths:
type: array
items:
oneOf:
- $ref: '#/components/schemas/HandmadeAssessment'
- $ref: '#/components/schemas/VirtualAssessment'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/HandmadeAssessment'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/VirtualAssessment'
post:
tags:
- phases
......@@ -794,8 +794,8 @@ paths:
application/json:
schema:
oneOf:
- $ref: '#/components/schemas/HandmadeAssessment'
- $ref: '#/components/schemas/VirtualAssessment'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/HandmadeAssessment'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/VirtualAssessment'
required: true
responses:
'200':
......@@ -804,8 +804,8 @@ paths:
application/json:
schema:
oneOf:
- $ref: '#/components/schemas/HandmadeAssessment'
- $ref: '#/components/schemas/VirtualAssessment'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/HandmadeAssessment'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/VirtualAssessment'
parameters:
- name: phaseId
in: path
......@@ -825,8 +825,8 @@ paths:
application/json:
schema:
oneOf:
- $ref: '#/components/schemas/HandmadeAssessment'
- $ref: '#/components/schemas/VirtualAssessment'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/HandmadeAssessment'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/VirtualAssessment'
patch:
tags:
- phases
......@@ -837,7 +837,7 @@ paths:
schema:
type: array
items:
$ref: '#/components/schemas/JsonPatch'
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/JsonPatch'
required: true
responses:
'200':
......@@ -846,8 +846,8 @@ paths:
application/json:
schema:
oneOf:
- $ref: '#/components/schemas/HandmadeAssessment'
- $ref: '#/components/schemas/VirtualAssessment'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/HandmadeAssessment'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/VirtualAssessment'
parameters:
- name: phaseId
in: path
......@@ -872,7 +872,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/Question'
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Question'
parameters:
- name: phaseId
in: path
......@@ -897,7 +897,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/Question'
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Question'
parameters:
- name: phaseId
in: path
......@@ -929,8 +929,8 @@ paths:
application/json:
schema:
oneOf:
- $ref: '#/components/schemas/HandmadeAssessmentSubmission'
- $ref: '#/components/schemas/VirtualAssessmentSubmission'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/HandmadeAssessmentSubmission'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/VirtualAssessmentSubmission'
post:
tags:
- phases
......@@ -940,8 +940,8 @@ paths:
application/json-patch+json:
schema:
oneOf:
- $ref: '#/components/schemas/HandmadeAssessmentSubmission'
- $ref: '#/components/schemas/VirtualAssessmentSubmission'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/HandmadeAssessmentSubmission'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/VirtualAssessmentSubmission'
required: true
responses:
'200':
......@@ -950,8 +950,8 @@ paths:
application/json:
schema:
oneOf:
- $ref: '#/components/schemas/HandmadeAssessmentSubmission'
- $ref: '#/components/schemas/VirtualAssessmentSubmission'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/HandmadeAssessmentSubmission'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/VirtualAssessmentSubmission'
parameters:
- name: phaseId
in: path
......@@ -977,8 +977,8 @@ paths:
application/json:
schema:
oneOf:
- $ref: '#/components/schemas/HandmadeAssessmentSubmission'
- $ref: '#/components/schemas/VirtualAssessmentSubmission'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/HandmadeAssessmentSubmission'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/VirtualAssessmentSubmission'
parameters:
- name: phaseId
in: path
......@@ -1009,7 +1009,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/EvaluationRule'
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/EvaluationRule'
patch:
tags:
- phases
......@@ -1020,7 +1020,7 @@ paths:
schema:
type: array
items:
$ref: '#/components/schemas/JsonPatch'
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/JsonPatch'
required: true
responses:
'200':
......@@ -1028,7 +1028,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/EvaluationRule'
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/EvaluationRule'
parameters:
- name: phaseId
in: path
......@@ -1048,8 +1048,8 @@ paths:
application/json:
schema:
oneOf:
- $ref: '#/components/schemas/MinimumPerformance'
- $ref: '#/components/schemas/BestRanked'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/MinimumPerformance'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/BestRanked'
patch:
tags:
- phases
......@@ -1060,7 +1060,7 @@ paths:
schema:
type: array
items:
$ref: '#/components/schemas/JsonPatch'
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/JsonPatch'
required: true
responses:
'200':
......@@ -1069,8 +1069,8 @@ paths:
application/json:
schema:
oneOf:
- $ref: '#/components/schemas/MinimumPerformance'
- $ref: '#/components/schemas/BestRanked'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/MinimumPerformance'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/BestRanked'
parameters:
- name: phaseId
in: path
......@@ -1078,99 +1078,3 @@ paths:
schema:
format: int32
type: integer
components:
schemas:
ScheduledEvent:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Assessment.yaml/#/ScheduledEvent'
Assessment:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Assessment.yaml/#/Assessment'
VirtualAssessment:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Assessment.yaml/#/VirtualAssessment'
HandmadeAssessment:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Assessment.yaml/#/HandmadeAssessment'
AssessmentEvent:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Assessment.yaml/#/AssessmentEvent'
QuestionGroup:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.yaml/#/QuestionGroup'
QuestionStatement:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.yaml/#/QuestionStatement'
Question:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.yaml/#/Question'
SubjectiveQuestion:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.yaml/#/SubjectiveQuestion'
ObjectiveQuestion:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.yaml/#/ObjectiveQuestion'
ExamCover:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.yaml/#/ExamCover'
Exam:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.yaml/#/Exam'
Alternative:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.yaml/#/Alternative'
ExamQuestionComplaint:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Exam.yaml/#/ExamQuestionComplaint'
AssessmentSubmission:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Submission.yaml/#/AssessmentSubmission'
HandmadeAssessmentSubmission:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Submission.yaml/#/HandmadeAssessmentSubmission'
VirtualAssessmentSubmission:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Submission.yaml/#/VirtualAssessmentSubmission'
Answer:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Submission.yaml/#/Answer'
AssessmentSubmissionEvaluation:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Submission.yaml/#/AssessmentSubmissionEvaluation'
AnswerGrade:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Submission.yaml/#/AnswerGrade'
VirtualAssessmentSubmissionDraft:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Submission.yaml/#/VirtualAssessmentSubmissionDraft'
Competifier:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Competifier.yaml/#/Competifier'
SoloCompetifier:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Competifier.yaml/#/SoloCompetifier'
TeamCompetifier:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Competifier.yaml/#/TeamCompetifier'
CompetifierEvent:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Competifier.yaml/#/CompetifierEvent'
Tag:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Competifier.yaml/#/Tag'
Participant:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Competifier.yaml/#/Participant'
Message:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Competifier.yaml/#/Message'
JsonPatch:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/JsonPatch.yaml'
Competition:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Phase.yaml/#/Competition'
Phase:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Phase.yaml/#/Phase'
PhaseEvent:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Phase.yaml/#/PhaseEvent'
PhaseParticipation:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Phase.yaml/#/PhaseParticipation'
BestRanked:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Phase.yaml/#/BestRanked'
MinimumPerformance:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Phase.yaml/#/MinimumPerformance'
ClassificationRule:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Phase.yaml/#/ClassificationRule'
EvaluationRule:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Phase.yaml/#/EvaluationRule'
TieBreakCriteria:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Phase.yaml/#/TieBreakCriteria'
Rank:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Phase.yaml/#/Rank'
SubscriptionRule:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.yaml/#/SubscriptionRule'
Subscription:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.yaml/#/Subscription'
SoloSubscription:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.yaml/#/SoloSubscription'
TeamSubscription:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.yaml/#/TeamSubscription'
FormTemplate:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.yaml/#/FormTemplate'
FormField:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.yaml/#/FormField'
FormAnswer:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.yaml/#/FormAnswer'
FormSection:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.yaml/#/FormSection'
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