Skip to content

Commit

Permalink
improve response validation error (#437)
Browse files Browse the repository at this point in the history
  • Loading branch information
muir committed Oct 11, 2021
1 parent 1231120 commit d5022c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openapi3filter/validate_response.go
Expand Up @@ -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),
}
}

Expand Down

0 comments on commit d5022c7

Please sign in to comment.