Skip to content

Update API specifications with fern api update - #122

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
main-2026-09-13T03-13-25-579Z
Open

github-actions[bot] wants to merge 1 commit into
mainfrom
main-2026-09-13T03-13-25-579Z

Conversation

@github-actions

@github-actions github-actions Bot commented Sep 13, 2026

Copy link
Copy Markdown

Update API specifications by running fern api update.


Note

Medium Risk
OpenAPI contract changes affect API clients and may reject previously accepted empty parentId strings; breakpoint rules are new surface area for square connection updates.

Overview
Regenerates openapi.json from Fern to document new diagram-connection routing and tighter model-object ID validation.

Diagram connections (DiagramConnection, DiagramConnectionPartial, DiagramConnectionRequired) now expose an optional breakpoints array (up to 100 {x, y} points). The spec states breakpoints apply only when lineShape is square, must form a valid orthogonal path (no diagonals, no duplicate points, alternating horizontal/vertical segments), and are rejected for other line shapes.

Model object payloads gain minLength: 1 on parentId when it is a string (still nullable for root objects), so empty-string parent IDs are no longer valid in the published API contract.

Reviewed by Cursor Bugbot for commit 464ab31. Bugbot is set up for automated code reviews on this repo. Configure here.

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.

0 participants