Update API specifications with fern api update#90
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit a329725. Configure here.
| } | ||
| ] | ||
| }, | ||
| "SocketMessages": { |
There was a problem hiding this comment.
Diagram socket events missing aggregate
Medium Severity
This commit adds SocketDiagramContentClientEvents and SocketDiagramContentServerEvents (e.g. diagram-content-subscribe, diagram-content-broadcast), but SocketClientEvents and SocketServerEvents still only allOf the existing event bundles. Those new diagram-content events are therefore absent from the documented socket event unions integrators use.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit a329725. Configure here.


Update API specifications by running fern api update.
Note
Medium Risk
Breaking webhook event type string format can break existing integrations; new socket and webhook shapes are contract changes clients must adopt.
Overview
Refreshes
openapi.jsonfromfern api update, mainly extending real-time and webhook contracts and tightening a few organization field definitions.Webhook events now use
collection:operationstrings (e.g.model-connection:created) instead ofcollection.operation, which is a breaking change for anything matching the oldWebhookEventTypevalues. The spec also addsWebhookEvent,WebhookEventCollection, andWebhookEventOperationso payloads can be described in structured form, not only via the combined enum.Diagram collaboration over sockets is newly documented: clients can subscribe/unsubscribe to diagram content by
landscapeId,versionId, anddiagramId, and the server can broadcast updates carryingDiagramContentplus aDocumentBroadcastType(added,initial,modified,removed). RelatedSocketMessages/SocketMessageTypeentries wire these into the socket schema bundle.Smaller additions include
DiagramContentNullable, sharedQueryBroadcastType, and removal of OpenAPIdefault: trueon organizationaiFeaturesEnabledandoauthLandscapeWriteEnabled(behavior defaults may now live outside the published schema).Reviewed by Cursor Bugbot for commit a329725. Bugbot is set up for automated code reviews on this repo. Configure here.