django-rest-swagger Questions

1

I. I'm new to using Django REST Swagger for API documentation. I'm trying to understand how to edit a) 'Implementation Notes' and b) parameter descriptions. Image below - Here's my viewset for ...
Petes asked 23/3, 2018 at 17:33

6

Solved

I'm working with the Django REST framework library and I am trying to make a filter that can filter by first_name, last_name, or by both of them. This is my ContactViewSet.py: class ContactViewSet(...

5

Solved

How configure django-rest-swagger to get a HTTPS requests? upd: SSL cert is present and ALL app working with it, but swagger make a http requests.

8

Have this error while trying to autogenerate API docs for django rest framework in django 2.2.4, from what I'm seeing in the logs it has something to do with the deprectation of the {% load stat...
Psi asked 7/12, 2019 at 21:48

1

By default django-rest-swagger displays my views which do not require authentication(JWT Auth in this case). I tried to override the default get_swagger_view shortcut by adding IsAuthenticated in t...
Viceroy asked 22/8, 2018 at 17:48

1

Solved

I have this function-based view with django-rest-swagger decorated. However, I can't find place in UI that allow me to post the payload (request.body). I saw a couple solutions about doing it wit...
Jerricajerrie asked 19/10, 2019 at 8:42

1

Solved

I have an Api in DRF, describes with swagger. In my serializer i have a field like that : settings = serializers.DictField(child=serializers.JSONField()) Is it possible that in the swagger.json ...
Lamartine asked 21/6, 2019 at 9:43

2

Solved

I've created an AssetsFilter class: from django_filters import Filter from django_filters import rest_framework as filters from django_filters.fields import Lookup from .models import Assets cl...
1

© 2022 - 2024 — McMap. All rights reserved.