ResponseValidator (v2) does not correctly match MediaType when empty produces is present in the spec
Issue #179
new
If the specification does not have produces clause, the outgoing response media type is not matched and a validation error is returned. Expected: e.g. "application/json" media type of response should not trigger validation error for "/" media type in swagger spec, because the specification should accept everything. Actual: validation error is raised
Comments (1)
-
reporter - Log in to comment
Created pull request for this issue fix: https://bitbucket.org/atlassian/swagger-request-validator/pull-requests/119/179-fix-for-the-validation-error-when/diff