drf-standardized-errors icon indicating copy to clipboard operation
drf-standardized-errors copied to clipboard

Standardize your DRF API error responses

Results 16 drf-standardized-errors issues
Sort by recently updated
recently updated
newest added

updates: - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v4.6.0) - [github.com/pre-commit/mirrors-mypy: v1.9.0 → v1.10.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.9.0...v1.10.0)

Thx a lot for working on the library, it really simplifies things a lot and gives us a great boost in documenting everything 👍 🙏 I wanted to wonder if...

https://drf-standardized-errors.readthedocs.io/en/latest/customization.html#change-the-format-of-the-error-response I defined my formatter and it actually responds when I make a request, but the schema in the swagger is displayed as the default one, and not my custom...

I like this package, because I know what a hassle the exception_handler can be. I was wondering if you would consider moving to a more standardized format, like for example...

updates: - [github.com/PyCQA/flake8: 7.1.0 → 7.1.1](https://github.com/PyCQA/flake8/compare/7.1.0...7.1.1) - [github.com/pre-commit/mirrors-mypy: v1.10.0 → v1.11.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.10.0...v1.11.1)

I am using the https://github.com/vbabiy/djangorestframework-camel-case in order to format the response to camel case. The problem is when there is any Error is raised, the fields are rendered as snake...

As described [here](https://github.com/ghazi-git/drf-standardized-errors/issues/74#issuecomment-2178889549) in issue #74 , for DRF serializer `ListField` or `DictField` `drf-spectacular` combined with `drf-standardized-errors` will generate the following: ```yaml list_field_nameINDEXErrorComponent: type: object properties: attr: enum: - list_field_name.INDEX...

Use a pattern to correctly describe the `attr` value in validation errors in all cases. Specifically, this fixes the incorrect description of the `attr` value for list serializers and list/dict...

#42 - [x] Added setting ```HIDE_500_ERROR_DETAILS``` and set it to ```False``` by default to ensure backward compatibility - [x] Added test for the same - [x] Changed the "Internal server...

updates: - [github.com/pre-commit/mirrors-mypy: v1.11.1 → v1.11.2](https://github.com/pre-commit/mirrors-mypy/compare/v1.11.1...v1.11.2)