From 1e7bf700f0fb081c910c3f1eef61a6ee03ca63ad Mon Sep 17 00:00:00 2001 From: Kent Dong Date: Tue, 8 Oct 2024 10:45:08 +0800 Subject: [PATCH] fix: Use x-scope instead of scope as field name in Wasm spec (#325) --- src/content/docs/latest/en/user/wasm-image-spec.md | 2 +- src/content/docs/latest/zh-cn/user/wasm-image-spec.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/docs/latest/en/user/wasm-image-spec.md b/src/content/docs/latest/en/user/wasm-image-spec.md index bfc5134440..447134c362 100644 --- a/src/content/docs/latest/en/user/wasm-image-spec.md +++ b/src/content/docs/latest/en/user/wasm-image-spec.md @@ -60,7 +60,7 @@ spec: properties: consumers: type: array - scope: GLOBAL # Field effective scope. Options: GLOBAL (global configuration), INSTANCE (instance-level configuration, which can be set associated to routes or domains.), ALL (Available as both global and instance-level configurations). Optional. Default value is INSTANCE. + x-scope: GLOBAL # Field effective scope. Options: GLOBAL (global configuration), INSTANCE (instance-level configuration, which can be set associated to routes, domains or services.), ALL (Available as both global and instance-level configurations). Optional. Default value is INSTANCE. title: 调用方列表 x-title-i18n: en-US: Consumer List diff --git a/src/content/docs/latest/zh-cn/user/wasm-image-spec.md b/src/content/docs/latest/zh-cn/user/wasm-image-spec.md index ce35e89d8c..d84e23a439 100644 --- a/src/content/docs/latest/zh-cn/user/wasm-image-spec.md +++ b/src/content/docs/latest/zh-cn/user/wasm-image-spec.md @@ -65,7 +65,7 @@ spec: properties: consumers: type: array - scope: GLOBAL # 配置项作用范围。可选值:GLOBAL(全局配置)、INSTANCE(实例级配置,即在关联路由、域名时的配置)、ALL(全局、实例皆可配置)。可空。缺省值为 INSTANCE。 + x-scope: GLOBAL # 配置项作用范围。可选值:GLOBAL(全局配置)、INSTANCE(实例级配置,即在关联路由、域名、服务时的配置)、ALL(全局、实例皆可配置)。可空。缺省值为 INSTANCE。 title: 调用方列表 x-title-i18n: en-US: Consumer List