refactor(openapi): resource-oriented paths for /openapi/v1 + difyctl version gate (#38367)

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
L1nSn0wandautofix-ci[bot] authored and GitHub committed 2026-07-08 02:22:59 +00:00
1 parent abd720146d
commit 915655683c
69 files changed
+1097 -570

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@ export class WorkspacesClient {
/**
* Server-side workspace switch via OpenAPI POST
* `/workspaces/{id}/switch` — the bearer-authed equivalent of the
* `/workspaces/{id}:switch` — the bearer-authed equivalent of the
* console's POST `/workspaces/switch`. The server updates the caller's
* `current` tenant_account_join row. Callers MUST refresh their local
* `hosts.yml` only after this resolves — never fall back to a local