Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong path configuration property for snippets folder - maven #26

Open
Shinryuken opened this issue Jan 31, 2020 · 0 comments
Open

Wrong path configuration property for snippets folder - maven #26

Shinryuken opened this issue Jan 31, 2020 · 0 comments

Comments

@Shinryuken
Copy link

Shinryuken commented Jan 31, 2020

Hi,

i think that there is a problem in the pom.xml file, the snippet files are not being included. The cause could be the property in the row 23 that is:

<swagger.snippetOutput.dir>${project.build.directory}/asciidoc/snippets</swagger.snippetOutput.dir>

and the solution should be:

<swagger.snippetOutput.dir>${project.basedir}/build/asciidoc/snippets</swagger.snippetOutput.dir>

This is happening because the annotation AutoConfigureRestDocs of Swagger2MarkupTest.java points to

build/asciidoc/snippets

I have no idea through if this problem is present inside the graddle build too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant