Port variant | v11 |
Summary | OpenAPI 3 schema generation for Django REST (3.11) |
BROKEN | |
Package version | 0.27.2 |
Homepage | https://github.com/tfranzel/drf-spectacular |
Keywords | python |
Maintainer | Python Automaton |
License | Not yet specified |
Other variants | v12 |
Ravenports | Buildsheet | History |
Ravensource | Port Directory | History |
Last modified | 02 APR 2024, 23:04:22 UTC |
Port created | 26 MAY 2023, 03:56:48 UTC |
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
|
main | mirror://PYPIWHL/b2/cd/84c44a5d435f6544e58a9b138305f59bca232157ae4ecb658f9787f87d1c |
No other ports depend on this one. |