From b6a9f40ed893f9033003a397542de4f0dda6cc08 Mon Sep 17 00:00:00 2001 From: Citrons <909229731@qq.com> Date: Tue, 25 Aug 2026 01:44:50 +0800 Subject: [PATCH] =?UTF-8?q?chore(FEAT-MO-005):=20=E5=90=8C=E6=AD=A5OpenAPI?= =?UTF-8?q?=E7=94=9F=E6=88=90=E5=A5=91=E7=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/openapi/openapi.json | 14 +++++++------- web/src/api/generated/schema.ts | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/server/openapi/openapi.json b/server/openapi/openapi.json index 74e346c..d1919d2 100644 --- a/server/openapi/openapi.json +++ b/server/openapi/openapi.json @@ -19,7 +19,7 @@ "type": "object" }, "snapshotId": { "type": "string" }, - "source": { "enum": ["tdx"], "type": "string" }, + "source": { "enum": ["tdx", "aktools", "mixed"], "type": "string" }, "status": { "enum": ["fresh", "delayed", "partial", "unavailable"], "type": "string" @@ -110,7 +110,7 @@ "type": "object" }, "snapshotId": { "type": "string" }, - "source": { "enum": ["tdx"], "type": "string" }, + "source": { "enum": ["tdx", "aktools", "mixed"], "type": "string" }, "status": { "enum": ["fresh", "delayed", "partial", "unavailable"], "type": "string" @@ -165,7 +165,7 @@ "type": "object" }, "snapshotId": { "type": "string" }, - "source": { "enum": ["tdx"], "type": "string" }, + "source": { "enum": ["tdx", "aktools", "mixed"], "type": "string" }, "status": { "enum": ["fresh", "delayed", "partial", "unavailable"], "type": "string" @@ -206,7 +206,7 @@ "type": "object" }, "snapshotId": { "type": "string" }, - "source": { "enum": ["tdx"], "type": "string" }, + "source": { "enum": ["tdx", "aktools", "mixed"], "type": "string" }, "status": { "enum": ["fresh", "delayed", "partial", "unavailable"], "type": "string" @@ -250,7 +250,7 @@ "type": "object" }, "snapshotId": { "type": "string" }, - "source": { "enum": ["tdx"], "type": "string" }, + "source": { "enum": ["tdx", "aktools", "mixed"], "type": "string" }, "status": { "enum": ["fresh", "delayed", "partial", "unavailable"], "type": "string" @@ -280,7 +280,7 @@ "type": "object" }, "snapshotId": { "type": "string" }, - "source": { "enum": ["tdx"], "type": "string" }, + "source": { "enum": ["tdx", "aktools", "mixed"], "type": "string" }, "status": { "enum": ["fresh", "delayed", "partial", "unavailable"], "type": "string" @@ -413,7 +413,7 @@ "type": "object" }, "snapshotId": { "type": "string" }, - "source": { "enum": ["tdx"], "type": "string" }, + "source": { "enum": ["tdx", "aktools", "mixed"], "type": "string" }, "status": { "enum": ["fresh", "delayed", "partial", "unavailable"], "type": "string" diff --git a/web/src/api/generated/schema.ts b/web/src/api/generated/schema.ts index 54bcf84..edebb53 100644 --- a/web/src/api/generated/schema.ts +++ b/web/src/api/generated/schema.ts @@ -179,7 +179,7 @@ export interface components { data: components['schemas']['BreadthDataDto'] | null; snapshotId: string; /** @enum {string} */ - source: 'tdx'; + source: 'tdx' | 'aktools' | 'mixed'; /** @enum {string} */ status: 'fresh' | 'delayed' | 'partial' | 'unavailable'; warnings: string[]; @@ -235,7 +235,7 @@ export interface components { data: components['schemas']['FundDataDto'] | null; snapshotId: string; /** @enum {string} */ - source: 'tdx'; + source: 'tdx' | 'aktools' | 'mixed'; /** @enum {string} */ status: 'fresh' | 'delayed' | 'partial' | 'unavailable'; warnings: string[]; @@ -266,7 +266,7 @@ export interface components { data: components['schemas']['IndexDetailDataDto'] | null; snapshotId: string; /** @enum {string} */ - source: 'tdx'; + source: 'tdx' | 'aktools' | 'mixed'; /** @enum {string} */ status: 'fresh' | 'delayed' | 'partial' | 'unavailable'; warnings: string[]; @@ -289,7 +289,7 @@ export interface components { data: components['schemas']['IndicesDataDto'] | null; snapshotId: string; /** @enum {string} */ - source: 'tdx'; + source: 'tdx' | 'aktools' | 'mixed'; /** @enum {string} */ status: 'fresh' | 'delayed' | 'partial' | 'unavailable'; warnings: string[]; @@ -309,7 +309,7 @@ export interface components { data: components['schemas']['SectorDetailDataDto'] | null; snapshotId: string; /** @enum {string} */ - source: 'tdx'; + source: 'tdx' | 'aktools' | 'mixed'; /** @enum {string} */ status: 'fresh' | 'delayed' | 'partial' | 'unavailable'; warnings: string[]; @@ -328,7 +328,7 @@ export interface components { data: components['schemas']['SectorDataDto'] | null; snapshotId: string; /** @enum {string} */ - source: 'tdx'; + source: 'tdx' | 'aktools' | 'mixed'; /** @enum {string} */ status: 'fresh' | 'delayed' | 'partial' | 'unavailable'; warnings: string[]; @@ -401,7 +401,7 @@ export interface components { data: components['schemas']['SummaryDataDto'] | null; snapshotId: string; /** @enum {string} */ - source: 'tdx'; + source: 'tdx' | 'aktools' | 'mixed'; /** @enum {string} */ status: 'fresh' | 'delayed' | 'partial' | 'unavailable'; warnings: string[];