Documentation
¶
Overview ¶
Command wrap-a2a-schema turns the raw A2A JSON Schema (draft-07, top-level `definitions`) into a minimal OpenAPI 3.1 document that oapi-codegen can consume: `definitions` becomes `components.schemas` and every `#/definitions/...` ref is rewritten to `#/components/schemas/...`. It is a deterministic transform with no new dependency (gopkg.in/yaml.v3 is already a direct module dependency).
Usage: wrap-a2a-schema <input schema.yaml> <output openapi.yaml>
Click to show internal directories.
Click to hide internal directories.