output

package
v0.0.0-...-da2a1ef Latest Latest
Warning

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

Go to latest
Published: Feb 15, 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 Document

type Document struct {
	Name   *string `json:"name,omitempty" form:"name,omitempty"`
	Status *string `json:"status,omitempty" form:"status,omitempty"`
}

#/components/schemas/Document

func (*Document) ApplyDefaults

func (s *Document) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

type DocumentStatus

type DocumentStatus struct {
	Value *string `json:"value,omitempty" form:"value,omitempty"`
}

#/components/schemas/DocumentStatus

func (*DocumentStatus) ApplyDefaults

func (s *DocumentStatus) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

type Document_Status

type Document_Status string

#/components/schemas/Document/properties/status

const (
	One   Document_Status = "one"
	Two   Document_Status = "two"
	Three Document_Status = "three"
	Four  Document_Status = "four"
)

Jump to

Keyboard shortcuts

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