Skip to content

OpenAPI 初稿

GGGGoods Worker 当前已经提供第一版 OpenAPI 草案。

访问地址

开发环境下可访问:

text
http://127.0.0.1:8787/api/openapi.json

当前覆盖范围

  • Public routes
  • Auth routes
  • Account routes
  • Billing routes
  • Realtime routes
  • Client API routes
  • Internal ingest routes

当前限制

  • 当前是手工维护的初稿,不是自动从 schema 生成
  • 还没有把所有 Zod schema 映射成完整的 OpenAPI component schema
  • 后续会补充更完整的 request/response schema 和示例