Help us shape the future of Go! Take the 2026 Go Developer Survey

output

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOpenAPISpecJSON

func GetOpenAPISpecJSON() ([]byte, error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL