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:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Assessment.yaml/#/ScheduleEvent'
type:
type: string
enum:
- SOLO
- TEAM
enum:
- SOLO
- TEAM
participantTemplate:
$ref: '#/FormTemplate'
discriminator:
......@@ -173,8 +173,8 @@ TeamSubmission:
required:
- team
allOf:
- type: object
- $ref: '#/Submission'
type: object
$ref: '#/Submission'
properties:
team:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Submission.yaml/#/TeamSubmissionSection'
......@@ -188,8 +188,8 @@ SoloSubmission:
required:
- participant
allOf:
- type: object
- $ref: '#/Submission'
type: object
$ref: '#/Submission'
properties:
participant:
$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