Releases: axnsan12/drf-yasg
Releases · axnsan12/drf-yasg
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
1.4.0
- ADDED: added settings for OAuth2 client configuration in
swagger-ui
(#53)
- IMPROVED: updated
swagger-ui
to version 3.9.3
1.3.1
- FIXED: fixed a bug that would sometimes cause endpoints to wrongly be output as form operations (#50)
- IMPROVED: added generation of
produces
based on renderer classes
- IMPROVED: added generation of top-level
consumes
and produces
based on DEFAULT_PARSER_CLASSES
and DEFAULT_RENDERER_CLASSES
(#48)
1.3.0
- ADDED: security requirements are now correctly set and can be customized; this should fix
problems related to authentication in swagger-ui
Try it out! (#50, #54)
- IMPROVED: updated
swagger-ui
to version 3.9.2
- IMPROVED: updated
ReDoc
to version 1.20.0
- FIXED: fixed an exception caused by a warning in get_path_from_regex (#49, thanks to @blueyed)