Drf-yasg

Latest version: v1.21.7

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

Scan your dependencies

Page 8 of 10

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)

1.2.2

- **FIXED:** djangorestframework>=3.7.7 is now required because of breaking changes (44, 45, thanks to h-hirokawa)

Page 8 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.