znsio / specmatic

Turn your contracts into executable specifications. Contract Driven Development - Collaboratively Design & Independently Deploy MicroServices & MicroFrontends.
https://specmatic.io
MIT License
275 stars 51 forks source link

Content type mismatch error #1276

Closed joelrosario closed 3 weeks ago

joelrosario commented 3 weeks ago

What:

When the path, method and status match, but the request or response Content-Type are wrong, display the Content-Type mismatch errors.

Why:

If a Content-Type failure is just dismissed as an operation-level mismatch, it may be confusing, people may not realise that it's the Content-Type that's wrong given that the other identifiers do match.

Checklist: