Metadata-Version: 2.4
Name: django-tastypie-openapi
Version: 0.1.2
Summary: Generate Openapi specification for Django-Tastypie
Home-page: https://github.com/rkojedzinszky/django-tastypie-openapi
Author: Richard Kojedzinszky
Author-email: richard@kojedz.in
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: django
Requires-Dist: django-tastypie
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# django-tastypie-openapi

Generate OpenAPI specification for Django-Tastypie API.

## Usage

```bash
$ pip install django-tastypie-openapi
```

Then add to your urls.py:

```python
...
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.
