openapi extension to the go-restful package, targeting version 2.0
The following Go field tags are translated to OpenAPI equivalentsrequired
)See TestThatExtraTagsAreReadIntoModel for examples.
Versions v1
of this package require Go module version v2
of the go-restful package. To use version v3
of the go-restful package, you need to import v2
of this package, such as:
import (
restfulspec "github.com/emicklei/go-restful-openapi/v2"
restful "github.com/emicklei/go-restful/v3"
)
© 2017-2020, ernestmicklei.com. MIT License. Contributions welcome.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4