output

package
v0.0.0-...-bb4e2af Latest Latest
Warning

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

Go to latest
Published: Feb 14, 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 DefaultAdditional1

type DefaultAdditional1 struct {
	Field1 *int    `json:"field1,omitempty" form:"field1,omitempty"`
	Field2 *string `json:"field2,omitempty" form:"field2,omitempty"`
}

#/components/schemas/DefaultAdditional1

func (*DefaultAdditional1) ApplyDefaults

func (s *DefaultAdditional1) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

type DefaultAdditional2

type DefaultAdditional2 struct {
	FieldA *int    `json:"fieldA,omitempty" form:"fieldA,omitempty"`
	FieldB *string `json:"fieldB,omitempty" form:"fieldB,omitempty"`
}

#/components/schemas/DefaultAdditional2

func (*DefaultAdditional2) ApplyDefaults

func (s *DefaultAdditional2) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

type MergeDefaultDefault

type MergeDefaultDefault struct {
	Field1 *int    `json:"field1,omitempty" form:"field1,omitempty"`
	Field2 *string `json:"field2,omitempty" form:"field2,omitempty"`
	FieldA *int    `json:"fieldA,omitempty" form:"fieldA,omitempty"`
	FieldB *string `json:"fieldB,omitempty" form:"fieldB,omitempty"`
}

#/components/schemas/MergeDefaultDefault

func (*MergeDefaultDefault) ApplyDefaults

func (s *MergeDefaultDefault) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

type MergeDefaultWithAny

type MergeDefaultWithAny struct {
	Field1 *int    `json:"field1,omitempty" form:"field1,omitempty"`
	Field2 *string `json:"field2,omitempty" form:"field2,omitempty"`
	FieldA *int    `json:"fieldA,omitempty" form:"fieldA,omitempty"`
	FieldB *string `json:"fieldB,omitempty" form:"fieldB,omitempty"`
}

#/components/schemas/MergeDefaultWithAny

func (*MergeDefaultWithAny) ApplyDefaults

func (s *MergeDefaultWithAny) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

type MergeDefaultWithString

type MergeDefaultWithString struct {
	Field1 *int    `json:"field1,omitempty" form:"field1,omitempty"`
	Field2 *string `json:"field2,omitempty" form:"field2,omitempty"`
	FieldA *int    `json:"fieldA,omitempty" form:"fieldA,omitempty"`
	FieldB *string `json:"fieldB,omitempty" form:"fieldB,omitempty"`
}

#/components/schemas/MergeDefaultWithString

func (*MergeDefaultWithString) ApplyDefaults

func (s *MergeDefaultWithString) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

type MergeDefaultWithout

type MergeDefaultWithout struct {
	Field1 *int    `json:"field1,omitempty" form:"field1,omitempty"`
	Field2 *string `json:"field2,omitempty" form:"field2,omitempty"`
	FieldA *int    `json:"fieldA,omitempty" form:"fieldA,omitempty"`
	FieldB *string `json:"fieldB,omitempty" form:"fieldB,omitempty"`
}

#/components/schemas/MergeDefaultWithout

func (*MergeDefaultWithout) ApplyDefaults

func (s *MergeDefaultWithout) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

type MergeWithAnyDefault

type MergeWithAnyDefault struct {
	Field1 *int    `json:"field1,omitempty" form:"field1,omitempty"`
	Field2 *string `json:"field2,omitempty" form:"field2,omitempty"`
	FieldA *int    `json:"fieldA,omitempty" form:"fieldA,omitempty"`
	FieldB *string `json:"fieldB,omitempty" form:"fieldB,omitempty"`
}

#/components/schemas/MergeWithAnyDefault

func (*MergeWithAnyDefault) ApplyDefaults

func (s *MergeWithAnyDefault) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

type MergeWithAnyWithAny

type MergeWithAnyWithAny struct {
	Field1 *int    `json:"field1,omitempty" form:"field1,omitempty"`
	Field2 *string `json:"field2,omitempty" form:"field2,omitempty"`
	FieldA *int    `json:"fieldA,omitempty" form:"fieldA,omitempty"`
	FieldB *string `json:"fieldB,omitempty" form:"fieldB,omitempty"`
}

#/components/schemas/MergeWithAnyWithAny

func (*MergeWithAnyWithAny) ApplyDefaults

func (s *MergeWithAnyWithAny) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

type MergeWithAnyWithString

type MergeWithAnyWithString struct {
	Field1 *int    `json:"field1,omitempty" form:"field1,omitempty"`
	Field2 *string `json:"field2,omitempty" form:"field2,omitempty"`
	FieldA *int    `json:"fieldA,omitempty" form:"fieldA,omitempty"`
	FieldB *string `json:"fieldB,omitempty" form:"fieldB,omitempty"`
}

#/components/schemas/MergeWithAnyWithString

func (*MergeWithAnyWithString) ApplyDefaults

func (s *MergeWithAnyWithString) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

type MergeWithAnyWithout

type MergeWithAnyWithout struct {
	Field1 *int    `json:"field1,omitempty" form:"field1,omitempty"`
	Field2 *string `json:"field2,omitempty" form:"field2,omitempty"`
	FieldA *int    `json:"fieldA,omitempty" form:"fieldA,omitempty"`
	FieldB *string `json:"fieldB,omitempty" form:"fieldB,omitempty"`
}

#/components/schemas/MergeWithAnyWithout

func (*MergeWithAnyWithout) ApplyDefaults

func (s *MergeWithAnyWithout) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

type MergeWithStringDefault

type MergeWithStringDefault struct {
	Field1 *int    `json:"field1,omitempty" form:"field1,omitempty"`
	Field2 *string `json:"field2,omitempty" form:"field2,omitempty"`
	FieldA *int    `json:"fieldA,omitempty" form:"fieldA,omitempty"`
	FieldB *string `json:"fieldB,omitempty" form:"fieldB,omitempty"`
}

#/components/schemas/MergeWithStringDefault

func (*MergeWithStringDefault) ApplyDefaults

func (s *MergeWithStringDefault) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

type MergeWithStringWithAny

type MergeWithStringWithAny struct {
	Field1 *int    `json:"field1,omitempty" form:"field1,omitempty"`
	Field2 *string `json:"field2,omitempty" form:"field2,omitempty"`
	FieldA *int    `json:"fieldA,omitempty" form:"fieldA,omitempty"`
	FieldB *string `json:"fieldB,omitempty" form:"fieldB,omitempty"`
}

#/components/schemas/MergeWithStringWithAny

func (*MergeWithStringWithAny) ApplyDefaults

func (s *MergeWithStringWithAny) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

type MergeWithStringWithout

type MergeWithStringWithout struct {
	Field1 *int    `json:"field1,omitempty" form:"field1,omitempty"`
	Field2 *string `json:"field2,omitempty" form:"field2,omitempty"`
	FieldA *int    `json:"fieldA,omitempty" form:"fieldA,omitempty"`
	FieldB *string `json:"fieldB,omitempty" form:"fieldB,omitempty"`
}

#/components/schemas/MergeWithStringWithout

func (*MergeWithStringWithout) ApplyDefaults

func (s *MergeWithStringWithout) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

type MergeWithoutDefault

type MergeWithoutDefault struct {
	Field1 *int    `json:"field1,omitempty" form:"field1,omitempty"`
	Field2 *string `json:"field2,omitempty" form:"field2,omitempty"`
	FieldA *int    `json:"fieldA,omitempty" form:"fieldA,omitempty"`
	FieldB *string `json:"fieldB,omitempty" form:"fieldB,omitempty"`
}

#/components/schemas/MergeWithoutDefault

func (*MergeWithoutDefault) ApplyDefaults

func (s *MergeWithoutDefault) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

type MergeWithoutWithAny

type MergeWithoutWithAny struct {
	Field1 *int    `json:"field1,omitempty" form:"field1,omitempty"`
	Field2 *string `json:"field2,omitempty" form:"field2,omitempty"`
	FieldA *int    `json:"fieldA,omitempty" form:"fieldA,omitempty"`
	FieldB *string `json:"fieldB,omitempty" form:"fieldB,omitempty"`
}

#/components/schemas/MergeWithoutWithAny

func (*MergeWithoutWithAny) ApplyDefaults

func (s *MergeWithoutWithAny) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

type MergeWithoutWithString

type MergeWithoutWithString struct {
	Field1 *int    `json:"field1,omitempty" form:"field1,omitempty"`
	Field2 *string `json:"field2,omitempty" form:"field2,omitempty"`
	FieldA *int    `json:"fieldA,omitempty" form:"fieldA,omitempty"`
	FieldB *string `json:"fieldB,omitempty" form:"fieldB,omitempty"`
}

#/components/schemas/MergeWithoutWithString

func (*MergeWithoutWithString) ApplyDefaults

func (s *MergeWithoutWithString) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

type MergeWithoutWithout

type MergeWithoutWithout struct {
	Field1 *int    `json:"field1,omitempty" form:"field1,omitempty"`
	Field2 *string `json:"field2,omitempty" form:"field2,omitempty"`
	FieldA *int    `json:"fieldA,omitempty" form:"fieldA,omitempty"`
	FieldB *string `json:"fieldB,omitempty" form:"fieldB,omitempty"`
}

#/components/schemas/MergeWithoutWithout

func (*MergeWithoutWithout) ApplyDefaults

func (s *MergeWithoutWithout) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

type WithAnyAdditional1

type WithAnyAdditional1 struct {
	Field1               *int           `json:"field1,omitempty" form:"field1,omitempty"`
	Field2               *string        `json:"field2,omitempty" form:"field2,omitempty"`
	AdditionalProperties map[string]any `json:"-"`
}

#/components/schemas/WithAnyAdditional1

func (*WithAnyAdditional1) ApplyDefaults

func (s *WithAnyAdditional1) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

func (WithAnyAdditional1) MarshalJSON

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

func (*WithAnyAdditional1) UnmarshalJSON

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

type WithAnyAdditional2

type WithAnyAdditional2 struct {
	FieldA               *int           `json:"fieldA,omitempty" form:"fieldA,omitempty"`
	FieldB               *string        `json:"fieldB,omitempty" form:"fieldB,omitempty"`
	AdditionalProperties map[string]any `json:"-"`
}

#/components/schemas/WithAnyAdditional2

func (*WithAnyAdditional2) ApplyDefaults

func (s *WithAnyAdditional2) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

func (WithAnyAdditional2) MarshalJSON

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

func (*WithAnyAdditional2) UnmarshalJSON

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

type WithStringAdditional1

type WithStringAdditional1 struct {
	Field1               *int              `json:"field1,omitempty" form:"field1,omitempty"`
	Field2               *string           `json:"field2,omitempty" form:"field2,omitempty"`
	AdditionalProperties map[string]string `json:"-"`
}

#/components/schemas/WithStringAdditional1

func (*WithStringAdditional1) ApplyDefaults

func (s *WithStringAdditional1) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

func (WithStringAdditional1) MarshalJSON

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

func (*WithStringAdditional1) UnmarshalJSON

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

type WithStringAdditional2

type WithStringAdditional2 struct {
	FieldA               *int              `json:"fieldA,omitempty" form:"fieldA,omitempty"`
	FieldB               *string           `json:"fieldB,omitempty" form:"fieldB,omitempty"`
	AdditionalProperties map[string]string `json:"-"`
}

#/components/schemas/WithStringAdditional2

func (*WithStringAdditional2) ApplyDefaults

func (s *WithStringAdditional2) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

func (WithStringAdditional2) MarshalJSON

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

func (*WithStringAdditional2) UnmarshalJSON

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

type WithoutAdditional1

type WithoutAdditional1 struct {
	Field1               *int           `json:"field1,omitempty" form:"field1,omitempty"`
	Field2               *string        `json:"field2,omitempty" form:"field2,omitempty"`
	AdditionalProperties map[string]any `json:"-"`
}

#/components/schemas/WithoutAdditional1

func (*WithoutAdditional1) ApplyDefaults

func (s *WithoutAdditional1) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

func (WithoutAdditional1) MarshalJSON

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

func (*WithoutAdditional1) UnmarshalJSON

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

type WithoutAdditional2

type WithoutAdditional2 struct {
	FieldA               *int           `json:"fieldA,omitempty" form:"fieldA,omitempty"`
	FieldB               *string        `json:"fieldB,omitempty" form:"fieldB,omitempty"`
	AdditionalProperties map[string]any `json:"-"`
}

#/components/schemas/WithoutAdditional2

func (*WithoutAdditional2) ApplyDefaults

func (s *WithoutAdditional2) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

func (WithoutAdditional2) MarshalJSON

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

func (*WithoutAdditional2) UnmarshalJSON

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

Jump to

Keyboard shortcuts

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