"""导出 OpenAPI 到 stdout（前端 gen:api 离线消费，CI 无需起服务）。"""

from __future__ import annotations

import json

from ww_api.main import app


def main() -> None:
    print(json.dumps(app.openapi(), ensure_ascii=False, indent=2))


if __name__ == "__main__":
    main()
