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 b4eebfa191
ari-stubs: Avoid 'is' as comparism with an literal.
3 years ago
..
README.txt
api.wiki.mustache Build System: Enable python3 compatibility. 7 years ago
ari.make.mustache Build System: Create Makefile macro MOD_ADD_SOURCE. 10 years ago
ari_model_validators.c.mustache Remove ASTERISK_REGISTER_FILE. 8 years ago
ari_model_validators.h.mustache res_ari: Fix for Doxygen. 3 years ago
ari_resource.c.mustache Remove ASTERISK_REGISTER_FILE. 8 years ago
ari_resource.h.mustache res_ari: Fix for Doxygen. 3 years ago
asterisk_processor.py ari-stubs: Avoid 'is' as comparism with an literal. 3 years ago
body_parsing.mustache ARI: Support channel variables in originate 11 years ago
do-not-edit.mustache
make_ari_stubs.py Update master for Asterisk 18 5 years ago
models.wiki.mustache The Swagger 1.2 specification for type extension ended up being 11 years ago
odict.py
param_cleanup.mustache
param_parsing.mustache ari: Implement 'debug all' and request/response logging 8 years ago
res_ari_resource.c.mustache res_ari: Fix for Doxygen. 3 years ago
rest_handler.mustache ari: User better nicknames for ARI operations 11 years ago
swagger_model.py Build System: Enable python3 compatibility. 7 years ago
transform.py rest-api-templates: Spelling fixes 3 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/