chore: update control openapi spec#1468
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Risk MEDIUM: Automated OpenAPI spec update from control release v0.1.1435 that adds new Asset schemas and endpoint, renames target_audience_id to target_audience_key, and updates code examples.
Reasons
- OpenAPI spec file (
data/specs/mapi/openapi.yml) is modified, which can affect API reference rendering on the docs site - New API endpoint (
/v1/assets) and schemas (Asset,PaginatedAssetResponse) are introduced, expanding the documented API surface - Field rename from
target_audience_idtotarget_audience_keyacross multiple guide-related schemas and examples is a breaking change in the spec - Code examples in multiple languages (Node.js, Python, Go) are updated to reference
guide.validinstead ofguide.target_audience_id - Only 1 file changed and the author is a trusted bot (
knock-eng-bot), which limits blast radius
Notes
- Verify the
target_audience_idtotarget_audience_keyrename is intentional and aligns with the actual API behavior in control v0.1.1435 - Confirm the code examples now printing
guide.validinstead ofguide.target_audience_idare correct — this changes what the example demonstrates - Check that the new
/v1/assetsendpoint renders correctly in the API reference documentation - The reordering of
MessageTypeTextFieldandMessageTypeNumberFieldrefs appears in three places — confirm this is intentional and not a spec generation artifact
Sent by Cursor Automation: Docs PR classifier
MikeCarbone
approved these changes
Jun 3, 2026
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.


Automated PR created from GitHub Actions workflow from knocklabs/control release (v0.1.1435).