axnsan12/drf-yasg

Automated generation of real Swagger/OpenAPI 2.0 schemas from Django REST Framework code.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 46 minutes ago
Added to GitGenius on September 19th, 2026
Created on November 29th, 2017
Open Issues & Pull Requests: 242 (+0)
GitHub issues: Enabled
Number of forks: 439
Total Stargazers: 3,546 (+0)
Total Subscribers: 27 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 23.9 days
Mean response time: 157.6 days
90th percentile: 460.9 days
Tracked items: 177

Most active contributors

Sign in to see contributor activity.

How this project is maintained

98% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Three people close 77% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 220
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 2,048 days
Stale 30+ days: 219
Stale 90+ days: 218

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • triage (207)
  • bug (19)
  • 1.21.x (11)
  • help wanted (10)
  • question (8)
  • enhancement (7)
  • 1.22.x (6)
  • unanswered (3)

Most active issues this week

Detailed Description

drf-yasg is a documentation generator that automatically produces Swagger and OpenAPI 2.0 schemas from Django REST Framework code.

The tool solves the problem of keeping API documentation synchronized with implementation by inspecting Django REST Framework views, serializers, and other components to generate accurate schema definitions. Rather than requiring developers to manually write or maintain separate documentation files, drf-yasg introspects the framework's code to extract endpoint definitions, request and response structures, and parameter specifications, then renders them as interactive Swagger UI or ReDoc documentation.

Teams building REST APIs with Django REST Framework should adopt this tool if they want API documentation that stays current without manual effort. It suits projects of any size where the API surface is defined through Django REST Framework's standard patterns. The tool generates real schemas grounded in actual code rather than templates or annotations, which means the documentation reflects what the API actually does.

The project shows consistent maintenance with regular updates addressing compatibility and bug fixes. Development activity demonstrates responsiveness to reported issues and pull requests. The codebase receives ongoing refinement to handle edge cases in schema generation and to maintain compatibility with evolving versions of Django and Django REST Framework.