Skip to main content
Dùng các file OpenAPI khi generate client, validate payload hoặc đưa context API cho AI tools.

Specification files

OMS REST API reference hiện có 48 HTTP operations.

Dùng với AI tools

Đưa OpenAPI file cho model kèm instruction này:

Checklist cho client

  1. Tìm operation theo method hoặc path.
  2. Đọc toàn bộ path, query, header và body parameters.
  3. Build request từ typed fields; tránh tự nối string nếu có structured client.
  4. Parse success response theo schema đã document.
  5. Parse error response defensive vì error payload có thể khác nhau theo điểm fail.