Update API specifications with fern api update#51
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes 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 d148d26. Configure here.
| }, | ||
| "description": "Expanded flow exports keyed by flow ID.", | ||
| "type": "object" | ||
| }, |
There was a problem hiding this comment.
Expand key and response property naming mismatch
Medium Severity
The new flows value in ModelObjectExpandKey doesn't match its corresponding response property flowsExpanded in ModelObjectExpanded. All other expand keys (domain, tags, technologies) map directly to identically-named properties in the response. This breaks the established naming convention and will likely confuse SDK consumers who expect flows in the response after passing flows as the expand parameter.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit d148d26. Configure here.


Update API specifications by running fern api update.
Note
Medium Risk
Medium risk because it changes public API contracts (new OAuth/session fields, pagination params/response shapes, and new Share Link update endpoint), which can affect generated SDKs and existing clients expecting old schemas or error codes.
Overview
Updates
openapi.jsonwith several contract additions/changes: introduces OAuth auditing/types (newoauth-consent-grant/oauth-consent-denyactions,OAuthScope, OAuth session fields likeclientId/landscapeId/scopes, andperformedByClientIdon actions) plus new org controls (aiModelselection andoauthLandscapeWriteEnabled).Expands multiple APIs: adds cursor pagination (
cursor/limit,nextCursor, andx-fern-pagination) toModelObjects/ModelConnectionslist endpoints, enhances diagram export and AI description generation inputs (maxWidth, filtering bymodelObjectIds), and extends Share Links (newadrs/model-viewermodes,adrIdoption, and aPATCHupdate operation distinct fromDELETE).Also tightens/adjusts schemas and responses: makes catalog technology
statusnullable to allow “private”, adds ADRcontent, disallows additional properties on import payload schemas, updates import hierarchy rules forparentId, and adds403 Forbiddenresponses across many endpoints.Reviewed by Cursor Bugbot for commit d148d26. Bugbot is set up for automated code reviews on this repo. Configure here.