Documentation
¶
Index ¶
- func GetOpenAPISpecJSON() ([]byte, error)
- type GetSomething200ResponseJSON1
- type GetSomething200ResponseJSON2
- func (t *GetSomething200ResponseJSON2) ApplyDefaults()
- func (t GetSomething200ResponseJSON2) AsGetSomething200ResponseJSONAnyOf0() (GetSomething200ResponseJSONAnyOf0, error)
- func (t GetSomething200ResponseJSON2) AsGetSomething200ResponseJSONAnyOf11() (GetSomething200ResponseJSONAnyOf11, error)
- func (t *GetSomething200ResponseJSON2) FromGetSomething200ResponseJSONAnyOf0(v GetSomething200ResponseJSONAnyOf0) error
- func (t *GetSomething200ResponseJSON2) FromGetSomething200ResponseJSONAnyOf11(v GetSomething200ResponseJSONAnyOf11) error
- func (t GetSomething200ResponseJSON2) MarshalJSON() ([]byte, error)
- func (t *GetSomething200ResponseJSON2) MergeGetSomething200ResponseJSONAnyOf0(v GetSomething200ResponseJSONAnyOf0) error
- func (t *GetSomething200ResponseJSON2) MergeGetSomething200ResponseJSONAnyOf11(v GetSomething200ResponseJSONAnyOf11) error
- func (t *GetSomething200ResponseJSON2) UnmarshalJSON(b []byte) error
- type GetSomething200ResponseJSONAnyOf0
- type GetSomething200ResponseJSONAnyOf11
- type GetSomething200ResponseJSONAnyOf12
- type GetSomethingJSONResponse
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 {
// contains filtered or unexported fields
}
func (*GetSomething200ResponseJSON2) ApplyDefaults ¶
func (t *GetSomething200ResponseJSON2) ApplyDefaults()
ApplyDefaults sets default values for fields that are nil.
func (GetSomething200ResponseJSON2) AsGetSomething200ResponseJSONAnyOf0 ¶
func (t GetSomething200ResponseJSON2) AsGetSomething200ResponseJSONAnyOf0() (GetSomething200ResponseJSONAnyOf0, error)
AsGetSomething200ResponseJSONAnyOf0 returns the union data inside the GetSomething200ResponseJSON2 as a GetSomething200ResponseJSONAnyOf0.
func (GetSomething200ResponseJSON2) AsGetSomething200ResponseJSONAnyOf11 ¶
func (t GetSomething200ResponseJSON2) AsGetSomething200ResponseJSONAnyOf11() (GetSomething200ResponseJSONAnyOf11, error)
AsGetSomething200ResponseJSONAnyOf11 returns the union data inside the GetSomething200ResponseJSON2 as a GetSomething200ResponseJSONAnyOf11.
func (*GetSomething200ResponseJSON2) FromGetSomething200ResponseJSONAnyOf0 ¶
func (t *GetSomething200ResponseJSON2) FromGetSomething200ResponseJSONAnyOf0(v GetSomething200ResponseJSONAnyOf0) error
FromGetSomething200ResponseJSONAnyOf0 overwrites any union data inside the GetSomething200ResponseJSON2 as the provided GetSomething200ResponseJSONAnyOf0.
func (*GetSomething200ResponseJSON2) FromGetSomething200ResponseJSONAnyOf11 ¶
func (t *GetSomething200ResponseJSON2) FromGetSomething200ResponseJSONAnyOf11(v GetSomething200ResponseJSONAnyOf11) error
FromGetSomething200ResponseJSONAnyOf11 overwrites any union data inside the GetSomething200ResponseJSON2 as the provided GetSomething200ResponseJSONAnyOf11.
func (GetSomething200ResponseJSON2) MarshalJSON ¶
func (t GetSomething200ResponseJSON2) MarshalJSON() ([]byte, error)
func (*GetSomething200ResponseJSON2) MergeGetSomething200ResponseJSONAnyOf0 ¶
func (t *GetSomething200ResponseJSON2) MergeGetSomething200ResponseJSONAnyOf0(v GetSomething200ResponseJSONAnyOf0) error
MergeGetSomething200ResponseJSONAnyOf0 performs a merge with any union data inside the GetSomething200ResponseJSON2, using the provided GetSomething200ResponseJSONAnyOf0.
func (*GetSomething200ResponseJSON2) MergeGetSomething200ResponseJSONAnyOf11 ¶
func (t *GetSomething200ResponseJSON2) MergeGetSomething200ResponseJSONAnyOf11(v GetSomething200ResponseJSONAnyOf11) error
MergeGetSomething200ResponseJSONAnyOf11 performs a merge with any union data inside the GetSomething200ResponseJSON2, using the provided GetSomething200ResponseJSONAnyOf11.
func (*GetSomething200ResponseJSON2) UnmarshalJSON ¶
func (t *GetSomething200ResponseJSON2) UnmarshalJSON(b []byte) error
type GetSomething200ResponseJSONAnyOf0 ¶
type GetSomething200ResponseJSONAnyOf0 struct {
Order *string `form:"order,omitempty" json:"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 `form:"error,omitempty" json:"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 `form:"code,omitempty" json:"code,omitempty"`
Message *string `form:"message,omitempty" json:"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 `form:"results" json:"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.