diff options
Diffstat (limited to 'rest-api-templates')
-rw-r--r-- | rest-api-templates/ari_model_validators.h.mustache | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/rest-api-templates/ari_model_validators.h.mustache b/rest-api-templates/ari_model_validators.h.mustache index 6d8673e6b..5a1be4bfc 100644 --- a/rest-api-templates/ari_model_validators.h.mustache +++ b/rest-api-templates/ari_model_validators.h.mustache @@ -53,6 +53,15 @@ int ast_ari_validate_void(struct ast_json *json); /*! + * \brief Validator for native Swagger object. + * + * \param json JSON object to validate. + * \returns True (non-zero) if valid. + * \returns False (zero) if invalid. + */ +int ast_ari_validate_object(struct ast_json *json); + +/*! * \brief Validator for native Swagger byte. * * \param json JSON object to validate. |