Generate OpenAPI 3.1 specs and documentation from code. Supports Express, FastAPI, Flask, NestJS, Spring Boot, Gin, Rails, and more. Use when documenting APIs, creating OpenAPI specs, or generating API reference docs.
Generate production-ready OpenAPI 3.1 specifications and documentation from your codebase.
Detect framework by scanning for:
package.json → Express, NestJS, Fastify, Honorequirements.txt / pyproject.toml → FastAPI, Flask, Django RESTgo.mod → Gin, Echo, Chi, FiberGemfile → Rails APIpom.xml / build.gradle → Spring BootCargo.toml → Axum, Actix-webFind API entry points:
# Common patterns to search
app.get|post|put|patch|delete # Express/Fastify
@app.route|@router # Flask/FastAPI
@GetMapping|@PostMapping # Spring
router.GET|POST # Gin/Echo
resources|get|post # Rails
@Controller|@Get|@Post # NestJS
Extract endpoint metadata:
:id, {id}, <id>)Type definitions → OpenAPI components/schemas:
Validation rules → OpenAPI constraints:
Existing documentation:
Generate openapi.yaml with: