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