diff options
Diffstat (limited to 'rest-api-templates/rest_handler.mustache')
-rw-r--r-- | rest-api-templates/rest_handler.mustache | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rest-api-templates/rest_handler.mustache b/rest-api-templates/rest_handler.mustache index a7dfc60e8..68b98811d 100644 --- a/rest-api-templates/rest_handler.mustache +++ b/rest-api-templates/rest_handler.mustache @@ -1,4 +1,4 @@ -{{! -*- C -*- +{{! * Asterisk -- An open source telephony toolkit. * * Copyright (C) 2013, Digium, Inc. @@ -30,7 +30,9 @@ static struct stasis_rest_handlers {{full_name}} = { {{/is_wildcard}} .callbacks = { {{#operations}} +{{#is_req}} [{{c_http_method}}] = stasis_http_{{c_nickname}}_cb, +{{/is_req}} {{/operations}} }, .num_children = {{num_children}}, |