feat(openapi): implement openapi toolset and integration tests (part 4)#387
Open
AmaadMartin wants to merge 2 commits into
Open
feat(openapi): implement openapi toolset and integration tests (part 4)#387AmaadMartin wants to merge 2 commits into
AmaadMartin wants to merge 2 commits into
Conversation
6930661 to
13a30b8
Compare
cab7c0f to
b45cb71
Compare
added 2 commits
June 8, 2026 18:34
This implements OpenAPIToolset and adds integration tests and fixtures. TAG=agy CONV=5d70d8ac-425c-4f8c-a969-97b17ecc66ce
…part 4) - Exported OpenAPIToolset in common.ts. - Refactored relative imports inside openapi_toolset_test.ts and openapi_toolset_integration_test.ts to import from @google/adk. TAG=agy CONV=5d70d8ac-425c-4f8c-a969-97b17ecc66ce
b45cb71 to
e67c93f
Compare
13a30b8 to
9bc3603
Compare
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.
Link to Issue or Description of Change
Problem:
To achieve parity with Python and fully automate OpenAPI integration, developers need a top-level
BaseToolsetthat instantiates all individual tool endpoints from a spec file.Solution:
Implemented
OpenAPIToolsetand integration tests (Part 4 of 4):openapi_toolset.ts: Accepts YAML/JSON specifications or raw documents, invokes the spec parser, and exposes generatedRestApiToolinstances.petstore.yaml,truanon.yaml) and full integration tests.Testing Plan
Unit Tests:
Summary of passed results:
openapi_toolset.ts: 93.58%Integration Tests:
OpenAPIToolsetsuccessfully parses real-world specs and executes operations with mocked network requests.Checklist