mirror of https://github.com/asterisk/asterisk
|
3 years ago | |
---|---|---|
.. | ||
README.txt | ||
api.wiki.mustache | 7 years ago | |
ari.make.mustache | ||
ari_model_validators.c.mustache | 9 years ago | |
ari_model_validators.h.mustache | 7 years ago | |
ari_resource.c.mustache | 9 years ago | |
ari_resource.h.mustache | 7 years ago | |
asterisk_processor.py | 3 years ago | |
body_parsing.mustache | ||
do-not-edit.mustache | ||
make_ari_stubs.py | 7 years ago | |
models.wiki.mustache | ||
odict.py | ||
param_cleanup.mustache | ||
param_parsing.mustache | 8 years ago | |
res_ari_resource.c.mustache | 6 years ago | |
rest_handler.mustache | ||
swagger_model.py | 7 years ago | |
transform.py | 4 years ago |
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/