diff options
author | Kinsey Moore <kmoore@digium.com> | 2013-05-14 12:47:52 +0000 |
---|---|---|
committer | Kinsey Moore <kmoore@digium.com> | 2013-05-14 12:47:52 +0000 |
commit | 2a9cbd693e2016ecaa1e2e31ca520a9dd48f0ca2 (patch) | |
tree | 097e84d7a4acba3a32abc585467cccfe90c94278 /rest-api-templates/res_stasis_json_resource.exports.mustache | |
parent | 54424c2ee2370d3d9dcb61ad438bc5d5ee2cbcdd (diff) |
Move JSON event generators into separate modules
This moves the JSON event generators out of the Stasis-HTTP modules and
into standalone JSON-related counterparts so that Stasis-HTTP and
res_stasis can depend on them without creating dependency cycles. This
also provides a future location for Swagger Model validator functions
once the generators for that code are written.
Review: https://reviewboard.asterisk.org/r/2534/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@388668 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'rest-api-templates/res_stasis_json_resource.exports.mustache')
-rw-r--r-- | rest-api-templates/res_stasis_json_resource.exports.mustache | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/rest-api-templates/res_stasis_json_resource.exports.mustache b/rest-api-templates/res_stasis_json_resource.exports.mustache new file mode 100644 index 000000000..0f958fa04 --- /dev/null +++ b/rest-api-templates/res_stasis_json_resource.exports.mustache @@ -0,0 +1,12 @@ +{ +{{#api_declaration}} +{{#has_events}} + global: +{{#events}} + LINKER_SYMBOL_PREFIXstasis_json_event_{{c_id}}_create; +{{/events}} +{{/has_events}} +{{/api_declaration}} + local: + *; +}; |