Skip to content

Add spec2cli#141

Open
lucianfialho wants to merge 1 commit intoyosriady:masterfrom
lucianfialho:add-spec2cli
Open

Add spec2cli#141
lucianfialho wants to merge 1 commit intoyosriady:masterfrom
lucianfialho:add-spec2cli

Conversation

@lucianfialho
Copy link
Copy Markdown

spec2cli — Turn any OpenAPI/Swagger spec into a CLI at runtime. No code generation, no build step.

Unlike Swagger Codegen and OpenAPI Generator which generate source code, spec2cli reads the spec at runtime and dynamically builds CLI commands with flags, auth, and formatted output.

npx spec2cli --spec ./api.yaml pets list --status available

Supports OpenAPI 3.x and Swagger 2.0. Published on npm: https://www.npmjs.com/package/spec2cli

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant