mirror of
https://github.com/kubevirt/containerized-data-importer.git
synced 2025-06-03 06:30:22 +00:00
|
||
---|---|---|
.. | ||
.gitignore | ||
.travis.yml | ||
build_definitions.go | ||
build_path.go | ||
CHANGES.md | ||
config.go | ||
definition_builder.go | ||
go.mod | ||
go.sum | ||
LICENSE | ||
lookup.go | ||
property_ext.go | ||
README.md | ||
spec_resource.go |
go-restful-openapi
openapi extension to the go-restful package, targeting version 2.0
The following Go field tags are translated to OpenAPI equivalents
- description
- minimum
- maximum
- optional ( if set to "true" then it is not listed in
required
) - unique
- modelDescription
- type (overrides the Go type String())
- enum
- readOnly
See TestThatExtraTagsAreReadIntoModel for examples.
dependencies
© 2017, ernestmicklei.com. MIT License. Contributions welcome.