| Port details |
- py-dj52-drf-spectacular Sane/flexible OpenAPI 3 schema generation for Django REST framework
- 0.29.0 www
=0 0.28.0Version of this port present on the latest quarterly branch. - Maintainer: kai@FreeBSD.org
 - Port Added: 2025-06-22 07:00:13
- Last Update: 2025-11-13 06:40:15
- Commit Hash: 3b5e90c
- 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.
- USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}dj52-drf-spectacular>0:www/py-dj52-drf-spectacular@${PY_FLAVOR}
- Conflicts:
- CONFLICTS_INSTALL:
- To install the port:
- cd /usr/ports/www/py-dj52-drf-spectacular/ && make install clean
- To add the package, run one of these commands:
- pkg install www/py-dj52-drf-spectacular
- pkg install py311-dj52-drf-spectacular
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py311-dj52-drf-spectacular listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-dj52-drf-spectacular
- Package flavors (<flavor>: <package>)
- py311: py311-dj52-drf-spectacular
- distinfo:
- TIMESTAMP = 1762158117
SHA256 (drf_spectacular-0.29.0.tar.gz) = 0a069339ea390ce7f14a75e8b5af4a0860a46e833fd4af027411a3e94fc1a0cc
SIZE (drf_spectacular-0.29.0.tar.gz) = 241722
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>0 : devel/py-setuptools@py311
- py311-wheel>0 : devel/py-wheel@py311
- python3.11 : lang/python311
- py311-build>=0 : devel/py-build@py311
- py311-installer>=0 : devel/py-installer@py311
- Test dependencies:
-
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-django52>=2.2 : www/py-django52@py311
- py311-dj52-djangorestframework>=3.10.3 : www/py-dj52-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-dj52-drf-spectacular-sidecar>0 : www/py-dj52-drf-spectacular-sidecar@py311
- python3.11 : lang/python311
- This port is required by:
- for Build
-
- deskutils/py-paperless-ngx
- for Run
-
- deskutils/py-paperless-ngx
- net-mgmt/netbox
- net-mgmt/peering-manager
Configuration Options:
- ===> The following configuration options are available for py311-dj52-drf-spectacular-0.29.0:
SIDECAR=on: Enable self-contained Swagger/Redoc UI installation
===> Use 'make config' to modify these settings
- Options name:
- www_py-dj52-drf-spectacular
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| Commit | Credits | Log message |
0.29.0 13 Nov 2025 06:40:15
    |
Kai Knoblich (kai)  |
www/py-dj52-drf-spectacular: Update to 0.29.0
* Switch to the PEP517 framework.
Changelog:
https://github.com/tfranzel/drf-spectacular/releases/tag/0.29.0 |
0.28.0 01 Nov 2025 17:23:22
    |
Matthias Andree (mandree)  |
*: Revise USES=python:... version range constraints
and strip all lower bounds of 3.9 or 3.10 because they are implied now.
python:3.9-X -> python:-X
python:3.9+ -> python
python:3.10-X -> python:-X
python:3.10+ -> python
(options such as ,build preserved) |
0.28.0 22 Jun 2025 06:55:08
    |
Kai Knoblich (kai)  |
net-mgmt/netbox: Create Django 5.2 consumers
* Django 4.2 is currently the "default" version in the ports tree due
its long term support until April 2026. 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 4.3 release possible because it requires
Django 5.2.
All of the ports listed below were created on the basis of their
respective original ports:
- devel/py-dj52-django-rq
- devel/py-dj52-strawberry-graphql (Only the first 15 lines of the commit message are shown above ) |