Swagger / BE audit — WELIFE
Snapshot lịch sử 2026-08-04. Số live:
STATUS.md·imp-stub-audit.json(397 IMP / 0 STUB / 43 tags, 2026-08-15+). Audit lúc: 2026-08-04 · API: http://localhost:3000/docs · OpenAPI:/docs-jsonĐếm IMP/STUB:npm run audit:refresh→docs/references/imp-stub-audit.jsonSnapshot ops:docs/references/welife-openapi-ops.csvHomeFix tham chiếu:docs/references/homefix-swagger-snapshot.jsonSound pack (WP-MEDIA-SOUND-01): MIME audio + Swagger notes · brief SOUND-PACK-AI-BRIEF.md (28 file · max 10/upload batch) Prod:https://api.minhtien.cloud/docs— ON (SWAGGER_ENABLED=true, 2026-08-14). Tắt lại:WELIFE_SWAGGER_ENABLED=false bash deploy/sync-api-vps.shhoặc set env trên VPS.
1. Tổng quan số liệu
| Chỉ số | HomeFix snapshot | WELIFE (controller audit) |
|---|---|---|
| Tags | 103 | 33 (+ health) |
| Operations | ~1121 | 267 |
IMP (không stub()) |
production | 267 |
STUB (return stub(...)) |
— | 0 |
Modules api/src/modules/* |
— | 33 + Prisma |
Status: BE Swagger queue DONE · nextRecommended: null · +1 op PATCH /rentals/partner/listings/:id
| Tag group | Status |
|---|---|
| Tất cả 33 tags | IMP |
Chi tiết per-tag: npm run audit:refresh · docs/references/imp-stub-audit.json.
2. Phân loại theo tag (BE status)
Nguồn sự thật:
imp-stub-audit.json(266 IMP / 0 STUB). Bảng lịch sử cũ đã loại bỏ — không còn STUB tag.
| Tag | Ops | Status |
|---|---|---|
| addresses | 7 | IMP |
| assistant | 4 | IMP |
| atm | 3 | IMP |
| auth | 13 | IMP |
| cart | (xem JSON) | IMP |
| chat | 11 | IMP |
| cms | 2 | IMP |
| driver | 16 | IMP |
| favorites | 4 | IMP |
| fuel | 6 | IMP |
| health | 5 | IMP |
| hotels | 12 | IMP |
| kyc | 4 | IMP |
| media | 9 | IMP |
| medical | 12 | IMP |
| merchants | 11 | IMP |
| notifications | 8 | IMP |
| orders | 7 | IMP |
| parking | 11 | IMP |
| partners | 8 | IMP |
| payments | 12 | IMP |
| pharmacy | 12 | IMP |
| places | 2 | IMP |
| promotions | 4 | IMP |
| rentals | 10 | IMP (+partner PATCH listing) |
| reviews | 6 | IMP |
| rides | 7 | IMP |
| routing | 4 | IMP |
| schools | 8 | IMP |
| social | 23 | IMP |
| support | 6 | IMP |
| users | 2 | IMP |
| wallet | 8 | IMP |
| Σ | 266 | 0 STUB |
3. Endpoint platform IMP (lõi)
| Method | Path | Module |
|---|---|---|
| GET | /api/v1/health |
health |
| POST | /api/v1/auth/otp/send |
auth |
| POST | /api/v1/auth/otp/verify |
auth |
| GET | /api/v1/places/nearby |
places |
(Full list: OpenAPI /docs-json · CSV welife-openapi-ops.csv)
4. Kết luận
Queue STUB→IMP DONE. Tiếp theo: 12-NEXT-WORK-PLAN.md (P5 polish · P4 harden — secret stop-gate).