chore(api): Refresh the bundled OpenAPI reference - #66
Conversation
Castiron-Internal-PR: openai/openai-cli-internal#24 Castiron-Source-SHA: 3038c56140131b16cb288f44883f7ec3efe0e51c Castiron-Public-Base-SHA: 68e3e70
There was a problem hiding this comment.
Pull request overview
This PR refreshes the bundled, transformed OpenAPI reference used by the CLI repo, updating the documented schema for additional streaming events (shell-call), image partial metadata fields, stored chat-completion metadata, and an added audit-log event type. Per the PR description, CLI runtime/source behavior is unchanged.
Changes:
- Updated
openapi.transformed.ymlto include new/expanded schemas and event variants (including Beta and WS variants) and additional metadata fields. - Updated Castiron generation metadata/hashes in
.castiron.stats.yml.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| api_reference/openapi.transformed.yml | Refreshes the transformed OpenAPI schema with new event types and additional schema properties referenced by the API docs. |
| .castiron.stats.yml | Updates the generation/hashes metadata to reflect the refreshed OpenAPI transform/codegen inputs. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
HAYDEN-OAI
left a comment
There was a problem hiding this comment.
Reviewed the refreshed bundled OpenAPI reference against the CLI and its pinned Go SDK. Stable/beta SSE and WebSocket unions cover all shell-command and shell-output events; end-to-end SDK streaming preserves object-valued output deltas. Schema references, backend field contracts, image/chat metadata, and the Castiron spec hash are consistent. No substantive correctness, compatibility, or security issues found.
Summary
Refresh the bundled OpenAPI reference for shell-call streaming events, image partial metadata, stored chat-completion metadata, and an audit-log event. CLI source and runtime behavior are unchanged.
Changes