diff options
author | David M. Lee <dlee@digium.com> | 2013-04-24 21:47:03 +0000 |
---|---|---|
committer | David M. Lee <dlee@digium.com> | 2013-04-24 21:47:03 +0000 |
commit | 522a96974184ea3fca500f1a42385770756f3d78 (patch) | |
tree | 0d9015ab357653d329dd37672eac540e6c42d2c5 /rest-api-templates | |
parent | 22aa2a6e9b80891bf0cf8668bc5cca3e404fd515 (diff) |
Document JSON models in resource_*.h
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@386462 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'rest-api-templates')
-rw-r--r-- | rest-api-templates/stasis_http_resource.h.mustache | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/rest-api-templates/stasis_http_resource.h.mustache b/rest-api-templates/stasis_http_resource.h.mustache index 6e7af1648..bfec07f0b 100644 --- a/rest-api-templates/stasis_http_resource.h.mustache +++ b/rest-api-templates/stasis_http_resource.h.mustache @@ -64,5 +64,16 @@ void stasis_http_{{c_nickname}}(struct ast_variable *headers, struct ast_{{c_nic {{/operations}} {{/apis}} +/* + * JSON models + * +{{#models}} + * {{id}} +{{#properties}} + * - {{name}}: {{type}} {{#required}}(required){{/required}} +{{/properties}} +{{/models}} + */ + #endif /* _ASTERISK_RESOURCE_{{name_caps}}_H */ {{/api_declaration}} |