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, Apr 21, 8:56 AM
Unknown Object (File)
Mar 6 2024, 7:35 PM
Unknown Object (File)
Mar 5 2024, 6:23 PM
Unknown Object (File)
Jan 8 2024, 2:35 PM
Unknown Object (File)
Dec 31 2023, 8:41 PM
Unknown Object (File)
Dec 15 2023, 11:21 PM
Unknown Object (File)
Nov 25 2023, 10:09 AM
Unknown Object (File)
Nov 7 2023, 1:39 PM
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

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.