Swagger2Markup / swagger2markup-cli

Command line interface (CLI) for Swagger2Markup
Apache License 2.0
164 stars 37 forks source link

squiggly brackets are not escaped in confluence markup output #18

Open deviantlycan opened 7 years ago

deviantlycan commented 7 years ago

If a path contains squiggly brackets to indicate a url parameter, they are not escaped in confluence markup output and result in "Unknown macro: {resourceId}".

Example:

/resourceCollection/{resourceId}/subCollection/{subResource}

current output

h3. GET /stores/{storeId} {anchor:whatever}

Correct output should be escaped:

h3. GET /stores/\{storeId\} {anchor:whatever}
RobWin commented 7 years ago

Hi,

thx for creating this issue.