[asterisk-commits] dlee: branch 12 r400958 - /branches/12/rest-api-templates/asterisk_processor.py
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Oct 15 08:43:08 CDT 2013
Author: dlee
Date: Tue Oct 15 08:43:05 2013
New Revision: 400958
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=400958
Log:
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)
Modified:
branches/12/rest-api-templates/asterisk_processor.py
Modified: branches/12/rest-api-templates/asterisk_processor.py
URL: http://svnview.digium.com/svn/asterisk/branches/12/rest-api-templates/asterisk_processor.py?view=diff&rev=400958&r1=400957&r2=400958
==============================================================================
--- branches/12/rest-api-templates/asterisk_processor.py (original)
+++ branches/12/rest-api-templates/asterisk_processor.py Tue Oct 15 08:43:05 2013
@@ -218,6 +218,7 @@
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)
More information about the asterisk-commits
mailing list