proxy.golang.org : codechina.csdn.net/mirrors/go-swagger/go-swagger : v0.20.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:
- cloud.google.com/go v0.44.3
- github.com/OneOfOne/xxhash v1.2.5
- github.com/corbym/gocrest v1.0.3
- github.com/coreos/bbolt v1.3.3
- github.com/coreos/etcd v3.3.15+incompatible
- github.com/coreos/go-oidc v2.1.0+incompatible
- github.com/coreos/go-semver v0.3.0
- github.com/coreos/go-systemd v0.0.0-20190719114852-fd7a80b32e1f
- github.com/davecgh/go-spew v1.1.1
- github.com/dgrijalva/jwt-go v3.2.0+incompatible
- github.com/dgryski/go-sip13 v0.0.0-20190329191031-25c5027a8c7b
- github.com/go-kit/kit v0.9.0
- github.com/go-openapi/analysis v0.19.4
- github.com/go-openapi/errors v0.19.2
- github.com/go-openapi/inflect v0.19.0
- github.com/go-openapi/loads v0.19.2
- github.com/go-openapi/runtime v0.19.4
- github.com/go-openapi/spec v0.19.2
- github.com/go-openapi/strfmt v0.19.2
- github.com/go-openapi/swag v0.19.5
- github.com/go-openapi/validate v0.19.2
- github.com/go-swagger/scan-repo-boundary v0.0.0-20180623220736-973b3573c013
- github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6
- github.com/google/go-cmp v0.3.1
- github.com/google/pprof v0.0.0-20190723021845-34ac40c74b70
- github.com/gorilla/handlers v1.4.2
- github.com/grpc-ecosystem/grpc-gateway v1.9.6
- github.com/hashicorp/golang-lru v0.5.3
- github.com/jessevdk/go-flags v1.4.0
- github.com/kisielk/errcheck v1.2.0
- github.com/konsorten/go-windows-terminal-sequences v1.0.2
- github.com/kr/pretty v0.1.0
- github.com/kr/pty v1.1.8
- github.com/magiconair/properties v1.8.1
- github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e
- github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f
- github.com/pelletier/go-toml v1.4.0
- github.com/pkg/errors v0.8.1
- github.com/pquerna/cachecontrol v0.0.0-20180517163645-1555304b9b35
- github.com/prometheus/client_golang v1.1.0
- github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4
- github.com/prometheus/tsdb v0.10.0
- github.com/rogpeppe/fastuuid v1.2.0
- github.com/sirupsen/logrus v1.4.2
- github.com/spaolacci/murmur3 v1.1.0
- github.com/spf13/afero v1.2.2
- github.com/spf13/jwalterweatherman v1.1.0
- github.com/spf13/pflag v1.0.3
- github.com/spf13/viper v1.4.0
- github.com/stretchr/testify v1.4.0
- github.com/toqueteos/webbrowser v1.2.0
- github.com/ugorji/go v1.1.7
- go.etcd.io/bbolt v1.3.3
- go.mongodb.org/mongo-driver v1.1.0
- golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4
- golang.org/x/mobile v0.0.0-20190814143026-e8b3e6111d02
- golang.org/x/net v0.0.0-20190813141303-74dc4d7220e7
- golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45
- golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a
- golang.org/x/tools v0.0.0-20190820033707-85edb9ef3283
- google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55
- google.golang.org/grpc v1.23.0
- gopkg.in/square/go-jose.v2 v2.3.1
- gopkg.in/yaml.v2 v2.2.2
- honnef.co/go/tools v0.0.1-2019.2.2