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 `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
Click to show internal directories.
Click to hide internal directories.