openapi-cli-generator
openapi-cli-generator copied to clipboard
Generate a CLI from an OpenAPI 3 specification
go get -u github.com/danielgtaylor/openapi-cli-generator go get: installing executables with 'go get' in module mode is deprecated. Use 'go install pkg@version' instead. For more information, see https://golang.org/doc/go-get-install-deprecation or run 'go help...
While running command - "go get -u github.com/danielgtaylor/openapi-cli-generator" I am getting the following errors "main.go:132:40: undefined: openapi3.Swagger" "main.go:625:12: undefined: openapi3.NewSwaggerLoader" "main.go:626:15: undefined: openapi3.Swagger". No sure what is missing, but based...
Thanks for this great tool! For the use case I'm trying, It seems non-intuitive to know all body params for a POST/PUT/PATCH. It might be better to pass the body...
Hi , I am trying to have a custom header in my spec like below : - name: 'Client-Type' in: header schema: type: string **./cli --Client-Type ** I don't want...
Hey, I am trying to pass a string with `,` symbols in it, tried several ways, but didn't succeded to escape it.. ``` ❯ j foo :~ "http://example.com/a,b,c,d", bar: baz...
I want to do a response matching without using the waiter. Is it possible ?
Hello, I can't figure out how to setup a credentials file. I'm a complete go newbie. This is my `main.go`: ```go package main import ( "github.com/danielgtaylor/openapi-cli-generator/cli" "github.com/danielgtaylor/openapi-cli-generator/apikey" ) func main()...
This PR hopes to allow the ability for consumers to add default values for parameters that will be sent up alongside the oauth2 authorizationCode request. Currently, you can add parameters...
I want to build a cli from my company's api and I'm trying to get started with the openapi-cli-generator https://github.com/danielgtaylor/openapi-cli-generator but I'm running into some different errors. I took the...
Hi, Thanks for a very useful tool! I can't seem to figure out how to create subcommands like `$ docker container rm .` If i try adding the path: /container/rm/{containerName},...