We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 050a930 commit e3d68dcCopy full SHA for e3d68dc
1 file changed
openapi3filter/validate_response.go
@@ -94,7 +94,7 @@ func ValidateResponse(ctx context.Context, input *ResponseValidationInput) error
94
}
95
96
content := response.Content
97
- if len(content) == 0 || options.ExcludeResponseBody {
+ if len(content) == 0 {
98
// An operation does not contains a validation schema for responses with this status code.
99
return nil
100
0 commit comments