Commit 830e5b54 authored by Gabriel Macena's avatar Gabriel Macena

[API] Refatora as rotas de Templates para não usarem mais JsonPatch

parent 3c7c4ee0
...@@ -512,11 +512,9 @@ paths: ...@@ -512,11 +512,9 @@ paths:
summary: Updates the team form template summary: Updates the team form template
requestBody: requestBody:
content: content:
application/json-patch+json: application/json:
schema: schema:
type: array $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/FormTemplate'
items:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/JsonPatch'
required: true required: true
responses: responses:
'200': '200':
...@@ -543,11 +541,9 @@ paths: ...@@ -543,11 +541,9 @@ paths:
summary: Updates the participant form template summary: Updates the participant form template
requestBody: requestBody:
content: content:
application/json-patch+json: application/json:
schema: schema:
type: array $ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/FormTemplate'
items:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/JsonPatch'
required: true required: true
responses: responses:
'200': '200':
......
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