Index: tools/json_schema_compiler/compiler.py |
diff --git a/tools/json_schema_compiler/compiler.py b/tools/json_schema_compiler/compiler.py |
index e09366b243608e861b2e036499feca2b8484531d..f3c4009f8c5b549145557b33f1ea7d72c669787f 100755 |
--- a/tools/json_schema_compiler/compiler.py |
+++ b/tools/json_schema_compiler/compiler.py |
@@ -57,7 +57,7 @@ def GenerateSchema(generator_name, |
api_def = json_schema.DeleteNodes(api_def, 'nocompile') |
api_defs.extend(api_def) |
- api_model = Model() |
+ api_model = Model(allow_inline_enums=False) |
# For single-schema compilation make sure that the first (i.e. only) schema |
# is the default one. |