wrap-a2a-schema

command
v0.26.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

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>

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL