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: 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 ArrayContainer

type ArrayContainer struct {
	Values               []string       `form:"values,omitempty" json:"values,omitempty"`
	AdditionalProperties map[string]any `json:"-"`
}

#/components/schemas/ArrayContainer

func (*ArrayContainer) ApplyDefaults

func (s *ArrayContainer) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

func (ArrayContainer) Get

func (a ArrayContainer) Get(fieldName string) (value any, found bool)

Get returns the specified additional property value and whether it was found.

func (ArrayContainer) MarshalJSON

func (a ArrayContainer) MarshalJSON() ([]byte, error)

func (*ArrayContainer) Set

func (a *ArrayContainer) Set(fieldName string, value any)

Set sets an additional property value.

func (*ArrayContainer) UnmarshalJSON

func (a *ArrayContainer) UnmarshalJSON(b []byte) error

Jump to

Keyboard shortcuts

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