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 ComplexObject ¶
type ComplexObject struct {
Object Object `json:"Object" form:"Object"`
ID int `json:"Id" form:"Id"`
IsAdmin bool `json:"IsAdmin" form:"IsAdmin"`
}
#/components/schemas/ComplexObject
func (*ComplexObject) ApplyDefaults ¶
func (s *ComplexObject) ApplyDefaults()
ApplyDefaults sets default values for fields that are nil.
type GetEnumsParameter ¶
type GetEnumsParameter int
#/paths//enums/get/parameters/0/schema
const ( N100 GetEnumsParameter = 100 N200 GetEnumsParameter = 200 )
Click to show internal directories.
Click to hide internal directories.