ghazi-git
ghazi-git
> What is the implication of the second option, if we remove SERVERS? Is it just using the current host? yes, it will use the current host. Sample request when...
@tfranzel I created [drf-standardized-errors](https://github.com/ghazi-git/drf-standardized-errors) which is a custom exception handler that returns the [same error response format for 4XX and 5XX status codes](https://drf-standardized-errors.readthedocs.io/en/latest/error_response.html#error-response-format). The package [integrates with drf-spectatcular](https://drf-standardized-errors.readthedocs.io/en/latest/openapi.html) to automatically...
I was testing gitlint and thought I'd check this bug given it's easy to reproduce. Here's what I found out (based on [this stackoverflow question](https://stackoverflow.com/questions/25642746/how-do-i-pipe-unicode-into-a-native-application-in-powershell)): minimal code to reproduce on...
you'll need to follow the corresponding example for ensuring the new error response format is reflected in your API schema. https://drf-standardized-errors.readthedocs.io/en/latest/openapi.html#custom-error-format
Honestly, the main reason for making the handler easy to customize is allowing everyone to change the format to suit their requirements. Out of the box, I tried to have...
If you're looking to customize the output of the exception handler then a [custom exception formatter](https://drf-standardized-errors.readthedocs.io/en/latest/customization.html#change-the-format-of-the-error-response) is what you're looking for. Once you copy that example as is and cause...