Specification files
REST API published hiện có 47 HTTP operations duy nhất.
Dùng với AI tools
Đưa OpenAPI file cho model kèm instruction này:Quy tắc xác thực
- Phần lớn REST endpoints dùng
Authorization: Bearer <token>. - Các session endpoints có ghi rõ session auth thì dùng
x-session-token. - Không gửi cả hai loại credential trừ khi endpoint document rõ là nhận cả hai.
Checklist implement
- Tìm operation theo
operationId, method hoặc path. - Đọc toàn bộ path, query, header và body parameters.
- Build request từ typed fields; tránh tự nối string nếu có structured client.
- Parse success response theo schema đã document.
- Parse error response dưới dạng JSON, Problem Details hoặc text vì gateway/backend errors có thể khác nhau.

