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

type Thing struct {
	// just a name
	Name string `json:"name" form:"name"`
}

#/components/schemas/Thing

func (*Thing) ApplyDefaults

func (s *Thing) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

type ThingList

type ThingList struct {
	Keys []Thing `json:"keys" form:"keys"`
}

#/components/schemas/ThingList Object containing list of Things

func (*ThingList) ApplyDefaults

func (s *ThingList) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

type ThingListKeys

type ThingListKeys = []Thing

#/components/schemas/ThingList/properties/keys

Jump to

Keyboard shortcuts

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