a0f4c73ff7
* Django 2.2 is currently the "default" version in the ports tree due its long term support until April 2022. Thus ports that are assigned to that version will exist until then. The following ports are required to make the upgrade of net-mgmt/netbox to the 2.9 release possible because it requires Django 3.1 and provides no backwards compatibility for previous versions of Django. - www/py-dj31-django-rq (copied from r539662 to use the 2.3.2 release for now) - www/py-dj31-django-auth-ldap - www/py-dj31-django-cacheops - www/py-dj31-django-cors-headers - www/py-dj31-django-debug-toolbar - www/py-dj21-django-filter - www/py-dj31-django-js-asset - www/py-dj31-django-mptt - www/py-dj31-django-prometheus - www/py-dj31-django-redis - www/py-dj31-django-tables2 - www/py-dj31-django-taggit - www/py-dj31-django-timezone-field - www/py-dj31-djangorestframework - www/py-dj31-drf-yasg * Also limit the new ports to Python 3.6+ due the requirements of Django 3.1 and add/update the related CONFLICTS_INSTALL entries. Reviewed by: sunpoet Differential Revision: https://reviews.freebsd.org/D27083
21 lines
768 B
Plaintext
21 lines
768 B
Plaintext
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
|