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 TestObject ¶
type TestObject struct {
UUIDProperty *TestObjectUUIDProperty `json:"uuidProperty,omitempty" form:"uuidProperty,omitempty"`
DateProperty *TestObjectDateProperty `json:"dateProperty,omitempty" form:"dateProperty,omitempty"`
}
#/components/schemas/TestObject
func (*TestObject) ApplyDefaults ¶
func (s *TestObject) ApplyDefaults()
ApplyDefaults sets default values for fields that are nil.
type TestObjectDateProperty ¶
type TestObjectDateProperty struct {
}
#/components/schemas/TestObject/properties/dateProperty
func (*TestObjectDateProperty) ApplyDefaults ¶
func (s *TestObjectDateProperty) ApplyDefaults()
ApplyDefaults sets default values for fields that are nil.
type TestObjectUUIDProperty ¶
type TestObjectUUIDProperty struct {
}
#/components/schemas/TestObject/properties/uuidProperty
func (*TestObjectUUIDProperty) ApplyDefaults ¶
func (s *TestObjectUUIDProperty) ApplyDefaults()
ApplyDefaults sets default values for fields that are nil.
Click to show internal directories.
Click to hide internal directories.