Skip to content

fix(api): align currentStep end-state types with the specification - #93

Open
Richardpwe wants to merge 1 commit into
ebu:mainfrom
Streamshapers:fix-current-step-end-state
Open

Richardpwe wants to merge 1 commit into
ebu:mainfrom
Streamshapers:fix-current-step-end-state

Conversation

@Richardpwe

Copy link
Copy Markdown
Collaborator

Aligns currentStep with the existing Graphics specification: when stepCount is zero or the graphic transitions to the end, playAction() returns currentStep: undefined.

The TypeScript return type now permits undefined, and the Server API response makes currentStep optional because JSON serialization omits undefined properties. Updates the corresponding generated types and Swagger documentation.

@Richardpwe
Richardpwe marked this pull request as ready for review September 17, 2026 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants