Closed vwong closed 1 year ago
This builds upon https://github.com/pactflow/swagger-mock-validator/pull/22 and supports more content-negotiation.
I've removed the logging, because I now think it is unnecessary, and added more complexity that doesn't even make sense anymore.
Once this goes into production, some previously passing validations may now fail because we incorrectly skipped validation before.
Have a look at the new specs, you can see the content-negotiation happening.
This builds upon https://github.com/pactflow/swagger-mock-validator/pull/22 and supports more content-negotiation.
I've removed the logging, because I now think it is unnecessary, and added more complexity that doesn't even make sense anymore.
Once this goes into production, some previously passing validations may now fail because we incorrectly skipped validation before.
Have a look at the new specs, you can see the content-negotiation happening.