Sane and flexible OpenAPI 3 schema generation for Django REST framework.
extend_schema_view
support for @action
by @johnthagen in https://github.com/tfranzel/drf-spectacular/pull/1178
Full Changelog: https://github.com/tfranzel/drf-spectacular/compare/0.27.1...0.27.2
Webhooks
(3.1) in addition to existing Callbacks
Full Changelog: https://github.com/tfranzel/drf-spectacular/compare/0.27.0...0.27.1
postprocess_schema_enums
, you might want to also manually add postprocess_schema_enum_id_removal
, to remove the temporary ids we had to add. By default this action is done automatically.Full Changelog: https://github.com/tfranzel/drf-spectacular/compare/0.26.5...0.27.0
forced_singular_serializer
to disable a list detection on an endpoint, that has been quite difficult to properly undo previously. This closes the functional gap for @extend_schema_serializer(many=False)
in single-use (non-envelope) situations.Full Changelog: https://github.com/tfranzel/drf-spectacular/compare/0.26.4...0.26.5
django-filter
and django-polymorphic
.AutoSchema
subclassing.Full Changelog: https://github.com/tfranzel/drf-spectacular/compare/0.26.3...0.26.4
djangorestframework_camel_case
's Middleware is used.Full Changelog: https://github.com/tfranzel/drf-spectacular/compare/0.26.2...0.26.3
OpenApiRequest
featureFull Changelog: https://github.com/tfranzel/drf-spectacular/compare/0.26.1...0.26.2
PolymorphicSerializer
type field handlingFull Changelog: https://github.com/tfranzel/drf-spectacular/compare/0.26.0...0.26.1
Enum
key/value list into the description by default. Opt-out with new setting ENUM_GENERATE_CHOICE_DESCRIPTION
.whitelist
mechanics changed slightly on what is considered default behavior.dj-rest-auth>=3.0.0
GDAL
for the contrib testsruntests.py
fail when GDAL library is not installed … by @tfranzel in https://github.com/tfranzel/drf-spectacular/pull/946
Full Changelog: https://github.com/tfranzel/drf-spectacular/compare/0.25.1...0.26.0