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

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_tastypie_openapi-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 945ce2acf3d0902d0529d9ff5bbca4198dc5fe78ef1b49c12dc77d3a4bb47fd1
MD5 4e87943e86d1fed9720b5d93e0158b97
BLAKE2b-256 f44b4de0176ad626ac8d9bd996188cbda9c1cd5dba4dc2f3d80bcb053780155e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for django_tastypie_openapi-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1cc41ae80fec786dc21c258c3da225d3068a794676c7dc355579a8d529a934d4
MD5 80f2de8804df86aad6282b602351f2a6
BLAKE2b-256 1d9514f845dd6b7a5344af5f7b9be5dbf22c1fb021d6b05f95c76b3b2dc39c58

See more details on using hashes here.

Provenance

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