diff options
author | David M. Lee <dlee@digium.com> | 2013-06-24 21:48:39 +0000 |
---|---|---|
committer | David M. Lee <dlee@digium.com> | 2013-06-24 21:48:39 +0000 |
commit | d56cbf43a0bda6ba2c4af02dd462ffff121a5cb4 (patch) | |
tree | 9b6bc5dfdd924ac6fb0af5d99aca49340e61b32a | |
parent | b5f18d167795f7792483bcf5f4f483bdfb8c9df3 (diff) |
Fixed templates so that the changes from r392777 won't be overwritten the next
time we run the generators.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@392778 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | res/stasis_json/resource_sounds.h | 6 | ||||
-rw-r--r-- | rest-api-templates/res_stasis_http_resource.c.mustache | 3 | ||||
-rw-r--r-- | rest-api-templates/res_stasis_json_resource.c.mustache | 3 |
3 files changed, 6 insertions, 6 deletions
diff --git a/res/stasis_json/resource_sounds.h b/res/stasis_json/resource_sounds.h index 306e2e4a8..d7f8714e6 100644 --- a/res/stasis_json/resource_sounds.h +++ b/res/stasis_json/resource_sounds.h @@ -41,10 +41,12 @@ * JSON models * * Sound - * - lang: string (required) * - text: string * - id: string (required) - * - formats: List[string] (required) + * - formats: List[FormatLangPair] (required) + * FormatLangPair + * - language: string (required) + * - format: string (required) */ #endif /* _ASTERISK_RESOURCE_SOUNDS_H */ diff --git a/rest-api-templates/res_stasis_http_resource.c.mustache b/rest-api-templates/res_stasis_http_resource.c.mustache index cf2876c0c..805b2b781 100644 --- a/rest-api-templates/res_stasis_http_resource.c.mustache +++ b/rest-api-templates/res_stasis_http_resource.c.mustache @@ -111,8 +111,7 @@ static int unload_module(void) return 0; } -AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_DEFAULT, - "RESTful API module - {{{description}}}", +AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_DEFAULT, "RESTful API module - {{{description}}}", .load = load_module, .unload = unload_module, .nonoptreq = "res_stasis_http,res_stasis", diff --git a/rest-api-templates/res_stasis_json_resource.c.mustache b/rest-api-templates/res_stasis_json_resource.c.mustache index a55389c07..a25bdc228 100644 --- a/rest-api-templates/res_stasis_json_resource.c.mustache +++ b/rest-api-templates/res_stasis_json_resource.c.mustache @@ -143,8 +143,7 @@ static int unload_module(void) return 0; } -AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_GLOBAL_SYMBOLS | AST_MODFLAG_LOAD_ORDER, - "Stasis JSON Generators and Validators - {{{description}}}", +AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_GLOBAL_SYMBOLS | AST_MODFLAG_LOAD_ORDER, "Stasis JSON Generators and Validators - {{{description}}}", .load = load_module, .unload = unload_module, .load_pri = AST_MODPRI_DEFAULT, |