Fix 500 -> 422

Fix the code to send 422 instead of 500 in case of incorrect data not respecting the schema. It was failing because of the JSON serialization of some enum

Merge request reports

Loading