Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetOpenAPISpecJSON ¶
GetOpenAPISpecJSON returns the raw OpenAPI spec as JSON bytes.
Types ¶
type Thing ¶
type Thing struct {
// just a name
Name string `json:"name" form:"name"`
}
#/components/schemas/Thing
func (*Thing) ApplyDefaults ¶
func (s *Thing) ApplyDefaults()
ApplyDefaults sets default values for fields that are nil.
Click to show internal directories.
Click to hide internal directories.