drop mislocated put definition from yaml

This commit is contained in:
2021-09-07 15:46:31 +02:00
parent 6470aa5358
commit d21a5986a8
2 changed files with 0 additions and 273 deletions

View File

@ -52,27 +52,6 @@ paths:
\$ref: '#/components/schemas/$table.name'
security:
- jwt: ['secret']
put:
tags: [ "$table.name" ]
summary: Update a ${table.name}
operationId: methods.update_${table.name}
requestBody:
description: $table.name
content:
application/json:
schema:
\$ref: '#/components/schemas/$table.name'
responses:
'200':
description: ${table.name} successfully inserted
content:
'application/json':
schema:
type: array
items:
\$ref: '#/components/schemas/$table.name'
security:
- jwt: ['secret']
/v1/${table.name}s/{${table.name}Id}:
get:
tags: [ "$table.name" ]