Releases: axnsan12/drf-yasg
Releases · axnsan12/drf-yasg
1.6.0
- IMPROVED:
OAUTH2_REDIRECT_URL
will now default to the built in oauth2-redirect.html
file
1.5.1
- IMPROVED: updated
swagger-ui
to version 3.13.0
- FIXED: fixed a crash caused by
serializers.OneToOneRel
(#81, thanks to @ko-pp)
1.5.0
-
IMPROVED: serializers.HiddenField
are now hidden (#78, #79, thanks to @therefromhere)
NOTE: in order for this to work, you will have to add the new drf_yasg.inspectors.HiddenFieldInspector
to your DEFAULT_FIELD_INSPECTORS
array if you changed it from the default value
-
IMPROVED: type of model field is now detected for serializers.SlugRelatedField
with read_only=True
(#82, #83, thanks to @therefromhere)
1.4.7
- FIXED: prevent crashes caused by attempting to delete object attributes which do not exist in the first place (#76)
1.4.6
- IMPROVED: updated
swagger-ui
to version 3.12.0
- IMPROVED: updated
ReDoc
to version 1.21.2
1.4.5
- FIXED: fixed an issue with modification of
swagger_auto_schema
arguments in-place during introspection, which would sometimes cause an incomplete Swagger document to be generated after the first pass (#74, #75)
1.4.4
- IMPROVED:
type
for ChoiceField
generated by a ModelSerializer
from a model field with choices=...
will now be set according to the associated model field (#69)
- FIXED:
lookup_field
and lookup_value_regex
on the same ViewSet
will no longer trigger an (#68)
1.4.3
- FIXED: added a missing assignment that would cause the
default
argument to openapi.Parameter.__init__
to be ignored
1.4.2
- FIXED: fixed a bug that causes a
ModelViewSet
generated from models with nested ForeignKey
to output models named Nested
into the definitions
section (#59, #65)
- FIXED:
Response
objects without a schema
are now properly handled when passed through swagger_auto_schema
(#66)
1.4.1
- FIXED: the
coerce_to_string
is now respected when setting the type, default value and min/max values of DecimalField
in the OpenAPI schema (#62)
- FIXED: error responses from web UI views are now rendered with
TemplateHTMLRenderer
instead of throwing confusing errors (#58)
- IMPROVED: updated
swagger-ui
to version 3.10.0
- IMPROVED: updated
ReDoc
to version 1.21.0