Page MenuHomeFreeBSD

www/py-drf-yasg: Update to 1.14.0
ClosedPublic

Authored by kai on Mar 15 2019, 9:31 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 21, 12:55 AM
Unknown Object (File)
Sat, Dec 13, 4:36 AM
Unknown Object (File)
Wed, Dec 10, 10:49 PM
Unknown Object (File)
Thu, Dec 4, 5:32 AM
Unknown Object (File)
Nov 24 2025, 11:15 PM
Unknown Object (File)
Nov 21 2025, 9:42 AM
Unknown Object (File)
Nov 21 2025, 9:27 AM
Unknown Object (File)
Nov 21 2025, 9:26 AM
Subscribers
None

Details

Summary

Notable changes since 1.11.1:

Additions:

  • get_security_definitions and get_security_requirements hooks to OpenAPISchemaGenerator
  • Added get_summary_and_description and split_summary_from_description extension points to SwaggerAutoSchema to allow for better customisation

Improvements:

  • Updated swagger-ui to version 3.21.0
  • Updated ReDoc to version 2.0.0-rc.2

Fixes:

  • Implicit ref_name collisions will now throw an exception
  • RecursiveField will now also work as a child of ListSerializer

Removals:

  • The get_summary and get_description methods have been removed

Deprecations:

  • Quietly dropped support for the flex validator; it will still work if the library is installed, but the setup.py requirement was removed and the validator will be silently skipped if not installed

https://github.com/axnsan12/drf-yasg/blob/1.14.0/docs/changelog.rst

Test Plan
  • poudriere (11.2-, 12.0-RELEASE, 13.0-CURRENT@r344874 amd64 + i386) for each py27 + py36 flavor -> OK
  • portlitn -> OK
  • Runtime tests -> OK

Diff Detail

Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 23104
Build 22159: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Mar 17 2019, 7:35 AM
This revision was automatically updated to reflect the committed changes.