Aconex / drakov

Mock Server that implements the API Blueprint specification
MIT License
481 stars 115 forks source link

Add returning reason if the schema was not matched with the request #183

Open kharazi opened 5 years ago

kharazi commented 5 years ago

In my recent experience with the Drakov mock-server, I have some APIs with many parameters and when the frontend team sends a request to the mock-server, it was hard to them to find what's the source of the problem in a direct way. I have added returning reason in the 404 response.

tallpsmith commented 4 years ago

I really like the idea behind this one, but from my observation, it is just missing some specific tests to validate the returned response does indeed bring back the extra detail you're after.