asterisk/rest-api-templates
Alexander Zhirov 9bcf1461bb v18.15.1 2023-05-25 21:45:57 +03:00
..
README.txt v18.15.1 2023-05-25 21:45:57 +03:00
api.wiki.mustache v18.15.1 2023-05-25 21:45:57 +03:00
ari.make.mustache v18.15.1 2023-05-25 21:45:57 +03:00
ari_model_validators.c.mustache v18.15.1 2023-05-25 21:45:57 +03:00
ari_model_validators.h.mustache v18.15.1 2023-05-25 21:45:57 +03:00
ari_resource.c.mustache v18.15.1 2023-05-25 21:45:57 +03:00
ari_resource.h.mustache v18.15.1 2023-05-25 21:45:57 +03:00
asterisk_processor.py v18.15.1 2023-05-25 21:45:57 +03:00
body_parsing.mustache v18.15.1 2023-05-25 21:45:57 +03:00
do-not-edit.mustache v18.15.1 2023-05-25 21:45:57 +03:00
make_ari_stubs.py v18.15.1 2023-05-25 21:45:57 +03:00
models.wiki.mustache v18.15.1 2023-05-25 21:45:57 +03:00
odict.py v18.15.1 2023-05-25 21:45:57 +03:00
param_cleanup.mustache v18.15.1 2023-05-25 21:45:57 +03:00
param_parsing.mustache v18.15.1 2023-05-25 21:45:57 +03:00
res_ari_resource.c.mustache v18.15.1 2023-05-25 21:45:57 +03:00
rest_handler.mustache v18.15.1 2023-05-25 21:45:57 +03:00
swagger_model.py v18.15.1 2023-05-25 21:45:57 +03:00
transform.py v18.15.1 2023-05-25 21:45:57 +03: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/