Skip to content

Commit 35003d4

Browse files
pkubickiclaude
andcommitted
fix(dataEvents): widen event metadata typing in stable spec too
Apply the same additionalProperties: true widening to the stable (2.14) override so stable-namespace data event types are also generated as an unconstrained map, not Record<string, string>. Co-Authored-By: Claude <noreply@anthropic.com>
1 parent a002c71 commit 35003d4

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

fern/openapi-overrides.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1418,8 +1418,7 @@ components:
14181418
metadata:
14191419
type: object
14201420
description: Optional metadata about the event.
1421-
additionalProperties:
1422-
type: string
1421+
additionalProperties: true
14231422
example:
14241423
invite_code: ADDAFRIEND
14251424
required:
@@ -1451,8 +1450,7 @@ components:
14511450
metadata:
14521451
type: object
14531452
description: Optional metadata about the event.
1454-
additionalProperties:
1455-
type: string
1453+
additionalProperties: true
14561454
example:
14571455
invite_code: ADDAFRIEND
14581456
required:
@@ -1486,8 +1484,7 @@ components:
14861484
metadata:
14871485
type: object
14881486
description: Optional metadata about the event.
1489-
additionalProperties:
1490-
type: string
1487+
additionalProperties: true
14911488
example:
14921489
invite_code: ADDAFRIEND
14931490
required:
@@ -1886,6 +1883,9 @@ components:
18861883
- collection
18871884
- section
18881885
data_event:
1886+
properties:
1887+
metadata:
1888+
additionalProperties: true
18891889
required:
18901890
- type
18911891
- event_name

0 commit comments

Comments
 (0)