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 X ¶
type X struct {
A *string `json:"a,omitempty" form:"a,omitempty"`
B *int `json:"b,omitempty" form:"b,omitempty"`
BaseField *string `json:"baseField,omitempty" form:"baseField,omitempty"`
}
#/components/schemas/X
func (*X) ApplyDefaults ¶
func (s *X) ApplyDefaults()
ApplyDefaults sets default values for fields that are nil.
Click to show internal directories.
Click to hide internal directories.