asterisk/rest-api-templates
David M. Lee d56cbf43a0 Fixed templates so that the changes from r392777 won't be overwritten the next
time we run the generators.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@392778 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-06-24 21:48:39 +00:00
..
README.txt This patch adds a RESTful HTTP interface to Asterisk. 2013-04-22 14:58:53 +00:00
asterisk_processor.py Add channel events for res_stasis apps 2013-05-10 13:13:06 +00:00
do-not-edit.mustache This patch adds a RESTful HTTP interface to Asterisk. 2013-04-22 14:58:53 +00:00
event_function_decl.mustache Add channel events for res_stasis apps 2013-05-10 13:13:06 +00:00
make_stasis_http_stubs.py Move JSON event generators into separate modules 2013-05-14 12:47:52 +00:00
odict.py This patch adds a RESTful HTTP interface to Asterisk. 2013-04-22 14:58:53 +00:00
res_stasis_http_resource.c.mustache Fixed templates so that the changes from r392777 won't be overwritten the next 2013-06-24 21:48:39 +00:00
res_stasis_json_resource.c.mustache Fixed templates so that the changes from r392777 won't be overwritten the next 2013-06-24 21:48:39 +00:00
res_stasis_json_resource.exports.mustache Move JSON event generators into separate modules 2013-05-14 12:47:52 +00:00
rest_handler.mustache This patch adds a RESTful HTTP interface to Asterisk. 2013-04-22 14:58:53 +00:00
stasis_http.make.mustache This patch adds a RESTful HTTP interface to Asterisk. 2013-04-22 14:58:53 +00:00
stasis_http_resource.c.mustache This patch adds a RESTful HTTP interface to Asterisk. 2013-04-22 14:58:53 +00:00
stasis_http_resource.h.mustache Move JSON event generators into separate modules 2013-05-14 12:47:52 +00:00
stasis_json_resource.h.mustache Merge in the bridge_construction branch to make the system use the Bridging API. 2013-05-21 18:00:22 +00:00
swagger_model.py Add channel events for res_stasis apps 2013-05-10 13:13:06 +00:00
transform.py This patch adds a RESTful HTTP interface to Asterisk. 2013-04-22 14:58:53 +00:00

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/