python-drf-spectacular
Port variant v12
Summary OpenAPI 3 schema generation for Django REST (3.12)
Package version 0.27.2
Homepage https://github.com/tfranzel/drf-spectacular
Keywords python
Maintainer Python Automaton
License Not yet specified
Other variants v11
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
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 OFF Build using Python 3.11 PY312 ON Build using Python 3.12
Package Dependencies by Type
Build (only) python312:dev:standard
python-pip:single:v12
autoselect-python:single:standard
Build and Runtime python312:primary:standard
Runtime (only) python-Django:single:v12
python-djangorestframework:single:v12
python-uritemplate:single:v12
python-PyYAML:single:v12
python-jsonschema:single:v12
python-inflection:single:v12
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:v12
NetBox:standard Flexible IPAM and DCIM tool with plugin support