Repository navigation
refactor(api): generate public contracts from official OpenAPI - #490
Merged
Merged
Conversation
This comment has been minimized.
This comment has been minimized.
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.
Public types and OpenAPI were maintained from handwritten Go DTOs, allowing them to drift from the pinned OpenAI Agents API. Generate the standard fields and public OpenAPI 3.1 contract from the official source; keep Core's independently authored
x_agents_coreextensions. Internal API documents continue to come from route annotations.openai/openai-openapiat046a2a0f325bf11f97966f2729219f27281ba71e, published immediately before the existing Python SDK 3.13.0 baseline (d7c41ef). Vendor the unchanged source, checksum and license. The selected API surface retains the same 58 operations.Validation: generator freshness and 9 regression tests; 5 response-schema tests, including compiled Go union output checked against the untouched official schema; Core API, public contract and item-projection Go tests; storage rejection tests against a dedicated PostgreSQL instance; documentation and translation checks; fresh independent review. The Linux official-client workflow passed for both the standalone service and Core image at 9098e14. The final stored-search encoding correction passed focused regression tests, Core API tests and a new independent review at fdeaa01; the refreshed CI run is still running. Claude execution is left to GitHub CI because it is unavailable on the development machine.