Searches without login should now work. You must get asked to click a button.
Port details
py-dj50-drf-spectacularSane/flexible OpenAPI 3 schema generation for Django REST framework
0.28.0_1wwwΣ=0 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
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
===> 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
port moved to www/py-dj51-drf-spectacular on 2025-06-01 REASON: Has expired: 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/
www/py-dj50-drf-spectacular: Remove expired port
2025-05-31 www/py-dj50-drf-spectacular: 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/
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.
Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
*/*dj50*: Deprecate/Set to expire
* Django 5.0 will reach its End-of-Life on 2025-04 and has already got a
corresponding expiration date with d7d4a024fefe. Do the same for its
consumers.
net-mgmt/netbox: Create Django 5.0 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.0 release possible because it requires
Django 5.0.
All of the ports listed below were created on the basis of their
respective original ports:
- devel/py-dj50-django-rq
- devel/py-dj50-strawberry-graphql
(Only the first 15 lines of the commit message are shown above )