output

package
v0.0.0-...-e87c2fb Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2026 License: Apache-2.0 Imports: 6 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 Person

type Person struct {
	Metadata string   `form:"metadata" json:"metadata"`
	Name     *string  `form:"name,omitempty" json:"name,omitempty"`
	Age      *float32 `form:"age,omitempty" json:"age,omitempty"`
}

#/components/schemas/Person

func (*Person) ApplyDefaults

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