1
0
Fork 0

Fix the representation of the post bodys; thanks to @janavolkova9 for pointing out.

This commit is contained in:
Wilfried Goesgens 2016-08-01 12:23:41 +02:00
parent 4d81c4c733
commit d6b12480c1
1 changed files with 1 additions and 1 deletions

View File

@ -240,7 +240,7 @@ RX = [
RX2 = [
# parameters - extract their type and whether mandatory or not.
(re.compile(r"@RESTPARAM{(\s*[\w\-]*)\s*,\s*([\w\_\|-]*)\s*,\s*(required|optional)}"), r"* *\g<1>* (\g<3>):"),
(re.compile(r"@RESTALLBODYPARAM{(\s*[\w\-]*)\s*,\s*([\w\_\|-]*)\s*,\s*(required|optional)}"), r"**Post Body**\n *\g<1>* (\g<3>):"),
(re.compile(r"@RESTALLBODYPARAM{(\s*[\w\-]*)\s*,\s*([\w\_\|-]*)\s*,\s*(required|optional)}"), r"\n**Post Body**\n\n *\g<1>* (\g<3>):"),
(re.compile(r"@RESTRETURNCODE{(.*)}"), r"* *\g<1>*:")
]