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.1.1.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.1.1-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_tastypie_openapi-0.1.1.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.1.1.tar.gz
Algorithm Hash digest
SHA256 cdea4e3ae4549a5fa265855ed97831abcabce4c9827acdd3274e078353b3fc75
MD5 1172984b1536a84a53eaf12377afc554
BLAKE2b-256 661579d5e7d825812d88c45be605668b284725d9cc2ab92cfef0bc4bc42c9e1c

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_tastypie_openapi-0.1.1.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.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for django_tastypie_openapi-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 96df7ca18e3cfb964ec7512ddb27718b4a2f3476eaf1fc0f24e93989c821ae81
MD5 d97499c4f79b58003439c188684cedb1
BLAKE2b-256 de87a5e7fd6df08f4d1effa2327bc320981138cd34a0bbd192b824936af46e55

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_tastypie_openapi-0.1.1-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