Skip to content

[9.1] update logic for x-metatags to use the standard term used by webteam … (#4972) #5027

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions compiler-rs/clients_schema_to_openapi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,10 @@ pub fn product_meta_as_extensions(namespace: &str, product_meta: &IndexMap<Strin
additional_namespace = format!(", {meta}");
}

let product_str = format!("elasticsearch{additional_namespace}");
let product_str = format!("Elasticsearch{additional_namespace}");
let mut product_feature_list: Vec<Value> = Vec::new();
let mut product_feature: Map<String, Value> = Map::new();
product_feature.insert("name".to_string(),Value::String("x-product-feature".to_string()));
product_feature.insert("name".to_string(),Value::String("product_name".to_string()));
product_feature.insert("content".to_string(),Value::String(product_str));
product_feature_list.push(Value::Object(product_feature));
result.insert("x-metaTags".to_string(), Value::Array(product_feature_list));
Expand Down
Binary file modified compiler-rs/compiler-wasm-lib/pkg/compiler_wasm_lib_bg.wasm
Binary file not shown.
Loading