Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetOpenAPISpecJSON ¶
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) MarshalJSON ¶
func (s ProblemDetails) MarshalJSON() ([]byte, error)
func (*ProblemDetails) UnmarshalJSON ¶
func (s *ProblemDetails) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.