Index: tools/json_schema_compiler/model.py |
diff --git a/tools/json_schema_compiler/model.py b/tools/json_schema_compiler/model.py |
index dd68e9b1056f7e84c9aab6d997a1a3730a22030b..8594217ac22a472d7b2d0d4bf5590e94a12d426e 100644 |
--- a/tools/json_schema_compiler/model.py |
+++ b/tools/json_schema_compiler/model.py |
@@ -187,6 +187,7 @@ class Type(object): |
elif 'enum' in json and json_type == 'string': |
self.property_type = PropertyType.ENUM |
self.enum_values = [EnumValue(value) for value in json['enum']] |
+ self.cpp_omit_enum_type = 'cpp_omit_enum_type' in json |
elif json_type == 'any': |
self.property_type = PropertyType.ANY |
elif json_type == 'binary': |