spring-swagger2markup-demo
spring-swagger2markup-demo copied to clipboard
snippets not included
Hi~ I pull this project,and execute "mvn test". It successfully generated html and pdf files. But the snippets not included. How to solve it? Thank you very much.
Thx, I have to check it. Maybe something has been changed in Springfox or Spring RestDocs.
Hi, I solved this problem. This is a configuration error.
swagger.snippetOutput.dir configured in POM does not match configured in Test Case.
Thx for reply.
@leohsu91 but I set outputDir to target/asciidoc/snippets
and it didn't work.
Please set swagger2markup.extensions.springRestDocs.defaultSnippets
to true