Port details |
- py-dj42-drf-spectacular Sane/flexible OpenAPI 3 schema generation for Django REST framework
- 0.27.2 www
=0 0.27.2Version of this port present on the latest quarterly branch.
- DEPRECATED: Obsolete, please use www/py-drf-spectacular instead
This port expired on: 2024-06-15
- Maintainer: kai@FreeBSD.org
- Port Added: 2023-09-10 13:18:26
- Last Update: 2024-06-15 18:17:13
- Commit Hash: 765de36
- 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}dj42-drf-spectacular>0:www/py-dj42-drf-spectacular@${PY_FLAVOR}
- Conflicts:
- CONFLICTS_INSTALL:
- No installation instructions:
- This port has been deleted.
- PKGNAME: py39-dj42-drf-spectacular
- Package flavors (<flavor>: <package>)
- py39: py39-dj42-drf-spectacular
- distinfo:
- TIMESTAMP = 1712292804
SHA256 (drf-spectacular-0.27.2.tar.gz) = a199492f2163c4101055075ebdbb037d59c6e0030692fc83a1a8c0fc65929981
SIZE (drf-spectacular-0.27.2.tar.gz) = 235131
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:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-django42>=2.2 : www/py-django42@py39
- py39-dj42-djangorestframework>=3.10.3 : www/py-dj42-djangorestframework@py39
- py39-inflection>=0.3.1 : devel/py-inflection@py39
- py39-jsonschema>=2.6.0 : devel/py-jsonschema@py39
- py39-uritemplate>=2.0.0 : net/py-uritemplate@py39
- py39-yaml>=5.1 : devel/py-yaml@py39
- py39-dj42-drf-spectacular-sidecar>0 : www/py-dj42-drf-spectacular-sidecar@py39
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- py39-typing-extensions>0 : devel/py-typing-extensions@py39
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for py39-dj42-drf-spectacular-0.27.2:
SIDECAR=on: Enable self-contained Swagger/Redoc UI installation
===> Use 'make config' to modify these settings
- Options name:
- www_py-dj42-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.27.2 15 Jun 2024 18:17:13 |
Rene Ladan (rene) |
www/py-dj42-drf-spectacular: Remove expired port
2024-06-15 www/py-dj42-drf-spectacular: Obsolete, please use
www/py-drf-spectacular instead |
0.27.2 27 May 2024 05:28:53 |
Kai Knoblich (kai) |
*/py-dj42*: Deprecate/Set to expire
* The */py-dj42* ports have no more consumers and are redundant now
as all the other Django ports have been switched from Django 3.2
to Django 4.2 in the last few weeks. [1]
PR: 276319 [1]
With hat: python |
0.27.2 05 Apr 2024 12:56:33 |
Kai Knoblich (kai) |
www/py-dj42-drf-spectacular: Update to 0.27.2
Changelog:
https://github.com/tfranzel/drf-spectacular/releases/tag/0.27.2 |
0.27.1 08 Feb 2024 04:37:21 |
Kai Knoblich (kai) |
www/py-dj42-drf-spectacular: Update to 0.27.1
Changelog:
https://github.com/tfranzel/drf-spectacular/releases/tag/0.27.1 |
0.27.0 17 Dec 2023 12:37:36 |
Kai Knoblich (kai) |
www/py-dj42-drf-spectacular: Update to 0.27.0
Changelog:
https://github.com/tfranzel/drf-spectacular/releases/tag/0.27.0
MFH: 2023Q4 |
0.26.5 28 Oct 2023 04:34:05 |
Kai Knoblich (kai) |
www/py-dj42-drf-spectacular: Update to 0.26.5
Changelog:
https://github.com/tfranzel/drf-spectacular/releases/tag/0.26.5
MFH: 2023Q4 |
0.26.4 10 Sep 2023 13:15:32 |
Kai Knoblich (kai) |
net-mgmt/netbox: Create Django 4.2 consumers
* Django 3.2 is currently the "default" version in the ports tree due
its long term support until April 2024. 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 3.6 release possible because it requires
Django 4.2.
All of the ports listed below were created on the basis of their
respective original ports:
- devel/py-dj42-django-rq
- devel/py-dj42-graphene-django (Only the first 15 lines of the commit message are shown above ) |