From 478c24a31fadb43f664223ddaf9f416c6e4f1153 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jesper=20St=C3=A6rk=C3=A6r?= Date: Wed, 15 Nov 2023 16:30:59 +0100 Subject: [PATCH] feat: ingest/playlists updated example Moves example to the referenced item for better safety when updating in the future --- packages/openapi/api/definitions/ingest.yaml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/packages/openapi/api/definitions/ingest.yaml b/packages/openapi/api/definitions/ingest.yaml index d0d463e71a..c4ec0eabfb 100644 --- a/packages/openapi/api/definitions/ingest.yaml +++ b/packages/openapi/api/definitions/ingest.yaml @@ -23,9 +23,6 @@ resources: type: array items: $ref: '#/components/schemas/ingestPlaylistItem' - example: - - externalId: 'playlist1' - - externalId: 'playlist2' required: - status - playlists @@ -1189,6 +1186,16 @@ components: - playlistId - rundowns additionalProperties: false + example: + - playlistId: 'playlist1' + rundowns: + - externalId: 'playlist1Rundown1' + - externalId: 'playlist1Rundown2' + - playlistId: 'playlist2' + rundowns: + - externalId: 'playlist2Rundown1' + - externalId: 'playlist2Rundown2' + - externalId: 'playlist2Rundown3' ingestRundownItem: type: object properties: