asterisk/rest-api-templates
zuul 16cb686fac Merge "rest-api: Swagger scripts were not replacing format variable in file brief" into 13 9 years ago
..
README.txt
api.wiki.mustache ari: Add documentation that path parameters are case-sensitive 9 years ago
ari.make.mustache ARI: Fix missing dependencies. 10 years ago
ari_model_validators.c.mustache ARI: Add events for Contact and Peer Status changes 10 years ago
ari_model_validators.h.mustache ARI: Add subscription support 12 years ago
ari_resource.c.mustache ari: Fix #include to match generated headers for snakeCase resource files 12 years ago
ari_resource.h.mustache res/ari: Register Stasis application on WebSocket attempt 10 years ago
asterisk_processor.py rest-api-templates: Wikify error code response reasons 10 years ago
body_parsing.mustache ARI: Support channel variables in originate 11 years ago
do-not-edit.mustache
make_ari_stubs.py make_ari_stubs: Update wiki prefix to '13' 11 years ago
models.wiki.mustache The Swagger 1.2 specification for type extension ended up being 12 years ago
odict.py
param_cleanup.mustache ARI - implement allowMultiple for parameters 12 years ago
param_parsing.mustache Investigate and fix memory leaks in Asterisk 10 years ago
res_ari_resource.c.mustache res/ari: Register Stasis application on WebSocket attempt 10 years ago
rest_handler.mustache ari: User better nicknames for ARI operations 12 years ago
swagger_model.py rest-api: Swagger scripts were not replacing format variable in file brief 9 years ago
transform.py Update events to use Swagger 1.3 subtyping, and related aftermath 12 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/