Documentation
¶
Overview ¶
OpenAPI documentation
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDescription ¶
Utility: get the description from a HasDescription.
func GetSummary ¶
Utility: get the summary from a HasSummary.
Types ¶
type External ¶
https://spec.openapis.org/oas/v3.0.1.html#external-documentation-object
func GetExternalDocs ¶
Utility: get the description from a HasDescription.
type HasDescription ¶
type HasDescription interface {
Description() string
}
Implement this on a type to add a description.
type HasExternalDocs ¶
type HasExternalDocs interface {
Docs() External
}
Implement this on a type to add external docs.
type HasSummary ¶
type HasSummary interface {
Summary() string
}
Implement this on a type to add a summary.
Click to show internal directories.
Click to hide internal directories.