Skip to content

Commit 7c0d460

Browse files
committed
chore: clean up generated documentation page
1 parent 3f84e9a commit 7c0d460

File tree

12 files changed

+26
-27
lines changed

12 files changed

+26
-27
lines changed

packages/live-status-gateway-api/api/refactor/components/subscriptions/subscriptionRequestDetails/subscriptionRequestDetails.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ $defs:
33
type: object
44
title: SubscriptionRequestDetails
55
properties:
6-
$ref: '../subscriptionDetails/subscriptionDetails.yaml#/$defs/subscriptionDetails/properties'
6+
name:
7+
$ref: '../subscriptionDetails/subscriptionDetails.yaml#/$defs/subscriptionDetails/properties/name'
78
required: [name]
89
additionalProperties: false
910
examples:

packages/live-status-gateway-api/api/refactor/index.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ info:
1010
contact:
1111
name: Sofie TV Automation
1212
url: https://github.com/Sofie-Automation/sofie-core/issues
13-
# TODO: Remove example email
14-
email: example@example.com
1513

1614
servers:
1715
development:
@@ -50,10 +48,11 @@ channels:
5048
buckets:
5149
$ref: './topics/buckets/bucketsTopic.yaml'
5250

53-
# Needed to retain the types from the old schema structure. Eventually this should be removed.
51+
# Needed to retain the Slash type from the old schema structure. Eventually this should be removed.
5452
/:
5553
subscribe:
56-
description: Messages that are received from the API
54+
summary: Slash Messages
55+
description: Messages that are received from the API - This channel is needed to retain the generated Slash type from the old schema structure. Eventually this should be removed.
5756
operationId: sendRootMessage
5857
message:
5958
oneOf:

packages/live-status-gateway-api/api/refactor/topics/activePieces/activePiecesTopic.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ description: Topic for active pieces updates
22

33
subscribe:
44
operationId: receiveActivePieces
5-
summary: Server sends active pieces events
5+
description: Server sends active pieces events
66
message:
77
oneOf:
88
- $ref: '../../components/piece/messages/activePiecesMessage.yaml#/components/messages/activePiecesMessage'

packages/live-status-gateway-api/api/refactor/topics/activePlaylist/activePlaylistTopic.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ description: Topic for active playlist updates
22

33
subscribe:
44
operationId: receiveActivePlaylist
5-
summary: Server sends active playlist events
5+
description: Server sends active playlist events
66
message:
77
oneOf:
88
- $ref: '../../components/playlist/messages/activePlaylistMessage.yaml#/components/messages/activePlaylistMessage'
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
description: Topic for AdLibs updates
22

33
subscribe:
4-
operationId: publishAdLibs
5-
summary: Server publishes AdLibs updates
4+
operationId: receiveAdLibs
5+
description: Server publishes AdLibs updates
66
message:
77
oneOf:
88
- $ref: '../../components/adLibs/messages/adLibsMessage.yaml#/components/messages/adLibsMessage'

packages/live-status-gateway-api/api/refactor/topics/buckets/bucketsTopic.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ description: Buckets schema for websocket subscriptions
22

33
subscribe:
44
operationId: receiveBucketsUpdate
5-
summary: Server publishes Buckets updates
5+
description: Server publishes Buckets updates
66
message:
77
oneOf:
88
- $ref: '../../components/buckets/messages/bucketsMessage.yaml#/components/messages/bucketsMessage'
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
description: Topic for server heartbeat messages
22
subscribe:
33
operationId: receiveHeartbeat
4+
description: Server sends heartbeat messages when no other communication is happening.
45
message:
56
oneOf:
67
- $ref: '../../components/connection/messages/heartbeatMessage.yaml#/components/messages/heartbeatMessage'
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
description: Packages topic for websocket subscriptions. Packages are assets that need to be prepared by Sofie Package Manager or third-party systems to make AdLibs and Pieces playable.
22
subscribe:
33
operationId: receivePackagesUpdate
4+
description: Server sends packages updates
45
message:
56
oneOf:
67
- $ref: '../../components/packages/messages/packagesMessage.yaml#/components/messages/packagesMessage'

packages/live-status-gateway-api/api/refactor/topics/segments/segmentsTopic.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ description: Topic for Segment updates
22

33
subscribe:
44
operationId: receiveSegments
5-
summary: Server publishes Segment updates
5+
description: Server publishes Segment updates
66
message:
77
$ref: '../../components/segment/messages/segmentsMessage.yaml#/components/messages/segmentsMessage'
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
description: Studio topic for websocket subscriptions
22
subscribe:
33
operationId: receiveStudioUpdate
4+
description: Server sends studio status updates
45
message:
56
oneOf:
67
- $ref: '../../components/studio/messages/studioUpdate.yaml#/components/messages/studioUpdate'

0 commit comments

Comments
 (0)