sylvainlaurent/swagger-validator-maven-plugin

invalid MIME type 'multipart/form-data' in 'consumes

Opened this issue · 5 comments

invalid MIME type 'multipart/form-data' in 'consumes
getting that as part of verify although this is a valid MIME

and another small question : Can I set "SemanticErrors" not to fail on errors, but DefenitionSemanticErrors to fail?

Thanks a lot

Thanks,
will there be a new version release for that soon?

Thanks,
will there be a new version release for that soon?

@ellavish89 hopefully yes, though it depends when the pull request will be merged.
In the meantime, can you give my branch a try and verify that the issue described here is fixed?

and another small question : Can I set "SemanticErrors" not to fail on errors, but DefenitionSemanticErrors to fail?

Thanks a lot

@ellavish89 about your question, currently this kind of granularity in behavior is not supported.
Personally I think that the spec, as a whole, is either valid or not valid: in the latter case, the only available options should be to fail or just raise warning messages.

Thanks for the answer. I will check now and update