[asterisk-commits] dlee: trunk r392778 - in /trunk: res/stasis_json/ rest-api-templates/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jun 24 16:48:40 CDT 2013


Author: dlee
Date: Mon Jun 24 16:48:39 2013
New Revision: 392778

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=392778
Log:
Fixed templates so that the changes from r392777 won't be overwritten the next
time we run the generators.

Modified:
    trunk/res/stasis_json/resource_sounds.h
    trunk/rest-api-templates/res_stasis_http_resource.c.mustache
    trunk/rest-api-templates/res_stasis_json_resource.c.mustache

Modified: trunk/res/stasis_json/resource_sounds.h
URL: http://svnview.digium.com/svn/asterisk/trunk/res/stasis_json/resource_sounds.h?view=diff&rev=392778&r1=392777&r2=392778
==============================================================================
--- trunk/res/stasis_json/resource_sounds.h (original)
+++ trunk/res/stasis_json/resource_sounds.h Mon Jun 24 16:48:39 2013
@@ -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 */

Modified: trunk/rest-api-templates/res_stasis_http_resource.c.mustache
URL: http://svnview.digium.com/svn/asterisk/trunk/rest-api-templates/res_stasis_http_resource.c.mustache?view=diff&rev=392778&r1=392777&r2=392778
==============================================================================
--- trunk/rest-api-templates/res_stasis_http_resource.c.mustache (original)
+++ trunk/rest-api-templates/res_stasis_http_resource.c.mustache Mon Jun 24 16:48:39 2013
@@ -111,8 +111,7 @@
 	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",

Modified: trunk/rest-api-templates/res_stasis_json_resource.c.mustache
URL: http://svnview.digium.com/svn/asterisk/trunk/rest-api-templates/res_stasis_json_resource.c.mustache?view=diff&rev=392778&r1=392777&r2=392778
==============================================================================
--- trunk/rest-api-templates/res_stasis_json_resource.c.mustache (original)
+++ trunk/rest-api-templates/res_stasis_json_resource.c.mustache Mon Jun 24 16:48:39 2013
@@ -143,8 +143,7 @@
 	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,




More information about the asterisk-commits mailing list