From d5022c7c2b1bd9148457c553d40d08200b46871d Mon Sep 17 00:00:00 2001 From: David Sharnoff Date: Mon, 11 Oct 2021 11:44:45 -0700 Subject: [PATCH] improve response validation error (#437) --- openapi3filter/validate_response.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openapi3filter/validate_response.go b/openapi3filter/validate_response.go index b70938e7c..7cb713ace 100644 --- a/openapi3filter/validate_response.go +++ b/openapi3filter/validate_response.go @@ -77,7 +77,7 @@ func ValidateResponse(ctx context.Context, input *ResponseValidationInput) error if contentType == nil { return &ResponseError{ Input: input, - Reason: fmt.Sprintf("input header Content-Type has unexpected value: %q", inputMIME), + Reason: fmt.Sprintf("response header Content-Type has unexpected value: %q", inputMIME), } }