output

package
v0.0.0-...-71d4907 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2026 License: Apache-2.0 Imports: 7 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 AllOfWithOneOf

type AllOfWithOneOf struct {
	Base                 *string               `json:"base,omitempty" form:"base,omitempty"`
	AllOfWithOneOfAllOf1 *AllOfWithOneOfAllOf1 `json:"-"`
}

#/components/schemas/AllOfWithOneOf

func (*AllOfWithOneOf) ApplyDefaults

func (s *AllOfWithOneOf) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

func (AllOfWithOneOf) MarshalJSON

func (s AllOfWithOneOf) MarshalJSON() ([]byte, error)

func (*AllOfWithOneOf) UnmarshalJSON

func (s *AllOfWithOneOf) UnmarshalJSON(data []byte) error

type AllOfWithOneOfAllOf1

type AllOfWithOneOfAllOf1 struct {
	AllOfWithOneOfAllOf1OneOf0 *AllOfWithOneOfAllOf1OneOf0
	AllOfWithOneOfAllOf1OneOf1 *AllOfWithOneOfAllOf1OneOf1
}

#/components/schemas/AllOfWithOneOf/allOf/1

func (*AllOfWithOneOfAllOf1) ApplyDefaults

func (u *AllOfWithOneOfAllOf1) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

func (AllOfWithOneOfAllOf1) MarshalJSON

func (u AllOfWithOneOfAllOf1) MarshalJSON() ([]byte, error)

func (*AllOfWithOneOfAllOf1) UnmarshalJSON

func (u *AllOfWithOneOfAllOf1) UnmarshalJSON(data []byte) error

type AllOfWithOneOfAllOf1OneOf0

type AllOfWithOneOfAllOf1OneOf0 struct {
	OptionA *bool `json:"optionA,omitempty" form:"optionA,omitempty"`
}

#/components/schemas/AllOfWithOneOf/allOf/1/oneOf/0

func (*AllOfWithOneOfAllOf1OneOf0) ApplyDefaults

func (s *AllOfWithOneOfAllOf1OneOf0) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

type AllOfWithOneOfAllOf1OneOf1

type AllOfWithOneOfAllOf1OneOf1 struct {
	OptionB *int `json:"optionB,omitempty" form:"optionB,omitempty"`
}

#/components/schemas/AllOfWithOneOf/allOf/1/oneOf/1

func (*AllOfWithOneOfAllOf1OneOf1) ApplyDefaults

func (s *AllOfWithOneOfAllOf1OneOf1) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

type ArrayOfAnyOf

type ArrayOfAnyOf = []ArrayOfAnyOfItem

#/components/schemas/ArrayOfAnyOf

type ArrayOfAnyOfAnyOf1

type ArrayOfAnyOfAnyOf1 struct {
	ID *int `json:"id,omitempty" form:"id,omitempty"`
}

#/components/schemas/ArrayOfAnyOf/items/anyOf/1

func (*ArrayOfAnyOfAnyOf1) ApplyDefaults

func (s *ArrayOfAnyOfAnyOf1) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

type ArrayOfAnyOfItem

type ArrayOfAnyOfItem struct {
	String0            *string
	ArrayOfAnyOfAnyOf1 *ArrayOfAnyOfAnyOf1
}

#/components/schemas/ArrayOfAnyOf/items

func (*ArrayOfAnyOfItem) ApplyDefaults

func (u *ArrayOfAnyOfItem) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

func (ArrayOfAnyOfItem) MarshalJSON

func (u ArrayOfAnyOfItem) MarshalJSON() ([]byte, error)

func (*ArrayOfAnyOfItem) UnmarshalJSON

func (u *ArrayOfAnyOfItem) UnmarshalJSON(data []byte) error

type ObjectWithAnyOfProperty

type ObjectWithAnyOfProperty struct {
	Value *ObjectWithAnyOfPropertyValue `json:"value,omitempty" form:"value,omitempty"`
}

#/components/schemas/ObjectWithAnyOfProperty

func (*ObjectWithAnyOfProperty) ApplyDefaults

func (s *ObjectWithAnyOfProperty) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

type ObjectWithAnyOfPropertyValue

type ObjectWithAnyOfPropertyValue struct {
	String0 *string
	Int1    *int
}

#/components/schemas/ObjectWithAnyOfProperty/properties/value

func (*ObjectWithAnyOfPropertyValue) ApplyDefaults

func (u *ObjectWithAnyOfPropertyValue) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

func (ObjectWithAnyOfPropertyValue) MarshalJSON

func (u ObjectWithAnyOfPropertyValue) MarshalJSON() ([]byte, error)

func (*ObjectWithAnyOfPropertyValue) UnmarshalJSON

func (u *ObjectWithAnyOfPropertyValue) UnmarshalJSON(data []byte) error

type ObjectWithOneOfProperty

type ObjectWithOneOfProperty struct {
	Variant *ObjectWithOneOfPropertyVariant `json:"variant,omitempty" form:"variant,omitempty"`
}

#/components/schemas/ObjectWithOneOfProperty

func (*ObjectWithOneOfProperty) ApplyDefaults

func (s *ObjectWithOneOfProperty) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

type ObjectWithOneOfPropertyVariant

type ObjectWithOneOfPropertyVariant struct {
	ObjectWithOneOfPropertyVariantOneOf0 *ObjectWithOneOfPropertyVariantOneOf0
	ObjectWithOneOfPropertyVariantOneOf1 *ObjectWithOneOfPropertyVariantOneOf1
}

#/components/schemas/ObjectWithOneOfProperty/properties/variant

func (*ObjectWithOneOfPropertyVariant) ApplyDefaults

func (u *ObjectWithOneOfPropertyVariant) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

func (ObjectWithOneOfPropertyVariant) MarshalJSON

func (u ObjectWithOneOfPropertyVariant) MarshalJSON() ([]byte, error)

func (*ObjectWithOneOfPropertyVariant) UnmarshalJSON

func (u *ObjectWithOneOfPropertyVariant) UnmarshalJSON(data []byte) error

type ObjectWithOneOfPropertyVariantOneOf0

type ObjectWithOneOfPropertyVariantOneOf0 struct {
	Kind *string `json:"kind,omitempty" form:"kind,omitempty"`
	Name *string `json:"name,omitempty" form:"name,omitempty"`
}

#/components/schemas/ObjectWithOneOfProperty/properties/variant/oneOf/0

func (*ObjectWithOneOfPropertyVariantOneOf0) ApplyDefaults

func (s *ObjectWithOneOfPropertyVariantOneOf0) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

type ObjectWithOneOfPropertyVariantOneOf1

type ObjectWithOneOfPropertyVariantOneOf1 struct {
	Kind  *string `json:"kind,omitempty" form:"kind,omitempty"`
	Count *int    `json:"count,omitempty" form:"count,omitempty"`
}

#/components/schemas/ObjectWithOneOfProperty/properties/variant/oneOf/1

func (*ObjectWithOneOfPropertyVariantOneOf1) ApplyDefaults

func (s *ObjectWithOneOfPropertyVariantOneOf1) 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