Skip to content

Releases: axnsan12/drf-yasg

1.4.7

05 Mar 18:00
Compare
Choose a tag to compare
  • FIXED: prevent crashes caused by attempting to delete object attributes which do not exist in the first place (#76)

1.4.6

05 Mar 16:12
Compare
Choose a tag to compare
  • IMPROVED: updated swagger-ui to version 3.12.0
  • IMPROVED: updated ReDoc to version 1.21.2

1.4.5

05 Mar 09:53
6ea8711
Compare
Choose a tag to compare
  • 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

27 Feb 15:11
Compare
Choose a tag to compare
  • 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

22 Feb 18:35
Compare
Choose a tag to compare
  • FIXED: added a missing assignment that would cause the default argument to openapi.Parameter.__init__ to be ignored

1.4.2

22 Feb 01:49
Compare
Choose a tag to compare
  • 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

21 Feb 03:24
10c7e22
Compare
Choose a tag to compare
  • 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

04 Feb 12:39
71dee6e
Compare
Choose a tag to compare
  • ADDED: added settings for OAuth2 client configuration in swagger-ui (#53)
  • IMPROVED: updated swagger-ui to version 3.9.3

1.3.1

24 Jan 15:44
Compare
Choose a tag to compare
  • 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

23 Jan 10:49
Compare
Choose a tag to compare
  • 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)