ScaCap / spring-auto-restdocs

Spring Auto REST Docs is an extension to Spring REST Docs
https://scacap.github.io/spring-auto-restdocs/
Apache License 2.0
311 stars 86 forks source link

Disable interpolation of Asciidoctor for the path part of the Rest Enpoint #327

Closed fkalinowski closed 5 years ago

fkalinowski commented 5 years ago

Previously, when generating Asciidoctor snipppets, based on this template, the path parameter was interpolated. This was considered by Asciidoctor as an attributes which are typically surrounded by { and }.

This commit surrounds the path with + characters which disables all interpolation.

Closes #326

fbenz commented 5 years ago

Please adjust the test here as well.

fkalinowski commented 5 years ago

Hi,

Tests are fixed now.

Kind regards, Fabien.