Commit b68806a0 authored by Rosana Aurélio's avatar Rosana Aurélio

Inclusão de tag de segurança com 'competitionToken: []' para que seja aplicado a todas as rotas.

parent 5cbb5b14
...@@ -20,6 +20,8 @@ components: ...@@ -20,6 +20,8 @@ components:
type: apiKey type: apiKey
in: header in: header
name: Competition-Token name: Competition-Token
security:
- competitionToken: []
tags: tags:
- name: authentication - name: authentication
description: Operations involving the user authentication description: Operations involving the user authentication
...@@ -113,11 +115,8 @@ paths: ...@@ -113,11 +115,8 @@ paths:
application/json: application/json:
schema: schema:
type: string type: string
/competition: /competition:
get: get:
security:
- competitionToken: []
tags: tags:
- public - public
summary: Retrieves information about this competition summary: Retrieves information about this competition
...@@ -129,11 +128,8 @@ paths: ...@@ -129,11 +128,8 @@ paths:
application/json: application/json:
schema: schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Competition' $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Competition'
/subscription: /subscription:
get: get:
security:
- competitionToken: []
tags: tags:
- public - public
summary: Retrieves the subscription rule summary: Retrieves the subscription rule
...@@ -148,9 +144,7 @@ paths: ...@@ -148,9 +144,7 @@ paths:
- $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/#/SoloSubscription'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/TeamSubscription' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/TeamSubscription'
/subscription/team-template: /subscription/team-template:
get: get:
security:
- competitionToken: []
tags: tags:
- public - public
summary: Retrieves the team form template summary: Retrieves the team form template
...@@ -163,8 +157,6 @@ paths: ...@@ -163,8 +157,6 @@ paths:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/FormTemplate' $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/FormTemplate'
/subscription/participant-template: /subscription/participant-template:
get: get:
security:
- competitionToken: []
tags: tags:
- public - public
summary: Retrieves the participant form template summary: Retrieves the participant form template
...@@ -177,8 +169,6 @@ paths: ...@@ -177,8 +169,6 @@ paths:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/FormTemplate' $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/FormTemplate'
/subscription/invitations/{invitationToken}: /subscription/invitations/{invitationToken}:
get: get:
security:
- competitionToken: []
tags: tags:
- public - public
summary: Retrieves the invitations summary: Retrieves the invitations
...@@ -198,8 +188,6 @@ paths: ...@@ -198,8 +188,6 @@ paths:
$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/#/Invitations'
/subscription/submissions: /subscription/submissions:
post: post:
security:
- competitionToken: []
tags: tags:
- public - public
summary: Creates a submission for the competition summary: Creates a submission for the competition
...@@ -223,9 +211,6 @@ paths: ...@@ -223,9 +211,6 @@ paths:
oneOf: oneOf:
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/SoloSubscriptionSubmission' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/SoloSubscriptionSubmission'
- $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/TeamSubscriptionSubmission' - $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/TeamSubscriptionSubmission'
/competifier/messages: /competifier/messages:
parameters: parameters:
- $ref: >- - $ref: >-
......
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