Skip to content

Commit

Permalink
feat: ingest/playlists updated example
Browse files Browse the repository at this point in the history
Moves example to the referenced item for better safety when updating in the future
  • Loading branch information
jesperstarkar committed Nov 15, 2023
1 parent 610d7e9 commit 478c24a
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions packages/openapi/api/definitions/ingest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ resources:
type: array
items:
$ref: '#/components/schemas/ingestPlaylistItem'
example:
- externalId: 'playlist1'
- externalId: 'playlist2'
required:
- status
- playlists
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 478c24a

Please sign in to comment.