Add A2A API round-trip support in extract/publish and all-types integration coverage#89
Draft
Copilot wants to merge 2 commits into
Draft
Add A2A API round-trip support in extract/publish and all-types integration coverage#89Copilot wants to merge 2 commits into
Copilot wants to merge 2 commits into
Conversation
Copilot
AI
changed the title
[WIP] Add support for Agent-to-Agent APIs in apiops extract and publish
Add A2A API round-trip support in extract/publish and all-types integration coverage
May 29, 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.
This PR adds first-class handling for APIM Agent-to-Agent (A2A) APIs so
apiops extract -> apiops publishcan round-trip A2A artifacts without degrading A2A-specific behavior. It also extends the all-types integration scenario to include an A2A API with JSON-RPC and agent card settings.A2A behavior in extract/publish
extractnow treatstype: a2aas a no-spec API type (same class of behavior as websocket/mcp for spec export), avoiding OpenAPI export attempts for A2A endpoints.publishnow skips spec-import field injection for A2A APIs, preserving A2A API payload semantics instead of forcing OpenAPI import paths.Client export-format mapping
a2a, preventing unnecessary export calls for API types that do not use spec artifacts.Integration round-trip expansion (all-resource-types)
src-a2a-weather-agenttosource-apim.bicepwith:type: 'a2a'agent.ida2aProperties(agent card path/backend URL)jsonRpcProperties(runtime backend/path)Unit coverage for A2A paths