-
**Describe the bug**
We have a class like:
```python
class Employee(models.Model):
"""
Salaried or contract worker.
"""
...
```
But after generating the `schema.yaml` file, …
-
By default `drf-spectacular` uses `jsdelivr` as a CDN to include `SwaggerUI` into the UI.
For corporates this might be undesirable for compliance reasons, or impossible if users don't have internet…
-
When I try to see my open API schema I get an error:
```
Internal Server Error: /schema/
Traceback (most recent call last):
File "/home/fagtoy/Desktop/work/vimpel_security_back/venv/lib/python3.…
bskqd updated
2 years ago
-
I’m working on a [drf package](https://github.com/ghazi-git/drf-standardized-errors) that provides an exception handler to standardize error responses (same format for all 4xx and 5xx responses). The …
-
**Describe the bug**
`drf-spectacular==0.22.0` fails to recognize the type of filter if its name doesn't match with one of the fields of model. Works fine with `drf-spectacular==0.21.*`.
**To Repr…
-
I have a custom view. It does not respond something created by a django serializer. At the moment I described it like this:
```
responses={
(200, 'application/json'):
…
-
Hi! I saw in another issue that now we can use `TypedDict` class in the response instead of a serializer. Is it possible to provide an example or a documentation link elaborating this behavior?
Than…
-
Hi there!
I'm just coming to `drf_spectacular` after using `drf_yasg` for many years, and I'm having to change all my `openapi.Parameter` definitions over to `OpenApiParameter`. What's really puzz…
-
-
I'd like the `SessionScheme` corresponding to `rest_framework.authentication.SessionAuthentication` to use 2 cookie parameters instead of one.
What I've tried but doesn't work (the security scheme …