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 cfb9f3b commit 5c4680dCopy full SHA for 5c4680d
responses/validate_response.go
@@ -37,7 +37,7 @@ func ValidateResponseSchema(
37
38
var validationErrors []*errors.ValidationError
39
40
- if response == nil {
+ if response == nil || response.Body == nil {
41
// cannot decode the response body, so it's not valid
42
violation := &errors.SchemaValidationFailure{
43
Reason: "response is empty",
0 commit comments