Index: tools/json_schema_compiler/previewserver.py |
diff --git a/tools/json_schema_compiler/previewserver.py b/tools/json_schema_compiler/previewserver.py |
index be2bcb9bde297cbd7586298ebc16177200694f5e..d2b0c1d0708189664a0a1f331fb75da156e87c18 100755 |
--- a/tools/json_schema_compiler/previewserver.py |
+++ b/tools/json_schema_compiler/previewserver.py |
@@ -196,7 +196,7 @@ updateEverything(); |
json_file_path) |
return |
type_generator = cpp_type_generator.CppTypeGenerator( |
- 'preview::api', namespace, cpp_util.Classname(filename).lower()) |
+ 'preview::api', namespace, namespace.unix_name) |
# Get json file depedencies |
for dependency in api_defs[0].get('dependencies', []): |