- changed status to open
RequestValidator (v2) does not correctly match MediaType when empty consumes is present in the spec
Issue #167
resolved
If the specification does not have consumes clause, the incoming request media type is not matched and a validation error is returned.
Expected: e.g. "application/json" media type of request should not trigger validation error for "/" media type in swagger spec, because the specification should accept everything.
Actual: validation error is raised
Patch with test attached
Comments (2)
-
-
- changed status to resolved
Available in v2.0.2
- Log in to comment