Skip to content

businho/django-connexion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Connexion

This is a django api for connexion lib.

Get started

Install

With poetry:

poetry add django-connexion

With pip:

pip install django-connexion

Use

from django_connexion import DjangoApi

doc_api = DjangoApi("openapi.json") # path to openapi file (json or yaml).

# ... any code

urlpatterns = [
  path("", doc_api.urls),
  # ... rest of urls
  path('admin/', admin.site.urls),
]