generate endpoint for all foreign key relationships

This commit is contained in:
2021-09-08 12:33:26 +02:00
parent 1335f0f059
commit bb2aaa1e84
6 changed files with 551 additions and 58 deletions

View File

@ -3,27 +3,3 @@
# Use plain openapi/yaml syntax, no Cheetah
# escaping
# -------------------------------------------------------------------
/v1/overhead_advance_flat_mappings/flat/{flatId}:
get:
tags: [ "overhead_advance_flat_mapping", "flat" ]
summary: Returns all overhead advance mappings for a given flat
operationId: additional_methods.get_overhead_advance_flat_mapping_by_flat
parameters:
- name: flatId
in: path
required: true
schema:
type: integer
responses:
'200':
description: $table.name response
content:
'application/json':
schema:
type: array
items:
$ref: '#/components/schemas/overhead_advance_flat_mapping'
security:
- jwt: ['secret']