python-drf-spectacular
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 27 MAY 2023, 03:56:48 UTC
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)
PY311 ON Build using Python 3.11 PY312 OFF Build using Python 3.12
Package Dependencies by Type
Build (only) python-pip:single:v11
autoselect-python:single:std
Build and Runtime python311:single:std
Runtime (only) python-Django:single:v11
python-djangorestframework:single:v11
python-uritemplate:single:v11
python-PyYAML:single:v11
python-jsonschema:single:v11
python-inflection:single:v11
Download groups
main mirror://PYPIWHL/b2/cd/84c44a5d435f6544e58a9b138305f59bca232157ae4ecb658f9787f87d1c
Distribution File Information
b1c04bf8b2fbbeaf6f59414b4ea448c8787aba4d32f76055c3b13335cf7ec37b 102930 drf_spectacular-0.27.2-py3-none-any.whl
Ports that require python-drf-spectacular:v11
No other ports depend on this one.