[asterisk-commits] dlee: branch dlee/allow-multiple r395729 - in /team/dlee/allow-multiple: res/...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Jul 30 08:54:45 CDT 2013
Author: dlee
Date: Tue Jul 30 08:54:43 2013
New Revision: 395729
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=395729
Log:
Add description for get_sounds args; omit empty doxygen docs from the generator.
Modified:
team/dlee/allow-multiple/res/ari/resource_sounds.h
team/dlee/allow-multiple/rest-api-templates/ari_resource.h.mustache
team/dlee/allow-multiple/rest-api/api-docs/sounds.json
Modified: team/dlee/allow-multiple/res/ari/resource_sounds.h
URL: http://svnview.digium.com/svn/asterisk/team/dlee/allow-multiple/res/ari/resource_sounds.h?view=diff&rev=395729&r1=395728&r2=395729
==============================================================================
--- team/dlee/allow-multiple/res/ari/resource_sounds.h (original)
+++ team/dlee/allow-multiple/res/ari/resource_sounds.h Tue Jul 30 08:54:43 2013
@@ -41,9 +41,9 @@
/*! \brief Argument struct for ast_ari_get_sounds() */
struct ast_get_sounds_args {
- /*! \brief */
+ /*! \brief Lookup sound for a specific language. */
const char *lang;
- /*! \brief */
+ /*! \brief Lookup sound in a specific format. */
const char *format;
};
/*!
Modified: team/dlee/allow-multiple/rest-api-templates/ari_resource.h.mustache
URL: http://svnview.digium.com/svn/asterisk/team/dlee/allow-multiple/rest-api-templates/ari_resource.h.mustache?view=diff&rev=395729&r1=395728&r2=395729
==============================================================================
--- team/dlee/allow-multiple/rest-api-templates/ari_resource.h.mustache (original)
+++ team/dlee/allow-multiple/rest-api-templates/ari_resource.h.mustache Tue Jul 30 08:54:43 2013
@@ -46,7 +46,9 @@
{{#description}}
{{/description}}
{{^allow_multiple}}
+{{#description}}
/*! \brief {{{description}}} */
+{{/description}}
{{c_data_type}}{{c_space}}{{c_name}};
{{/allow_multiple}}
{{#allow_multiple}}
Modified: team/dlee/allow-multiple/rest-api/api-docs/sounds.json
URL: http://svnview.digium.com/svn/asterisk/team/dlee/allow-multiple/rest-api/api-docs/sounds.json?view=diff&rev=395729&r1=395728&r2=395729
==============================================================================
--- team/dlee/allow-multiple/rest-api/api-docs/sounds.json (original)
+++ team/dlee/allow-multiple/rest-api/api-docs/sounds.json Tue Jul 30 08:54:43 2013
@@ -19,12 +19,14 @@
"parameters": [
{
"name": "lang",
+ "description": "Lookup sound for a specific language.",
"paramType": "query",
"dataType": "string",
"required": false
},
{
"name": "format",
+ "description": "Lookup sound in a specific format.",
"paramType": "query",
"dataType": "string",
"required": false,
More information about the asterisk-commits
mailing list