mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
5 files changed
+4
-17
No files matched your search
@@ -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", "")
|
||||
|
||||
|
||||
Reference in new issue
Block a user