openapi extension to the go-restful package, targeting version 2.0
- description
- minimum
- maximum
- optional ( if set to "true" then it is not listed in
required
) - unique
- modelDescription
- type (overrides the Go type String())
- enum
See TestThatExtraTagsAreReadIntoModel for examples.
© 2017, ernestmicklei.com. MIT License. Contributions welcome.