output

package
v0.0.0-...-d24950b Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2026 License: Apache-2.0 Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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        `form:"type,omitempty" json:"type,omitempty"`
	Title                *string        `form:"title,omitempty" json:"title,omitempty"`
	Status               *int32         `form:"status,omitempty" json:"status,omitempty"`
	Detail               *string        `form:"detail,omitempty" json:"detail,omitempty"`
	Instance             *string        `form:"instance,omitempty" json:"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) Get

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

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

func (ProblemDetails) MarshalJSON

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

func (*ProblemDetails) Set

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

Set sets an additional property value.

func (*ProblemDetails) UnmarshalJSON

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

Jump to

Keyboard shortcuts

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