Commit cbea0bb5 authored by bernardosunderhus's avatar bernardosunderhus

[API] Cria arquivo para separar API's da competição

parent 245d087f
...@@ -206,27 +206,6 @@ paths: ...@@ -206,27 +206,6 @@ paths:
items: items:
$ref: >- $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/AssessmentSubmission https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/AssessmentSubmission
examples:
Dummy Submissions:
value: |-
[
{
"answers": [
{
"choice": 0,
"freeText": "",
"question": 0
}
],
"assessment": 0,
"finishedAt": "date-time",
"lastUpdate": "date-time",
"startedAt": "date-time",
"status": 0,
"type": 0,
"uploadUri": ""
}
]
'500': '500':
$ref: >- $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError
...@@ -240,20 +219,6 @@ paths: ...@@ -240,20 +219,6 @@ paths:
schema: schema:
$ref: >- $ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/AssessmentSubmission https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/AssessmentSubmission
examples:
Dummy Submission Post:
value:
answers:
- choice: 0
freeText: null
question: 0
assessment: 0
finishedAt: date-time
lastUpdate: date-time
startedAt: date-time
status: 0
type: 0
uploadUri: null
required: true required: true
responses: responses:
'200': '200':
......
openapi: 3.0.0 openapi: 3.0.0
info: info:
title: Competition Admin API title: Competition Admin API
description: Competition Admin API description: >-
version: 0.1.0 Api of the competition administration. This API should be used by the competify
application to control the competition itself
version: 1.0.0
tags: tags:
- name: admin - name: admin
description: 'Competition admin operations' description: 'Competition admin operations'
......
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