From d3d61af584f465512587af980e0133e8d0837beb Mon Sep 17 00:00:00 2001 From: hiddenmarten Date: Mon, 2 Feb 2026 15:09:37 +0100 Subject: [PATCH] Remove default value in for Type in ErrorModel --- error.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/error.go b/error.go index b5c94b14..306fc885 100644 --- a/error.go +++ b/error.go @@ -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.