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 Registration ¶
type Registration struct {
State *RegistrationState `json:"state,omitempty" form:"state,omitempty"`
}
#/components/schemas/Registration
func (*Registration) ApplyDefaults ¶
func (s *Registration) ApplyDefaults()
ApplyDefaults sets default values for fields that are nil.
type RegistrationState ¶
type RegistrationState struct {
RegistrationStateOneOf0 *RegistrationStateOneOf0
RegistrationStateOneOf1 *RegistrationStateOneOf1
RegistrationStateOneOf2 *RegistrationStateOneOf2
RegistrationStateOneOf3 *RegistrationStateOneOf3
}
#/components/schemas/Registration/properties/state
func (*RegistrationState) ApplyDefaults ¶
func (u *RegistrationState) ApplyDefaults()
ApplyDefaults sets default values for fields that are nil.
func (RegistrationState) MarshalJSON ¶
func (u RegistrationState) MarshalJSON() ([]byte, error)
func (*RegistrationState) UnmarshalJSON ¶
func (u *RegistrationState) UnmarshalJSON(data []byte) error
type RegistrationStateOneOf0 ¶
type RegistrationStateOneOf0 string
#/components/schemas/Registration/properties/state/oneOf/0
const (
Undefined RegistrationStateOneOf0 = "undefined"
)
type RegistrationStateOneOf1 ¶
type RegistrationStateOneOf1 string
#/components/schemas/Registration/properties/state/oneOf/1
const (
Registered RegistrationStateOneOf1 = "registered"
)
type RegistrationStateOneOf2 ¶
type RegistrationStateOneOf2 string
#/components/schemas/Registration/properties/state/oneOf/2
const (
Pending RegistrationStateOneOf2 = "pending"
)
type RegistrationStateOneOf3 ¶
type RegistrationStateOneOf3 string
#/components/schemas/Registration/properties/state/oneOf/3
const (
Active RegistrationStateOneOf3 = "active"
)
Click to show internal directories.
Click to hide internal directories.