commit | 4b7b567930e9d59e6d0f73cc03e66e002bcf1c77 | [log] [tgz] |
---|---|---|
author | Sapan Bhatia <gwsapan@gmail.com> | Fri Mar 04 22:05:42 2016 +0100 |
committer | Sapan Bhatia <gwsapan@gmail.com> | Fri Mar 04 22:05:42 2016 +0100 |
tree | 3de4ddda08d7b4961ca74f822f8bcd8ddc12a366 | |
parent | 90c60a3d65f0a9c8fc3193a8903207c26ec6407e [diff] |
Print all fields, test template
diff --git a/xos/tools/apigen/fields.template.txt b/xos/tools/apigen/fields.template.txt new file mode 100644 index 0000000..ad5a0b4 --- /dev/null +++ b/xos/tools/apigen/fields.template.txt
@@ -0,0 +1,6 @@ +{% for object in generator.all %} +Object {{ object }}: +Fields: +{% for field in object.fields %}{{ field.name }}:{{ field.type }} +{% endfor %} +{% endfor %}