diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-01-11 21:23:31 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-01-11 21:23:31 +0100 |
commit | aaee1881495d0e5bae0e4027b48d2d62d6d5c0f1 (patch) | |
tree | 700a5857594eb8cd6018185bd2eab879934f0567 /schema.yml | |
parent | c6270546445c1c3954636a1c92d882d1b4b379bd (diff) |
do not silently ignore duplicate train entries (wip)
Diffstat (limited to 'schema.yml')
-rw-r--r-- | schema.yml | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -40,7 +40,9 @@ components: type: object description: dict mapping train numbers to train objects additionalProperties: - $ref: '#/components/schemas/train' + type: array + items: + $ref: '#/components/schemas/train' train: type: object properties: |