djo is a Django app that adds interactive Swagger UI docs to any Django project with a single line of configuration, automatically inferring API schema from URL patterns and view source code.

Stars

12

7-day growth

No data

Forks

0

Open issues

0

License

MIT

Last updated

2026-07-08

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It eliminates the need for decorators, serializers, or URL configuration changes, making API documentation truly zero-effort for both plain Django views and DRF views.

Who it is for

  • Django developers who want instant API docs without extra setup
  • Teams maintaining internal or public Django APIs
  • Rapid prototypers or beginners learning Django REST patterns
  • Developers looking for a lightweight alternative to drf-yasg or drf-spectacular

Use cases

  • Auto-documenting existing Django projects for team collaboration
  • Providing interactive API playgrounds during development and testing
  • Quickly exposing internal microservice endpoints with minimal boilerplate
  • Enabling frontend developers to explore backend APIs without manual specification

Strengths

  • Zero configuration — just add 'djo' to INSTALLED_APPS and get /docs automatically
  • No extra dependencies — pure Django, works with or without DRF
  • Intelligent inference of path params, query params, request bodies, and auth from source code
  • Supports both Django CBV and DRF views, including serializer_class inspection

Considerations

  • Requires Django 5.2+ and Python 3.10+
  • Inference of request bodies and error codes is best-effort (source parsing) and may miss complex logic
  • Does not support custom annotation or explicit schema customization beyond basic configuration options

README quick start

Installation

Description

Static analysis for Django APIs. Generate OpenAPI by reading your code — no decorators, no serializers, no registration

Related repositories

Similar projects matched by category, topics, and programming language.

lopopolo
Featured
lopopolo GitHub avatar

harness-engineering

Harness Engineering is a methodology for improving coding agent outputs by carefully crafting the environment around them—providing curated context, tools, and executable constraints that encode an organization’s nonfunctional requirements and cumulative lessons.

AI & Machine LearningAI Agents
2,390
slvDev
Featured
slvDev GitHub avatar

esp32-ai

A 28.9 million parameter language model runs on an $8 ESP32-S3 microcontroller entirely on-device, generating simple stories at about 9.5 tokens per second.

AI & Machine LearningLarge Language Models
1,960
littledivy
Featured
littledivy GitHub avatar

mimic

mimic captures traffic from any iOS or web app and automatically generates a Python client library that lets you call the app's API like a regular library.

AI & Machine Learning
1,482