openapi-cli-generator:根据OpenAPI 3规范生成CLI

时间:2021-02-05 17:13:27
【文件属性】:
文件名称:openapi-cli-generator:根据OpenAPI 3规范生成CLI
文件大小:85KB
文件格式:ZIP
更新时间:2021-02-05 17:13:27
cli code-generator rest-api openapi rest-client OpenAPI CLI生成器 注意:此项目已被Restish取代,后者是一个高级的自动配置的OpenAPI CLI,它可以正常工作: 该项目可用于根据OpenAPI 3规范生成CLI。 生成的CLI具有以下功能: 对API密钥和身份验证支持。 通过命令,子命令和标志解析 通过配置 /etc/和$HOME JSON,YAML或TOML配置文件,例如~/.my-app/config.json {"verbose": true} 来自环境: APP_NAME_VERBOSE=1 来自标志:-- --verbose 通过HTTP中间件 具有自定义参数的命令中间件(请参见下面的自定义)
【文件预览】:
openapi-cli-generator-master
----.gitignore(42B)
----main.go(16KB)
----README.md(14KB)
----example-cli()
--------main.go(298B)
--------openapi.yaml(691B)
--------openapi.go(3KB)
----CHANGELOG.md(1KB)
----main_test.go(2KB)
----oauth()
--------request.go(2KB)
--------clientcredentials.go(3KB)
--------authcode.go(6KB)
--------refresh.go(2KB)
--------oauth.go(4KB)
----LICENSE(1KB)
----go.mod(1KB)
----test.sh(361B)
----shorthand()
--------testdata()
--------README.md(7KB)
--------shorthand.go(6KB)
--------shorthand_test.go(5KB)
--------generated.go(51KB)
--------shorthand.peg(3KB)
----cli()
--------input_test.go(1KB)
--------formatter.go(4KB)
--------cli_test.go(1KB)
--------http.go(5KB)
--------markdown.go(543B)
--------log.go(3KB)
--------cli.go(10KB)
--------credentials.go(9KB)
--------middleware_test.go(921B)
--------matcher.go(4KB)
--------matcher_test.go(4KB)
--------input.go(2KB)
--------middleware.go(2KB)
--------flags_test.go(660B)
--------flags.go(2KB)
----auth0()
--------auth0.go(2KB)
----j()
--------main.go(1KB)
----apikey()
--------apikey_test.go(1KB)
--------example_test.go(703B)
--------apikey.go(2KB)
----go.sum(11KB)
----.travis.yml(159B)
----bindata.go(18KB)
----templates()
--------main.tmpl(264B)
--------commands.tmpl(9KB)

网友评论