Skip to content
Snippets Groups Projects
Commit 55e15a2c authored by David M. Lee's avatar David M. Lee
Browse files

My doc correction in r400842 had a silly bug.

Because I added a wiki_description to models and not their properties, the
rendered wiki page had the model description instead of the property
descriptions, which looks very silly indeed.

(closes issue ASTERISK-22705)
........

Merged revisions 400958 from http://svn.asterisk.org/svn/asterisk/branches/12


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@400959 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 2127848d
No related branches found
No related tags found
No related merge requests found
......@@ -218,6 +218,7 @@ class AsteriskProcessor(SwaggerPostProcessor):
if prop.name != prop.name.lower():
raise SwaggerError("Property name should be all lowercase",
context)
prop.wiki_description = wikify(prop.description)
def process_type(self, swagger_type, context):
swagger_type.c_name = snakify(swagger_type.name)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment