openapi-cli-generator
openapi-cli-generator copied to clipboard
Generate a CLI from an OpenAPI 3 specification
Updated generator to transform lowerCamelCase operation names into idiomatic CLI kebab-case. This is useful for processing specs auto-generated from Spr**g MVC services. (I have added a test but unsure if...
Currently the location of the config and credentials file is hard-coded to certain locations - see: This would allow to use dynamically created config and credentials files to prevent race...
Hi, (Really great tool you've written, thanks) The readme.md says to call openapiRegister() from main.go, but I have to call openapiYmlRegister() instead. I don't know if this is a bug...
Instead of generating `openapi-spec.go`, make it possible for users to download a single binary and not need a Go build environment. So instead of using code generation, build in the...
I am attempting to generate a CLI for [YNAB's API](https://api.youneedabudget.com/v1#/) ([spec](https://api.youneedabudget.com/papi/spec-v1-swagger.json)) via Docker (because I _really_ do not want to setup then tear down a go env for this single...
Currently setting up auth is a manual step, but most (or all) of it can be automated as well.
Currently anything that isn't a basic type is just treated as a string. It would be good to support arrays via [`StringSlice(...)`](https://godoc.org/github.com/spf13/pflag#StringSlice) parameters and then have them encoded correctly via...
For APIs with paginated responses, the `cli` package should include utilities for handling the response and fetching subsequent pages automatically up to some limit. For example, the [GitHub API v3](https://developer.github.com/v3/#pagination)...
Add support for [parameters in cookies](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#parameterObject). Currently not supported at all.
Add support for [parameter style/explode](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#style-values) encoding options.