genopenapispecs

command
v1.45.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

genopenapispecs is a filter: it reads an OpenAPI document (JSON or YAML) on stdin and writes the normalized specs JSON on stdout. The specs file is the intermediate representation; this tool owns parsing the OpenAPI document deterministically, while the feature-scaffolding skills own the shape of the generated code. It captures only what those skills need - functions, webs, type definitions, the remote API base URL, and the authentication scheme. The microservice's hostname is decided when it is scaffolded, not here.

The tool never accesses the network. Fetching a document from a URL is the caller's responsibility (the importer skill has the agent do it); the tool only transforms what arrives on stdin.

Usage:

genopenapispecs [-base-url URL] < openapi.json > openapispecs.json

Jump to

Keyboard shortcuts

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