diff --git a/java-codegen/src/main/java/org/opensearch/client/codegen/NameSanitizer.java b/java-codegen/src/main/java/org/opensearch/client/codegen/NameSanitizer.java index 83214e1031..2e44c30cae 100644 --- a/java-codegen/src/main/java/org/opensearch/client/codegen/NameSanitizer.java +++ b/java-codegen/src/main/java/org/opensearch/client/codegen/NameSanitizer.java @@ -15,6 +15,8 @@ public class NameSanitizer { private static final Set reservedWords = new HashSet<>() { { + add("default"); + add("native"); add("transient"); } };