summaryrefslogtreecommitdiff
path: root/rest-api-templates/asterisk_processor.py
diff options
context:
space:
mode:
authorDavid M. Lee <dlee@digium.com>2013-08-29 16:21:31 +0000
committerDavid M. Lee <dlee@digium.com>2013-08-29 16:21:31 +0000
commit417230848f177763d06d0d851253df17348fed79 (patch)
treed0d49ab9b118a9e9b7f5f83e2e8a74e0b9068a3c /rest-api-templates/asterisk_processor.py
parent3f0148cd678dc4f61ac624985bc0a54e253abbd9 (diff)
Account for {} in Swagger notes
........ Merged revisions 397927 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@397932 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'rest-api-templates/asterisk_processor.py')
-rw-r--r--rest-api-templates/asterisk_processor.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/rest-api-templates/asterisk_processor.py b/rest-api-templates/asterisk_processor.py
index 6f69b4865..65013d338 100644
--- a/rest-api-templates/asterisk_processor.py
+++ b/rest-api-templates/asterisk_processor.py
@@ -187,6 +187,7 @@ class AsteriskProcessor(SwaggerPostProcessor):
operation.c_http_method = 'AST_HTTP_' + operation.http_method
if not operation.summary.endswith("."):
raise SwaggerError("Summary should end with .", context)
+ operation.wiki_notes = wikify(operation.notes or "")
def process_parameter(self, parameter, context):
if not parameter.data_type in self.type_mapping: