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 GetSomething200ResponseJSON1 ¶
type GetSomething200ResponseJSON1 = []GetSomething200ResponseJSON2
#/paths//something/get/responses/200/content/application/json/schema/properties/results
type GetSomething200ResponseJSON2 ¶
type GetSomething200ResponseJSON2 struct {
GetSomething200ResponseJSONAnyOf0 *GetSomething200ResponseJSONAnyOf0
GetSomething200ResponseJSONAnyOf11 *GetSomething200ResponseJSONAnyOf11
}
#/paths//something/get/responses/200/content/application/json/schema/properties/results/items
func (*GetSomething200ResponseJSON2) ApplyDefaults ¶
func (u *GetSomething200ResponseJSON2) ApplyDefaults()
ApplyDefaults sets default values for fields that are nil.
func (GetSomething200ResponseJSON2) MarshalJSON ¶
func (u GetSomething200ResponseJSON2) MarshalJSON() ([]byte, error)
func (*GetSomething200ResponseJSON2) UnmarshalJSON ¶
func (u *GetSomething200ResponseJSON2) UnmarshalJSON(data []byte) error
type GetSomething200ResponseJSONAnyOf0 ¶
type GetSomething200ResponseJSONAnyOf0 struct {
Order *string `json:"order,omitempty" form:"order,omitempty"`
}
#/paths//something/get/responses/200/content/application/json/schema/properties/results/items/anyOf/0
func (*GetSomething200ResponseJSONAnyOf0) ApplyDefaults ¶
func (s *GetSomething200ResponseJSONAnyOf0) ApplyDefaults()
ApplyDefaults sets default values for fields that are nil.
type GetSomething200ResponseJSONAnyOf11 ¶
type GetSomething200ResponseJSONAnyOf11 struct {
Error *GetSomething200ResponseJSONAnyOf12 `json:"error,omitempty" form:"error,omitempty"`
}
#/paths//something/get/responses/200/content/application/json/schema/properties/results/items/anyOf/1
func (*GetSomething200ResponseJSONAnyOf11) ApplyDefaults ¶
func (s *GetSomething200ResponseJSONAnyOf11) ApplyDefaults()
ApplyDefaults sets default values for fields that are nil.
type GetSomething200ResponseJSONAnyOf12 ¶
type GetSomething200ResponseJSONAnyOf12 struct {
Code *float32 `json:"code,omitempty" form:"code,omitempty"`
Message *string `json:"message,omitempty" form:"message,omitempty"`
}
#/paths//something/get/responses/200/content/application/json/schema/properties/results/items/anyOf/1/properties/error
func (*GetSomething200ResponseJSONAnyOf12) ApplyDefaults ¶
func (s *GetSomething200ResponseJSONAnyOf12) ApplyDefaults()
ApplyDefaults sets default values for fields that are nil.
type GetSomethingJSONResponse ¶
type GetSomethingJSONResponse struct {
Results []GetSomething200ResponseJSON2 `json:"results" form:"results"`
}
#/paths//something/get/responses/200/content/application/json/schema
func (*GetSomethingJSONResponse) ApplyDefaults ¶
func (s *GetSomethingJSONResponse) ApplyDefaults()
ApplyDefaults sets default values for fields that are nil.