validation: response body matches request body
Opened this issue · 1 comments
mbana commented
I would like to do additional validation; I want to assert that certain fields in the response matches certain fields in the request. Is this possible, if so, please link to an example.
Thanks.
whitlockjc commented
Couldn't you just add your own middleware after swagger-validator
to do this? As of right now, custom validation isn't possible within swagger-tools
itself but since it's all just middleware, doing this is still very possible.