Skip to content

Releases: axnsan12/drf-yasg

1.7.1

05 May 12:57
Compare
Choose a tag to compare
  • IMPROVED: updated swagger-ui to version 3.14.1
  • IMPROVED: set swagger-ui showCommonExtensions to True by default and add SHOW_COMMON_EXTENSIONS setting key
  • IMPROVED: set min_length=1 when allow_blank=False (#112, thanks to @elnappo)
  • FIXED: made documentation ordering of SwaggerDict extra attributes stable

1.7.0

26 Apr 22:54
Compare
Choose a tag to compare
  • ADDED: added integration with djangorestframework-recursive (#109, #110, thanks to @rsichny)

    NOTE: in order for this to work, you will have to add the new drf_yasg.inspectors.RecursiveFieldInspector to your DEFAULT_FIELD_INSPECTORS array if you changed it from the default value

  • FIXED: SchemaRef now supports cyclical references via the ignore_unresolved argument

1.6.2

25 Apr 20:05
Compare
Choose a tag to compare
  • IMPROVED: updated swagger-ui to version 3.13.6
  • IMPROVED: switched ReDoc to version 2.0.0-alpha.17 (was 1.21.2); fixes #107
  • FIXED: made documentation ordering of parameters stable for urls with multiple parameters (#105, #106)
  • FIXED: fixed crash when using a model ChoiceField of unknown child type

1.6.1

01 Apr 09:09
Compare
Choose a tag to compare
  • ADDED: added SUPPORTED_SUBMIT_METHODS swagger-ui setting

1.6.0

01 Apr 09:09
51ec072
Compare
Choose a tag to compare
  • IMPROVED: OAUTH2_REDIRECT_URL will now default to the built in oauth2-redirect.html file

1.5.1

18 Mar 18:07
Compare
Choose a tag to compare
  • 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

12 Mar 17:28
Compare
Choose a tag to compare
  • 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

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)