mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-22 13:25:17 +00:00
Account for {} in Swagger notes
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@397927 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user