Skip to main content

Tie together `drf-spectacular` and `djangorestframework-dataclasses` for easy-to-use apis and openapi schemas.

Project description


Tie together drf-spectacular and djangorestframework-dataclasses for easy-to-use apis and openapi schemas.


    class MyQueryData():
        name: str

    class MyResponse:
        length: int

    @speccify.api_view(methods=["GET"], permissions=[])
    def my_view(request: Request, my_query: Query[MyQueryData]) -> MyResponse:
        name =
        length = len(name)
        return MyResponse(length=length)



Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for speccify, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size speccify-0.2.0-py3-none-any.whl (10.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size speccify-0.2.0.tar.gz (9.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page