Drf-yasg

Latest version: v1.21.7

Safety actively analyzes 631044 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 10

1.7.1

- **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

- **ADDED:** added integration with [djangorestframework-recursive](https://github.com/heywbj/django-rest-framework-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

- **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

- **ADDED:** added ``SUPPORTED_SUBMIT_METHODS`` ``swagger-ui`` setting

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)

Page 6 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.