3d63833bd6
Breaks many things until they can be reworked. A partial list: chan_agent chan_dahdi, chan_misdn, chan_iax2 native bridging app_queue COLP updates DTMF attended transfers Protocol attended transfers git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@389378 65c4cc65-6c06-0410-ace0-fbb531ad65f3 |
||
---|---|---|
.. | ||
README.txt | ||
asterisk_processor.py | ||
do-not-edit.mustache | ||
event_function_decl.mustache | ||
make_stasis_http_stubs.py | ||
odict.py | ||
res_stasis_http_resource.c.mustache | ||
res_stasis_json_resource.c.mustache | ||
res_stasis_json_resource.exports.mustache | ||
rest_handler.mustache | ||
stasis_http.make.mustache | ||
stasis_http_resource.c.mustache | ||
stasis_http_resource.h.mustache | ||
stasis_json_resource.h.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/