Support node without console

Fix #532
This commit is contained in:
Julien Duponchelle committed 2016-05-18 11:59:25 +02:00
1 parent d5895c3a47
commit d86cefaaeb
5 files changed
+4 -17

No files matched your search

+1 -1
View File
@@ -148,7 +148,7 @@ class Documentation(object):
if "enum" in prop:
field_type = "enum"
prop['description'] = "Possible values: {}".format(', '.join(prop['enum']))
prop['description'] = "Possible values: {}".format(', '.join(map(lambda a: a or "null", prop['enum'])))
else:
field_type = prop.get("type", "")