[svn-commits] dlee: branch dlee/ari-event-remodel r392109 - in /team/dlee/ari-event-remodel...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Jun 17 16:24:57 CDT 2013


Author: dlee
Date: Mon Jun 17 16:24:56 2013
New Revision: 392109

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=392109
Log:
Doxygen fixes

Modified:
    team/dlee/ari-event-remodel/res/stasis_http/ari_model.h
    team/dlee/ari-event-remodel/rest-api-templates/ari_model.h.mustache

Modified: team/dlee/ari-event-remodel/res/stasis_http/ari_model.h
URL: http://svnview.digium.com/svn/asterisk/team/dlee/ari-event-remodel/res/stasis_http/ari_model.h?view=diff&rev=392109&r1=392108&r2=392109
==============================================================================
--- team/dlee/ari-event-remodel/res/stasis_http/ari_model.h (original)
+++ team/dlee/ari-event-remodel/res/stasis_http/ari_model.h Mon Jun 17 16:24:56 2013
@@ -32,26 +32,79 @@
 
 #include "asterisk/json.h"
 
-/*! @{
- * \brief Validator for native Swagger type.
- *
- * \param json JSON object to validate.
- * \returns True (non-zero) if valid.
- * \returns False (zero) if invalid.
- */
-
+/*! @{ */
+
+/*!
+ * \brief Validator for native Swagger byte.
+ *
+ * \param json JSON object to validate.
+ * \returns True (non-zero) if valid.
+ * \returns False (zero) if invalid.
+ */
 int ari_validate_byte(struct ast_json *json);
+
+/*!
+ * \brief Validator for native Swagger boolean.
+ *
+ * \param json JSON object to validate.
+ * \returns True (non-zero) if valid.
+ * \returns False (zero) if invalid.
+ */
 int ari_validate_boolean(struct ast_json *json);
+
+/*!
+ * \brief Validator for native Swagger int.
+ *
+ * \param json JSON object to validate.
+ * \returns True (non-zero) if valid.
+ * \returns False (zero) if invalid.
+ */
 int ari_validate_int(struct ast_json *json);
+
+/*!
+ * \brief Validator for native Swagger long.
+ *
+ * \param json JSON object to validate.
+ * \returns True (non-zero) if valid.
+ * \returns False (zero) if invalid.
+ */
 int ari_validate_long(struct ast_json *json);
+
+/*!
+ * \brief Validator for native Swagger float.
+ *
+ * \param json JSON object to validate.
+ * \returns True (non-zero) if valid.
+ * \returns False (zero) if invalid.
+ */
 int ari_validate_float(struct ast_json *json);
+
+/*!
+ * \brief Validator for native Swagger double.
+ *
+ * \param json JSON object to validate.
+ * \returns True (non-zero) if valid.
+ * \returns False (zero) if invalid.
+ */
 int ari_validate_double(struct ast_json *json);
+
+/*!
+ * \brief Validator for native Swagger string.
+ *
+ * \param json JSON object to validate.
+ * \returns True (non-zero) if valid.
+ * \returns False (zero) if invalid.
+ */
 int ari_validate_string(struct ast_json *json);
+
+/*!
+ * \brief Validator for native Swagger date.
+ *
+ * \param json JSON object to validate.
+ * \returns True (non-zero) if valid.
+ * \returns False (zero) if invalid.
+ */
 int ari_validate_date(struct ast_json *json);
-
-/*! @} */
-
-/*! @{ */
 
 /*!
  * \brief Validator for a Swagger List[]/JSON array.

Modified: team/dlee/ari-event-remodel/rest-api-templates/ari_model.h.mustache
URL: http://svnview.digium.com/svn/asterisk/team/dlee/ari-event-remodel/rest-api-templates/ari_model.h.mustache?view=diff&rev=392109&r1=392108&r2=392109
==============================================================================
--- team/dlee/ari-event-remodel/rest-api-templates/ari_model.h.mustache (original)
+++ team/dlee/ari-event-remodel/rest-api-templates/ari_model.h.mustache Mon Jun 17 16:24:56 2013
@@ -30,26 +30,79 @@
 
 #include "asterisk/json.h"
 
-/*! @{
- * \brief Validator for native Swagger type.
+/*! @{ */
+
+/*!
+ * \brief Validator for native Swagger byte.
  *
  * \param json JSON object to validate.
  * \returns True (non-zero) if valid.
  * \returns False (zero) if invalid.
  */
+int ari_validate_byte(struct ast_json *json);
 
-int ari_validate_byte(struct ast_json *json);
+/*!
+ * \brief Validator for native Swagger boolean.
+ *
+ * \param json JSON object to validate.
+ * \returns True (non-zero) if valid.
+ * \returns False (zero) if invalid.
+ */
 int ari_validate_boolean(struct ast_json *json);
+
+/*!
+ * \brief Validator for native Swagger int.
+ *
+ * \param json JSON object to validate.
+ * \returns True (non-zero) if valid.
+ * \returns False (zero) if invalid.
+ */
 int ari_validate_int(struct ast_json *json);
+
+/*!
+ * \brief Validator for native Swagger long.
+ *
+ * \param json JSON object to validate.
+ * \returns True (non-zero) if valid.
+ * \returns False (zero) if invalid.
+ */
 int ari_validate_long(struct ast_json *json);
+
+/*!
+ * \brief Validator for native Swagger float.
+ *
+ * \param json JSON object to validate.
+ * \returns True (non-zero) if valid.
+ * \returns False (zero) if invalid.
+ */
 int ari_validate_float(struct ast_json *json);
+
+/*!
+ * \brief Validator for native Swagger double.
+ *
+ * \param json JSON object to validate.
+ * \returns True (non-zero) if valid.
+ * \returns False (zero) if invalid.
+ */
 int ari_validate_double(struct ast_json *json);
+
+/*!
+ * \brief Validator for native Swagger string.
+ *
+ * \param json JSON object to validate.
+ * \returns True (non-zero) if valid.
+ * \returns False (zero) if invalid.
+ */
 int ari_validate_string(struct ast_json *json);
+
+/*!
+ * \brief Validator for native Swagger date.
+ *
+ * \param json JSON object to validate.
+ * \returns True (non-zero) if valid.
+ * \returns False (zero) if invalid.
+ */
 int ari_validate_date(struct ast_json *json);
-
-/*! @} */
-
-/*! @{ */
 
 /*!
  * \brief Validator for a Swagger List[]/JSON array.




More information about the svn-commits mailing list