Contents

drf-spectacular 0.29.0

0

Sane and flexible OpenAPI 3 schema generation for Django REST framework

Sane and flexible OpenAPI 3 schema generation for Django REST framework

Stars: 2793, Watchers: 2793, Forks: 310, Open Issues: 210

The tfranzel/drf-spectacular repo was created 5 years ago and the last code push was 3 months ago.
The project is very popular with an impressive 2793 github stars!

How to Install drf-spectacular

You can install drf-spectacular using pip

pip install drf-spectacular

or add it to a project with poetry

poetry add drf-spectacular

Package Details

Author
None
License
None
Homepage
None
PyPi:
https://pypi.org/project/drf-spectacular/
Documentation:
https://drf-spectacular.readthedocs.io
GitHub Repo:
https://github.com/tfranzel/drf-spectacular

Classifiers

  • Documentation
  • Internet/WWW/HTTP
  • Software Development/Code Generators
No  drf-spectacular  pypi packages just yet.

Errors

A list of common drf-spectacular errors.

Code Examples

Here are some drf-spectacular code examples and snippets.

GitHub Issues

The drf-spectacular package has 210 open issues on GitHub

  • drf-spectacular doesn't figure out filters correctly if i create custom filter backend
  • Compatibility with django-polymorphic >=4.10
  • append_meta not playing well with oneOf fields with description
  • Docs: explain Swagger UI authentication behaviour
  • api-selection - definition-dropdown
  • Unable to write a description for a serializer that extends serializers.ChoiceField using docstrings
  • Django 6, Python 3.14, UV - Failed to run server
  • Null/blank ModelSerializer fields are not required in responses with COMPONENT_SPLIT_REQUEST=True

See more issues on GitHub

Related Packages & Articles

apispec 6.9.0

A pluggable API specification generator. Currently supports the OpenAPI Specification (f.k.a. the Swagger specification).

fastapi 0.129.0

FastAPI framework, high performance, easy to learn, fast to code, ready for production

djoser 2.3.3

REST implementation of Django authentication system.