From: David M. Lee Date: Mon, 24 Jun 2013 21:48:39 +0000 (+0000) Subject: Fixed templates so that the changes from r392777 won't be overwritten the next X-Git-Tag: 13.0.0-beta1~1621 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d56cbf43a0bda6ba2c4af02dd462ffff121a5cb4;p=thirdparty%2Fasterisk.git 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 --- diff --git a/res/stasis_json/resource_sounds.h b/res/stasis_json/resource_sounds.h index 306e2e4a8f..d7f8714e69 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 cf2876c0c5..805b2b781f 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 a55389c070..a25bdc2282 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,