Skip to content

Commit 51504a2

Browse files
georgewallacelcawl
andauthored
update logic for x-metatags to use the standard term used by webteam … (#4972)
* update logic for x-metatags to use the standard term used by webteam for other docs * Generate output * Update product-meta.json updating the friendly names as bump logic does not convert product ID to product Name * Updating main product in product_str to be friendly name --------- Co-authored-by: lcawl <[email protected]>
1 parent 34b8463 commit 51504a2

File tree

7 files changed

+1276
-1265
lines changed

7 files changed

+1276
-1265
lines changed

compiler-rs/clients_schema_to_openapi/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,10 +191,10 @@ pub fn product_meta_as_extensions(namespace: &str, product_meta: &IndexMap<Strin
191191
additional_namespace = format!(", {meta}");
192192
}
193193

194-
let product_str = format!("elasticsearch{additional_namespace}");
194+
let product_str = format!("Elasticsearch{additional_namespace}");
195195
let mut product_feature_list: Vec<Value> = Vec::new();
196196
let mut product_feature: Map<String, Value> = Map::new();
197-
product_feature.insert("name".to_string(),Value::String("x-product-feature".to_string()));
197+
product_feature.insert("name".to_string(),Value::String("product_name".to_string()));
198198
product_feature.insert("content".to_string(),Value::String(product_str));
199199
product_feature_list.push(Value::Object(product_feature));
200200
result.insert("x-metaTags".to_string(), Value::Array(product_feature_list));

compiler-rs/compiler-wasm-lib/pkg/compiler_wasm_lib.js

Lines changed: 49 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.

compiler-rs/compiler-wasm-lib/pkg/compiler_wasm_lib_bg.wasm.d.ts

Lines changed: 2 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)