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

[API] Correções na API

parent 6a754cca
This diff is collapsed.
This diff is collapsed.
......@@ -151,3 +151,6 @@ FormAnswer:
FormSection:
$ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.yaml/#/FormSection
User:
$ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Auth.yaml/#/User
User:
required:
- username
- password
- email
properties:
username:
type: string
password:
type: string
email:
type: string
userProfile:
type: string
enum:
- SYS_ADMIN
- COMPETITION_ADMIN
- COMPETITOR
Access:
required:
- user
properties:
user:
$ref: '#/user'
resource:
$ref: '#/resource'
type:
type: string
enum:
- MASTER
- HOST
- USER
- ANONYM
Resource:
required:
- resourceId
properties:
resourceId:
type: string
type:
type: string
enum:
- COMPETITION
\ 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