mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-21 12:30:41 +00:00
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
This commit is contained in:
@@ -47,6 +47,12 @@ API_TRANSFORMS = [
|
||||
'stasis_http/resource_{{name}}.h'),
|
||||
Transform(rel('stasis_http_resource.c.mustache'),
|
||||
'stasis_http/resource_{{name}}.c', False),
|
||||
Transform(rel('res_stasis_json_resource.c.mustache'),
|
||||
'res_stasis_json_{{name}}.c'),
|
||||
Transform(rel('res_stasis_json_resource.exports.mustache'),
|
||||
'res_stasis_json_{{name}}.exports.in'),
|
||||
Transform(rel('stasis_json_resource.h.mustache'),
|
||||
'stasis_json/resource_{{name}}.h'),
|
||||
]
|
||||
|
||||
RESOURCES_TRANSFORMS = [
|
||||
|
Reference in New Issue
Block a user