Skip to main content

Generate Openapi specification for Django-Tastypie

Project description

django-tastypie-openapi

Generate OpenAPI specification for Django-Tastypie API.

Usage

$ pip install django-tastypie-openapi

Then add to your urls.py:

...
from django_tastypie_openapi import SchemaView
...

urlpatterns = [
...
    path('api/schema/', SchemaView.as_view(api=ApiV0, title="API", version="0.0.0")),
...
]

Where ApiV0 is your tastypie.Api object.

Status

This is ALPHA software, may change in the future.

Currently, operations are generated only for the following combinations:

  • Get/List
  • Post/List
  • Get/Detail
  • Put/Detail
  • Patch/Detail
  • Delete/Detail

Other operations are not exported.

Project details


Download files

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

Source Distribution

django_tastypie_openapi-0.0.2.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_tastypie_openapi-0.0.2-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file django_tastypie_openapi-0.0.2.tar.gz.

File metadata

  • Download URL: django_tastypie_openapi-0.0.2.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for django_tastypie_openapi-0.0.2.tar.gz
Algorithm Hash digest
SHA256 9ae5aa4809a9f69e30845144035367cd743d25a806000dc32369dd23ec54b9ae
MD5 68798a641afa29edcfabb2eab941c952
BLAKE2b-256 38a3003d485767b9e0fcb6aac6688ceed89a41f3dcbabbcfc813964783055c6f

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_tastypie_openapi-0.0.2.tar.gz:

Publisher: python-publish.yml on rkojedzinszky/django-tastypie-openapi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file django_tastypie_openapi-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for django_tastypie_openapi-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ba7cdda491e6c66e037a54e8a97632e1f80eb458163acb81779585d9401fff9a
MD5 820a6c7ef921185d1d188a435c636c82
BLAKE2b-256 24457924a65cba97e830db40a07ca2c1bd2ab8805ad3543b6ed9461184846987

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_tastypie_openapi-0.0.2-py3-none-any.whl:

Publisher: python-publish.yml on rkojedzinszky/django-tastypie-openapi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page