I'm using drf-yasg for swagger docs, but I'm using a BaseView which is the parent class view for all other views, thus all HTTP methods are written in ...
I'm using drf-yasg for swagger docs, but I'm using a BaseView which is the parent class view for all other views, thus all HTTP methods are written in ...
i am implementing an API using django-rest-framework and using drf-yasg to document and name my endpoints every post method ends with create i tried ...
I have a Django API that is being deployed in PythonAnywhere. For that, I can not let the default option in settings.py as True: DEBUG=True However ...
I have a use case, where the request required fields are different depending on one of the field values of the request. For example, if the value of ...
I'm trying to customize the swagger ui. I already override the template by adding drf-yasg/swagger-ui.html on templates. When I tried to add a head ...
Used: Django 2.2, drf-yasg 1.17.1, python 3.9 How can I show with drf-yasg multiple openapi schemes? API returning different responses, depending on ...
I am importing DRF swagger json into AWS API gateway with below config, However aws throwing error: API Key security definition 'api_key' has unexp ...
So I'm trying to create at REST API using DRF and Swagger for API Documentation, But I notice that Swagger UI Parameter doesn't match the given Serial ...
I am working with drf_yasg for the very first time and I am curious to know what does IN_QUERY and the other options provided by OPENAPI do. I can't f ...
I am making development, and my POST request come like config/alert and I am trying to catch it with action decorater below.BUT Django does not catch ...
My post method is working fine with the fields which I required using the same serializer but it's not working for the get_queryset method. Can anyo ...
So the problem is drf-yasg supports from Django Rest Framework 3.10 and my django project is having Django Rest Framework 3.9.0. Is there is a any way ...
I built nested serializer where ModelSerializer include another serializer as field. Everything works well but in swagger docs in example body paramet ...
I am using jwt.io on my DRF project. As you know jwt.io has already a Login API view called 'TokenObtainPairView' and it requires 2 fields: username a ...
I'm using Django Rest Framework in a project with swagger for documentation. Swagger UI can be accessed by everyone who knows its URL. Is that possib ...
created an api and added swagger to the api with the help of the package drf-yasg the current updated version 1.20.0, then added code like this ...
In my project's views classes I use swagger_auto_schema decorator to customize swagger possible responses. My question is this: "Is this a way to move ...
I'm using drf-yasg to add swagger auto schema to my endpoints. The swagger-ui is being visible at /api/v1/swagger/ At my local setup this link is work ...
I have defined a filterset for a DRF ViewSet. drf_yasg correctly renders all the filterset fields as parameters in Swagger for the list endpoint, but ...
How can I add JWT as an authentication for Swagger? Here is my Swagger Settings: I get Unknown security definition type http ...