ResponseValidator (v2) does not correctly match MediaType when empty produces is present in the spec

Issue #179 new
Petr Macek created an issue

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