API Spec — Tạo OpenAPI Specification
Tự động generate OpenAPI (Swagger) specification cho API endpoints từ code hiện có hoặc feature description.Cú pháp
Luồng hoạt động
Ví dụ thực tế
Khi nào dùng / không dùng
| Dùng | Không dùng |
|---|---|
| Sau khi viết API endpoints | Frontend-only project |
| Cần share API spec với frontend team | Internal utility functions |
| Tạo Swagger docs cho external API | Khi API chưa implement |