From a59663bfb8ffab46deb87aa2ad5ab26edfc1ffde Mon Sep 17 00:00:00 2001 From: rookiestar28 Date: Sun, 26 Apr 2026 20:45:52 +0800 Subject: [PATCH] docs: regenerate OpenAPI spec Regenerate the OpenAPI artifact after the public preflight API contract update so commit and push guards remain in sync. --- docs/openapi.yaml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/docs/openapi.yaml b/docs/openapi.yaml index b587fc5..f338c08 100644 --- a/docs/openapi.yaml +++ b/docs/openapi.yaml @@ -1,7 +1,7 @@ openapi: "3.0.3" info: title: "ComfyUI-OpenClaw API" - version: "1.0.7" + version: "1.0.8" description: "Generated from docs/release/api_contract.md (R66 baseline)." servers: - url: "/openclaw" @@ -156,6 +156,20 @@ paths: security: - OpenClawObservabilityToken: [] + /preflight: + post: + operationId: "post_preflight" + summary: "Analyze a workflow or API prompt payload for missing nodes/models and portability diagnostics." + responses: + 200: + description: "OK" + x-openclaw-auth: "Admin" + x-openclaw-section: "1.1 Core Observability & System" + x-openclaw-legacy-path: "/moltbot/preflight" + x-openclaw-auth-tier: "admin" + security: + - OpenClawAdminToken: + [] /preflight/inventory: get: operationId: "get_preflight_inventory"