Commit 5bf0610a authored by Isaac Pereira's avatar Isaac Pereira

[API] Adiciona token da competição ao schema

* Status da Invitation crado
parent 60aca262
......@@ -185,7 +185,7 @@ paths:
content:
application/json:
schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Invitations'
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Invitation'
/subscription/submissions:
post:
tags:
......
......@@ -133,6 +133,9 @@ SoloSubscriptionSubmission:
TeamSubscriptionSubmission:
$ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.yaml/#/TeamSubscriptionSubmission
Invitation:
$ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.yaml/#/Invitation
FormTemplate:
$ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.yaml/#/FormTemplate
......
......@@ -21,6 +21,8 @@ Competition:
- INACTIVE
subscription:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.yaml/#/Subscription'
token:
type: string
Phase:
required:
- label
......
......@@ -194,11 +194,17 @@ Invitation:
- submission
type: object
properties:
id:
type: integer
token:
type: string
subject:
type: string
type:
type: string
enum:
- AVAILABLE
- CONSUMED
- EXPIRED
submission:
type:
$ref: '#/SubscriptionSubmission'
$ref: '#/SubscriptionSubmission'
\ 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