Searches without login should now work. You must get asked to click a button.
Port details
py-dj21-drf-yasgYet Another Swagger Generator
1.17.0wwwΣ=0 1.17.0Version of this port present on the latest quarterly branch.
DEPRECATED: Django 2.1 is now End-of-Life (Since December 2 2019) and no longer supported. Switch to Django 2.2+ versions of this port as soon as possible This port expired on: 2020-01-31
Generate real Swagger/OpenAPI 2.0 specifications from a Django Rest
Framework API.
Features:
- full support for nested serializers and schemas
- response schemas and descriptions
- model definitions compatible with codegen tools
- customization hooks at all points in the spec generation process
- JSON and YAML format for spec
- bundles latest version of swagger-ui and redoc for viewing the generated
documentation
- schema view is cacheable out of the box
- generated Swagger schema can be automatically validated by
swagger-spec-validator or flex
- supports Django REST Framework API versioning with URLPathVersioning
and NamespaceVersioning (other DRF or custom versioning schemes are
not currently supported)
WWW: https://github.com/axnsan12/drf-yasg
Remove expired ports:
2020-01-31 www/py-dj21-django-auth-ldap: Django 2.1 is now End-of-Life (Since
December 2 2019) and no longer supported. Switch to Django 2.2+ versions of this
port as soon as possible
2020-01-31 www/py-dj21-django-crispy-forms: Django 2.1 is now End-of-Life (Since
December 2 2019) and no longer supported. Switch to Django 2.2+ versions of this
port as soon as possible
2020-01-31 www/sogo3-activesync: Deprecated, replaced by www/sogo4
2020-01-31 devel/sope3: Deprecated, replaced by devel/sope4
2020-01-31 www/py-dj21-django-mptt: Django 2.1 is now End-of-Life (Since
December 2 2019) and no longer supported. Switch to Django 2.2+ versions of this
port as soon as possible
2020-01-31 graphics/py-willow11: Use graphics/py-willow instead
2020-01-31 www/py-dj21-django-tables2: Django 2.1 is now End-of-Life (Since
December 2 2019) and no longer supported. Switch to Django 2.2+ versions of this
port as soon as possible
2020-01-31 www/py-dj21-django-debug-toolbar: Django 2.1 is now End-of-Life
(Since December 2 2019) and no longer supported. Switch to Django 2.2+ versions
of this port as soon as possible
2020-01-31 security/krb5-115: EOL one year after the release of krb5 1.17
2020-01-31 www/py-dj21-django-taggit: Django 2.1 is now End-of-Life (Since
December 2 2019) and no longer supported. Switch to Django 2.2+ versions of this
port as soon as possible
2020-01-31 www/py-dj21-django-cors-headers: Django 2.1 is now End-of-Life (Since
December 2 2019) and no longer supported. Switch to Django 2.2+ versions of this
port as soon as possible
2020-01-31 graphics/py-imgurpython: No longer supported by upstream
2020-01-31 www/py-dj21-django-taggit-serializer: Django 2.1 is now End-of-Life
(Since December 2 2019) and no longer supported. Switch to Django 2.2+ versions
of this port as soon as possible
2020-01-31 www/py-dj21-django-filter: Django 2.1 is now End-of-Life (Since
December 2 2019) and no longer supported. Switch to Django 2.2+ versions of this
port as soon as possible
2020-01-31 www/py-dj21-django-timezone-field: Django 2.1 is now End-of-Life
(Since December 2 2019) and no longer supported. Switch to Django 2.2+ versions
of this port as soon as possible
2020-01-31 devel/py-xarray011: Use devel/py-xarray instead
2020-01-31 www/py-django-modelcluster4: Use www/py-django-modelcluster instead
2020-01-31 devel/py-semantic_version26: Use devel/py-semantic_version instead
2020-01-31 www/py-dj21-django-js-asset: Django 2.1 is now End-of-Life (Since
December 2 2019) and no longer supported. Switch to Django 2.2+ versions of this
port as soon as possible
2020-01-31 www/py-dj21-drf-yasg: Django 2.1 is now End-of-Life (Since December 2
2019) and no longer supported. Switch to Django 2.2+ versions of this port as
soon as possible
www/py-django21 (and dj21 ports): Deprecate / set expiration date
Django 2.1 reached its End-of-Life (EoL) on 2nd December. Deprecate the port
and its consumers (= www/py-dj21-*) accordingly.
Set the expiration date to the end of January 2020 to give users enough time
to migrate to Django 2.2+ because the EoL is already onset and the
deprecation comes quite late.
Reviewed by: koobs (python: maintainer)
Approved by: koobs (python: maintainer)
Differential Revision: https://reviews.freebsd.org/D22668
www/py-{dj21,dj22}-drf-yasg: Update to 1.16.1
This fixes also net-mgmt/netbox at runtime since r507098 [1]
Changelog:
* Fixed compatibility with Django REST framework 3.10.x [1]
* Improved enum type detection for nested "ChoiceFields"
https://github.com/axnsan12/drf-yasg/tree/1.16.1
PR: 240410
Submitted by: Zane C. Bowers-Hadley <vvelox@vvelox.net>
net-mgmt/netbox: Update to 2.5.12 and switch to Django 2.2
Upstream decided to switch from Django 2.1 to the 2.2 LTS release to fix a
rather annoying bug that generated intermittent errors when objects were
deleted/manipulated.
Therefore the same procedure must be done in almost the same way as in
r492690 to make NetBox compatible with Django 2.2 in the ports tree.
That means to repocopy the required Django 1.11 ports, assign them to
Django 2.2, limit them to Python 3.5+ and update all related
CONFLICTS_INSTALL entries accordingly:
* www/py-dj22-django-cors-headers [1]
* www/py-dj22-django-debug-toolbar
(Only the first 15 lines of the commit message are shown above )
www/py-dj21-drf-yasg: Update to 1.15.0
Changelog:
Additions:
* Added is_list_view and has_list_response extension points to
SwaggerAutoSchema
Improvements:
* Updated swagger-ui to version 3.22.0
* Updated ReDoc to version 2.0.0-rc.4
Fixes:
* ListModelMixin will now always be treated as a list view
* Non-primtive values in field choices will now be handled properly
https://github.com/axnsan12/drf-yasg/releases/tag/1.15.0
Approved by: mentors (implicit)
www/py-dj21-drf-yasg: Update to 1.14.0
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:
(Only the first 15 lines of the commit message are shown above )
Create some ports that are assigned to Django 2.1 instead Django 1.11.
Django 1.11 is currently the "default" version in the ports tree due its
long term support until April 2020 thus ports that are assigned to that
version will exist until then.
The following packages are required to make the upgrade of net-mgmt/netbox
to 2.5.x possible because upstream has decided to switch from Django 1.11
to Django 2.1:
* www/py-dj21-django-cors-headers
* www/py-dj21-django-debug-toolbar
* www/py-dj21-django-filter
* www/py-dj21-django-js-asset
* www/py-dj21-django-mptt
(Only the first 15 lines of the commit message are shown above )