Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion error.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func (e *ErrorDetail) ErrorDetail() *ErrorDetail {
// }
type ErrorModel struct {
// Type is a URI to get more information about the error type.
Type string `json:"type,omitempty" format:"uri" default:"about:blank" example:"https://example.com/errors/example" doc:"A URI reference to human-readable documentation for the error."`
Type string `json:"type,omitempty" format:"uri" example:"https://example.com/errors/example" doc:"A URI reference to human-readable documentation for the error."`

// Title provides a short static summary of the problem. Huma will default this
// to the HTTP response status code text if not present.
Expand Down
Loading