Validation, unhandled and unexisting routes errors are currently automatically catched and returns Problem Details object with some extra properties (like errors for validation errors).
We should then register custom Problem schema for each in affected APIs so clients can see that routes may returns 500, 400 or 404 errors as Problem Details with some additional properties. This way, clients can be aware of those extra properties.
Validation, unhandled and unexisting routes errors are currently automatically catched and returns Problem Details object with some extra properties (like
errors
for validation errors).We should then register custom Problem schema for each in affected APIs so clients can see that routes may returns 500, 400 or 404 errors as Problem Details with some additional properties. This way, clients can be aware of those extra properties.