Port details on branch 2025Q1 |
- py-dj50-drf-spectacular Sane/flexible OpenAPI 3 schema generation for Django REST framework
- 0.28.0_1 www
=2 0.28.0_1Version of this port present on the latest quarterly branch. DEPRECATED: Extended support of Django 5.0 ends April 2025, upgrade to the Django 5.1+ version of this port. See https://www.djangoproject.com/download/
This port expired on: 2025-05-31
- Maintainer: kai@FreeBSD.org
 - Port Added: 2024-07-15 17:15:14
- Last Update: 2025-06-01 19:31:45
- Commit Hash: 5844c85
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py311-PyOpenGL, p5-Sane
- Also Listed In: python
- License: BSD3CLAUSE
- WWW:
- https://github.com/tfranzel/drf-spectacular
- Description:
- This project has 3 goals:
* Extract as much schema information from DRF as possible.
* Provide flexibility to make the schema usable in the real world (not only
toy examples).
* Generate a schema that works well with the most popular client generators.
The code is a heavily modified fork of the DRF OpenAPI generator, which is/was
lacking all of the below listed features:
* Serializers modelled as components. (arbitrary nesting + recursion supported)
* @extend_schema decorator for customization of APIView, Viewsets,
function-based views, and @action
* Authentication support (DRF natives included, easily extendable)
* Custom serializer class support (easily extendable)
* SerializerMethodField() type via type hinting or @extend_schema_field
* i18n support, Tags extraction, Description extraction from docstrings
* Request/response/parameter examples, Callback operations
* Vendor specification extensions (x-*) in info, operations, parameters,
components, and security schemes
* Sane fallbacks and sane operation_id naming (based on path)
* Schema serving with SpectacularAPIView (Redoc and Swagger-UI views are
also available)
* Optional input/output serializer component split
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}dj50-drf-spectacular>0:www/py-dj50-drf-spectacular@${PY_FLAVOR}
- Conflicts:
- CONFLICTS_INSTALL:
- No installation instructions:
- This port has been deleted.
- PKGNAME: py311-dj50-drf-spectacular
- Package flavors (<flavor>: <package>)
- py311: py311-dj50-drf-spectacular
- distinfo:
- TIMESTAMP = 1733482018
SHA256 (drf_spectacular-0.28.0.tar.gz) = 2c778a47a40ab2f5078a7c42e82baba07397bb35b074ae4680721b2805943061
SIZE (drf_spectacular-0.28.0.tar.gz) = 237849
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py311-setuptools>=63.1.0 : devel/py-setuptools@py311
- python3.11 : lang/python311
- Test dependencies:
-
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-django50>=2.2 : www/py-django50@py311
- py311-dj50-djangorestframework>=3.10.3 : www/py-dj50-djangorestframework@py311
- py311-inflection>=0.3.1 : devel/py-inflection@py311
- py311-jsonschema>=2.6.0 : devel/py-jsonschema@py311
- py311-uritemplate>=2.0.0 : net/py-uritemplate@py311
- py311-pyyaml>=5.1 : devel/py-pyyaml@py311
- py311-dj50-drf-spectacular-sidecar>0 : www/py-dj50-drf-spectacular-sidecar@py311
- python3.11 : lang/python311
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for py311-dj50-drf-spectacular-0.28.0_1:
SIDECAR=on: Enable self-contained Swagger/Redoc UI installation
===> Use 'make config' to modify these settings
- Options name:
- www_py-dj50-drf-spectacular
- USES:
- python:3.10+
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|