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

[API] Criação de arquivos parameters e responses no formato json.

Correções na api adm do competition.
parent 3fd5ef47
This diff is collapsed.
{
"language": {
"name": "Accept-Language",
"in": "header",
"description": "preferred language",
"required": false,
"schema": {
"type": "string"
},
"style": "simple"
},
"competition_token": {
"name": "Competition-Token",
"in": "header",
"description": "The JWT Token that uniquely identifies this competition within the competify scope",
"required": true,
"schema": {
"type": "integer"
},
"style": "simple"
}
}
\ No newline at end of file
{
"NotFoundError": {
"description": "Resource Not Found",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer"
},
"message": {
"type": "string"
},
"completeMessage": {
"type": "string"
}
}
}
}
}
},
"InternalServerError": {
"description": "Internal Server Error",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer"
},
"message": {
"type": "string"
},
"completeMessage": {
"type": "string"
}
}
}
}
}
},
"UnprocessableEntityError": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "integer"
},
"entities": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"message": {
"type": "string"
}
}
}
}
}
}
}
}
}
}
\ No newline at end of file
......@@ -302,9 +302,7 @@
"$ref": "#/FormFieldAnswer"
}
},
"template": {
"$ref": "https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.json#/FormTemplate"
}
"template": "integer"
},
"discriminator": {
"propertyName": "type",
......
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