Automated generation of real Swagger/OpenAPI 2.0 schemas from Django REST Framework code.
ADDED: Python 3.10 support (#818) DEPRECATED: Python 3.6 support as it's been deprecated by swagger-spec-validator FIXED: RecursiveField resolver (#822)
FIXED: Remove NullBooleanFields if the django-rest-framework version >= 3.14.0 (#814)
FIXED: Set generator url for swagger_settings.DEFAULT_API_URL (#682) FIXED: Check fields for allow_null attribute (#688) FIXED: Encode pytz object field as a string by default (#717) FIXED: Handle errors rendering with TemplateHTMLRenderer (#742)
FIXED: Fixed code block rst syntax in README.rst
(#797)
FIXED: Refer to permission_classes as a tuple (#678) IMPROVED: Document drf-extra-fields base64 integration (#445) ADDED: Added many support to example code (#695) ADDED: Allow specifying response as a reference (#757) FIXED: Fix old spelling errors and add a cspell configuration (#796) FIXED: Remove universal wheel, python 2 is unsupported (#782) FIXED: Fix duration field inspector (#549)
redoc.min.js
(#778)publish.yml
(#794)Release date: Feb 17, 2020
USERNAME_FIELD
in generate_swagger
command (#486)Support was dropped for Python 3.5, Django 2.0, Django 2.1, DRF 3.7
swagger-ui
to version 3.36.0ReDoc
to version 2.0.0-rc.40django.conf.settings.LOGOUT_URL
(#646)Support was dropped for Python 2.7, DRF 3.8, DRF 3.9. Requirements are now: Python>=3.6, Django>=2.2, DRF>=3.10
The 1.18 and 1.19 series was skipped to avoid confusion with the drf-yasg2 fork. I would also like to take this opportunity to extend my apologies to the community at large for the large gap in the maintenance of drf-yasg and the problems it has caused.
JSONFieldInspector
for JSONField
support (#417)swagger-ui
to version 3.23.11ReDoc
to version 2.0.0-rc.14 (#398)