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`_) 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)
PY312 ON Build using Python 3.12
PY313 OFF Build using Python 3.13
Package Dependencies by Type
Download groups
| main |
mirror://PYPIWHL/32/d9/502c56fc3ca960075d00956283f1c44e8cafe433dada03f9ed2821f3073b |
Distribution File Information
d1ee7c9535d89848affb4427347f7c4a22c5d22530b8842ef133d7b72e19b41a 105433 python-src/drf_spectacular-0.29.0-py3-none-any.whl
Ports that require python-drf-spectacular:v12
| NetBox:std |
Flexible IPAM and DCIM tool with plugin support |