Update API specifications with fern api update - #123
Open
github-actions[bot] wants to merge 1 commit into
Open
github-actions[bot] wants to merge 1 commit into
github-actions[bot] wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update API specifications by running fern api update.
Note
Medium Risk
OpenAPI-only, but the parentId minLength rule can reject previously accepted empty-string parent IDs, and the new breakpoints field documents server validation clients must honor for square connections.
Overview
Regenerates
openapi.jsonfrom Fern to document two API contract updates.Diagram connections now expose an optional
breakpointsarray onDiagramConnection,DiagramConnectionPartial, andDiagramConnectionRequired. Each entry is an{ x, y }waypoint (up to 100), ordered from origin to target. The spec states breakpoints apply only whenlineShapeissquare, are ignored/rejected for other shapes, and must form a valid orthogonal path (shared x or y between consecutive points, no duplicates, right-angle corners only).Model objects tighten
parentId: non-null values must haveminLength: 1, so empty strings are invalid whilenullremains allowed for root-level objects (applied across the related partial/required/full schemas in the diff).Reviewed by Cursor Bugbot for commit 9b21e6a. Bugbot is set up for automated code reviews on this repo. Configure here.