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 OFF Build using Python 3.12
PY313 ON Build using Python 3.13
Package Dependencies by Type
Download groups
main |
mirror://PYPIWHL/fb/66/c2929871393b1515c3767a670ff7d980a6882964a31a4ca2680b30d7212a |
Distribution File Information
856e7edf1056e49a4245e87a61e8da4baff46c83dbc25be1da2df77f354c7cb4 103928 python-src/drf_spectacular-0.28.0-py3-none-any.whl
Ports that require python-drf-spectacular:v13
No other ports depend on this one. |