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