This application is an example with bug in which documentation is incorrectly displayed. Instead of information from the local handler, information about the global one is displayed
- Run application
gradble bootRun
- Open OpenApi docs
- Check body for 500 http status.
- Body is
GlobalErrorDto
, butLocalErrorDto
is expected because it has a higher priority.