Skip to content

fix(data-events): metadata accepts non-string values in Unstable base spec#592

Open
pkubicki wants to merge 1 commit into
mainfrom
fix/data-event-metadata-unstable-base-spec
Open

fix(data-events): metadata accepts non-string values in Unstable base spec#592
pkubicki wants to merge 1 commit into
mainfrom
fix/data-event-metadata-unstable-base-spec

Conversation

@pkubicki

Copy link
Copy Markdown
Contributor

Why?

The data-event metadata schema in the Unstable base spec documents values as strings only (additionalProperties: {type: string}), which does not match the API's behaviour — the Events API accepts strings, numbers, dates, links, rich links, and monetary amounts. This over-narrow schema is what drives the SDKs to generate a Record<string, string> type.

How?

Widen metadata additionalProperties to true on both data-event schemas in the Unstable (descriptions/0) base spec, matching the fix already applied in the Fern overrides.

Related:

Generated with Claude Code

… spec

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@pkubicki pkubicki marked this pull request as ready for review July 16, 2026 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant