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
David M. Lee 9bed50db41
optional_api: Fix linking problems between modules that export global symbols
12 years ago
..
README.txt This patch adds a RESTful HTTP interface to Asterisk. 12 years ago
api.wiki.mustache Account for {} in Swagger notes 12 years ago
ari.make.mustache Rename everything Stasis-HTTP to ARI 12 years ago
ari_model_validators.c.mustache Rename everything Stasis-HTTP to ARI 12 years ago
ari_model_validators.h.mustache Rename everything Stasis-HTTP to ARI 12 years ago
ari_resource.c.mustache Rename everything Stasis-HTTP to ARI 12 years ago
ari_resource.h.mustache ARI - implement allowMultiple for parameters 12 years ago
asterisk_processor.py Account for {} in Swagger notes 12 years ago
do-not-edit.mustache This patch adds a RESTful HTTP interface to Asterisk. 12 years ago
make_ari_stubs.py Account for {} in Swagger notes 12 years ago
models.wiki.mustache Update events to use Swagger 1.3 subtyping, and related aftermath 12 years ago
odict.py This patch adds a RESTful HTTP interface to Asterisk. 12 years ago
param_cleanup.mustache ARI - implement allowMultiple for parameters 12 years ago
param_parsing.mustache ARI: WebSocket event cleanup 12 years ago
res_ari_resource.c.mustache optional_api: Fix linking problems between modules that export global symbols 12 years ago
rest_handler.mustache Rename everything Stasis-HTTP to ARI 12 years ago
swagger_model.py optional_api: Fix linking problems between modules that export global symbols 12 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/