swagger2markup-cli icon indicating copy to clipboard operation
swagger2markup-cli copied to clipboard

squiggly brackets are not escaped in confluence markup output

Open deviantlycan opened this issue 8 years ago • 1 comments

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}

deviantlycan avatar Jul 31 '17 16:07 deviantlycan

Hi,

thx for creating this issue.

RobWin avatar Aug 01 '17 06:08 RobWin