summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--res/stasis_json/resource_sounds.h6
-rw-r--r--rest-api-templates/res_stasis_http_resource.c.mustache3
-rw-r--r--rest-api-templates/res_stasis_json_resource.c.mustache3
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,