You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
asterisk/rest-api-templates
Alexander Traud 634e3ebdb8
res_ari: Fix for Doxygen.
3 years ago
..
README.txt
api.wiki.mustache
ari.make.mustache
ari_model_validators.c.mustache
ari_model_validators.h.mustache res_ari: Fix for Doxygen. 3 years ago
ari_resource.c.mustache
ari_resource.h.mustache res_ari: Fix for Doxygen. 3 years ago
asterisk_processor.py
body_parsing.mustache
do-not-edit.mustache
make_ari_stubs.py
models.wiki.mustache
odict.py
param_cleanup.mustache
param_parsing.mustache
res_ari_resource.c.mustache res_ari: Fix for Doxygen. 3 years ago
rest_handler.mustache
swagger_model.py
transform.py

README.txt

This directory contains templates and template processing code for generating
HTTP bindings for the RESTful API's.

The RESTful API's are declared using [Swagger][swagger]. While Swagger provides
a [code generating toolkit][swagger-codegen], it requires Java to run, which
would be an unusual dependency to require for Asterisk developers.

This code generator is similar, but written in Python. Templates are processed
by using [pystache][pystache], which is a fairly simply Python implementation of
[mustache][mustache].

 [swagger]: https://github.com/wordnik/swagger-core/wiki
 [swagger-codegen]: https://github.com/wordnik/swagger-codegen
 [pystache]: https://github.com/defunkt/pystache
 [mustache]: http://mustache.github.io/