Contents

drf-spectacular 0.27.2

0

Sane and flexible OpenAPI 3 schema generation for Django REST framework

Sane and flexible OpenAPI 3 schema generation for Django REST framework

Stars: 2349, Watchers: 2349, Forks: 262, Open Issues: 137

The tfranzel/drf-spectacular repo was created 4 years ago and the last code push was 4 days ago.
The project is very popular with an impressive 2349 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
T. Franzel
License
BSD
Homepage
https://github.com/tfranzel/drf-spectacular
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 137 open issues on GitHub

  • Add list/pagination formatting to serializer examples
  • Serializer Examples
  • Enum order is inconsistent in generated schema.
  • Redoc view broken
  • ViewSet.list endpoint response is always paginated
  • Response code 401 missing
  • improve mypy typing #600
  • Type hint plumbing functions
  • Memory leak somewhere in drf-spectacular
  • Support OpenAPI 3.1

See more issues on GitHub

Related Packages & Articles

apispec 6.6.1

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

fastapi 0.115.0

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

djoser 2.2.3

REST implementation of Django authentication system.