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 ProblemDetails

type ProblemDetails struct {
	Type                 *string        `json:"type,omitempty" form:"type,omitempty"`
	Title                *string        `json:"title,omitempty" form:"title,omitempty"`
	Status               *int32         `json:"status,omitempty" form:"status,omitempty"`
	Detail               *string        `json:"detail,omitempty" form:"detail,omitempty"`
	Instance             *string        `json:"instance,omitempty" form:"instance,omitempty"`
	AdditionalProperties map[string]any `json:"-"`
}

#/components/schemas/ProblemDetails

func (*ProblemDetails) ApplyDefaults

func (s *ProblemDetails) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

func (ProblemDetails) MarshalJSON

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

func (*ProblemDetails) UnmarshalJSON

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

Jump to

Keyboard shortcuts

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