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 Person ¶
type Person struct {
Metadata string `json:"metadata" form:"metadata"`
Name *string `json:"name,omitempty" form:"name,omitempty"`
Age *float32 `json:"age,omitempty" form:"age,omitempty"`
}
#/components/schemas/Person
func (*Person) ApplyDefaults ¶
func (s *Person) ApplyDefaults()
ApplyDefaults sets default values for fields that are nil.
Click to show internal directories.
Click to hide internal directories.