Commit 84d00870 authored by Rosana Aurélio's avatar Rosana Aurélio

[COMPETITION] Correção no schema do subscription.

parent 538911b3
This diff is collapsed.
...@@ -119,9 +119,9 @@ Subscription: ...@@ -119,9 +119,9 @@ Subscription:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Assessment.yaml/#/ScheduleEvent' $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Assessment.yaml/#/ScheduleEvent'
type: type:
type: string type: string
enum: enum:
- SOLO - SOLO
- TEAM - TEAM
participantTemplate: participantTemplate:
$ref: '#/FormTemplate' $ref: '#/FormTemplate'
discriminator: discriminator:
...@@ -173,8 +173,8 @@ TeamSubmission: ...@@ -173,8 +173,8 @@ TeamSubmission:
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: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Submission.yaml/#/TeamSubmissionSection'
...@@ -188,8 +188,8 @@ SoloSubmission: ...@@ -188,8 +188,8 @@ 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: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Submission.yaml/#/ParticipantSubmissionSection'
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