python-drf-spectacular
Subpackage Descriptions
| single |
===============
drf-spectacular
===============
|build-status| |codecov| |docs| |pypi-version| |pypi-dl|
Sane and flexible `OpenAPI`_ (`3.0.3`_, `3.1`_ & `3.2`_) schema generation
for `Django REST framework`_.
This project has 3 goals:
1. Extract as much schema information from DRF as possible.
2. Provide flexibility to make the schema usable in the real world (not
only toy examples).
3. 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.
Features
- Serializers modelled as components. (arbitrary nesting and recursion
supported)
- `@extend_schema
`_
decorator for customization of APIView, Viewsets, function-based views, and
``@action``
- additional parameters
- request/response serializer override (with status codes)
- polymorphic responses either manually with
PolymorphicProxySerializer helper or via rest_polymorphic's
PolymorphicSerializer)
-
|
Configuration Switches (platform-specific settings discarded)
PY313 ON Build using Python 3.13
PY314 OFF Build using Python 3.14
Package Dependencies by Type
Download groups
| main |
mirror://PYPIWHL/c3/56/74dd7b45bbde6d24494220b98d6961cb1200b63a1800332b430daa2c4551 |
Distribution File Information
006cf5921ebe20a9bd24f7c846261ebbf78780be5961b0d6e87afaa82afd62ff 111150 python-src/drf_spectacular-0.30.0-py3-none-any.whl
Ports that require python-drf-spectacular:v13
| NetBox:std |
Flexible IPAM and DCIM tool with plugin support |