proxy.golang.org : codechina.csdn.net/mirrors/go-swagger/go-swagger : v0.26.1
Package swagger (2.0) provides a powerful interface to your API Contains an implementation of Swagger 2.0. It knows how to serialize, deserialize and validate swagger specifications. Swagger is a simple yet powerful representation of your RESTful API. With the largest ecosystem of API tooling on the planet, thousands of developers are supporting Swagger in almost every modern programming language and deployment environment. With a Swagger-enabled API, you get interactive documentation, client SDK generation and discoverability. We created Swagger to help fulfill the promise of APIs. Swagger helps companies like Apigee, Getty Images, Intuit, LivingSocial, McKesson, Microsoft, Morningstar, and PayPal build the best possible services with RESTful APIs.Now in version 2.0, Swagger is more enabling than ever. And it's 100% open source software. More detailed documentation is available at https://goswagger.io. Install: The implementation also provides a number of command line tools to help working with swagger. Currently there is a spec validator tool: To generate a server for a swagger spec document: To generate a client for a swagger spec document: To generate a swagger spec document for a go application: There are several other sub commands available for the generate command You're free to add files to the directories the generated code lands in, but the files generated by the generator itself will be regenerated on following generation runs so any changes to those files will be lost. However extra files you create won't be lost so they are safe to use for customizing the application to your needs. To generate a server for a swagger spec document:
Registry -
Documentation -
Download -
JSON
purl: pkg:golang/codechina.csdn.net/mirrors/go-swagger/[email protected]
Published:
Indexed:
- github.com/coreos/go-oidc v2.2.1+incompatible
- github.com/davecgh/go-spew v1.1.1
- github.com/dgrijalva/jwt-go v3.2.0+incompatible
- github.com/fsnotify/fsnotify v1.4.9
- github.com/go-openapi/analysis v0.19.16
- github.com/go-openapi/errors v0.19.9
- github.com/go-openapi/inflect v0.19.0
- github.com/go-openapi/loads v0.20.1
- github.com/go-openapi/runtime v0.19.26
- github.com/go-openapi/spec v0.20.2
- github.com/go-openapi/strfmt v0.20.0
- github.com/go-openapi/swag v0.19.13
- github.com/go-openapi/validate v0.20.1
- github.com/go-swagger/scan-repo-boundary v0.0.0-20180623220736-973b3573c013
- github.com/golang/protobuf v1.4.3
- github.com/gorilla/handlers v1.5.1
- github.com/jessevdk/go-flags v1.4.0
- github.com/kr/pretty v0.2.1
- github.com/magiconair/properties v1.8.4
- github.com/mitchellh/mapstructure v1.4.1
- github.com/pelletier/go-toml v1.8.1
- github.com/pkg/errors v0.9.1
- github.com/pquerna/cachecontrol v0.0.0-20200921180117-858c6e7e6b7e
- github.com/spf13/afero v1.4.1
- github.com/spf13/cast v1.3.1
- github.com/spf13/jwalterweatherman v1.1.0
- github.com/spf13/pflag v1.0.5
- github.com/spf13/viper v1.7.1
- github.com/stretchr/testify v1.6.1
- github.com/toqueteos/webbrowser v1.2.0
- golang.org/x/crypto v0.0.0-20201124201722-c8d3bf9c5392
- golang.org/x/net v0.0.0-20210119194325-5f4716e94777
- golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58
- golang.org/x/sys v0.0.0-20201126233918-771906719818
- golang.org/x/tools v0.0.0-20201125231158-b5590deeca9b
- google.golang.org/appengine v1.6.7
- gopkg.in/ini.v1 v1.62.0
- gopkg.in/square/go-jose.v2 v2.5.1
- gopkg.in/yaml.v2 v2.4.0