Dave Baird
49034946a0
Make class and method documentation available
...
Documentation from the swagger spec is available via methods
class_documentation() and method_documentation() on object and API
classes.
2015-11-09 17:04:19 +01:00
Dave Baird
f521680c0f
Moved object classes' constructor into base class
2015-11-04 21:42:27 +01:00
Dave Baird
37b123530f
Add ApiFactory class and proper accessors on object classes
...
ApiFactory provides a get_api() method to generate API objects without
having to hard-code class names. All API and object classes are loaded
automatically.
Also, added proper accessors for attributes of object classes.
2015-11-03 17:58:53 +01:00
Dave Baird
d28737ffd2
Fix misleading comment
2015-11-02 08:24:06 +01:00
dvz5
a4426cf2de
Update BaseObject.mustache
...
Fix deserialization.
2015-10-31 09:01:40 +01:00
dvz5
afcf90798a
Update BaseObject.mustache
...
Fix deserialization
2015-10-30 14:32:10 +01:00
Ampem Darko
1ac6842b5a
Update mustache template to pass hashes in TO_JSON and from_hash
2015-10-21 16:15:42 +00:00
William Cheng
64b46c2e15
update indentation, remove export
2015-06-18 02:40:15 +08:00
wing328
10e07eaf74
add support for cli (perl)
2015-06-18 10:57:09 +08:00
wing328
2e12ac5957
rollback perl template
2015-06-09 12:34:38 +08:00
Ron
1c2d0656b0
Code reformatting
2015-06-07 11:56:08 -04:00
William Cheng
fc43828c20
update type mapping, update test.pl to use local file for testing upload
2015-05-08 03:58:02 +08:00
William Cheng
063a1ffd36
update type list in deserialize
2015-05-08 03:58:02 +08:00
William Cheng
48844442fc
test post body (model), fix to_hash attribute mapping
2015-05-08 03:58:01 +08:00
William Cheng
f69fb40c71
add methods for static variable
2015-05-08 03:58:01 +08:00
William Cheng
0a34793f5a
add inheritance to object (model)
2015-05-08 03:58:00 +08:00