springfox/springfox-demos

How do I log all validation errors rejected by swaggerfox?

robertsearle opened this issue · 1 comments

How do I log all validation errors rejected by SwaggerFox? E.G. not passing in a value or not passing in a value from an EnumType. I would prefer a call back function that is passed;

  1. Input json
  2. response validation errors json

Inside this method I would like to log the request and response. I also want to trigger some custom logic.

Is this possible?

@robertsearle this is not possible because springfox doesnt reject any validations, it is spring framework that does that.