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

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_tastypie_openapi-0.1.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.1.2.tar.gz
Algorithm Hash digest
SHA256 344e29623232013f515e30e991edc563f7793efbf0bf839b6410a4f049bfd8d2
MD5 6b3770b136871769d6d916bd7222df34
BLAKE2b-256 e57e0564a2439e228407150f690f9d1562dadeddeb45244261d9efa0e265f091

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for django_tastypie_openapi-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e7d880ed85a3e065c8d7e34470f45a19f46a5879b04243b08fd3dbeb3570132e
MD5 7f6cc7c02155c09c3647cf3a277a3447
BLAKE2b-256 9c2428b95d0cd0f011da0526522ef222d29a4803c1f4d62d2b7e4e1d5615ce05

See more details on using hashes here.

Provenance

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