summaryrefslogtreecommitdiff
path: root/res/res_ari_sounds.c
diff options
context:
space:
mode:
authorKevin Harwell <kharwell@digium.com>2016-08-18 17:16:43 -0500
committerKevin Harwell <kharwell@digium.com>2016-08-18 17:16:43 -0500
commitff2378c73598b4df55ef1508c93bd97c480a4945 (patch)
tree226116ecd9580d02fcb96bb7465558ff021a2568 /res/res_ari_sounds.c
parentcab6975b02b55b8b91560b5a186c6f82a4d7ee55 (diff)
rest-api: Swagger scripts were not replacing format variable in file brief
Given resource paths did not have 'json' substituted in for the '{format}'. For some auto generated documentation/comment strings it resulted in something like the following: "... REST handler for /api-docs/sounds.{format}" This patch makes sure the resource api's path is properly substituted. ASTERISK-25472 #close Change-Id: Ie3e950a35db4043e284019d6c9061f3b03922e23
Diffstat (limited to 'res/res_ari_sounds.c')
-rw-r--r--res/res_ari_sounds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/res/res_ari_sounds.c b/res/res_ari_sounds.c
index c53330d54..935025dec 100644
--- a/res/res_ari_sounds.c
+++ b/res/res_ari_sounds.c
@@ -208,7 +208,7 @@ fin: __attribute__((unused))
return;
}
-/*! \brief REST handler for /api-docs/sounds.{format} */
+/*! \brief REST handler for /api-docs/sounds.json */
static struct stasis_rest_handlers sounds_soundId = {
.path_segment = "soundId",
.is_wildcard = 1,
@@ -218,7 +218,7 @@ static struct stasis_rest_handlers sounds_soundId = {
.num_children = 0,
.children = { }
};
-/*! \brief REST handler for /api-docs/sounds.{format} */
+/*! \brief REST handler for /api-docs/sounds.json */
static struct stasis_rest_handlers sounds = {
.path_segment = "sounds",
.callbacks = {