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

Allow configuration of explicit Spring REST Docs snippets #2

Open
jbrugge opened this issue Jan 27, 2017 · 1 comment
Open

Allow configuration of explicit Spring REST Docs snippets #2

jbrugge opened this issue Jan 27, 2017 · 1 comment

Comments

@jbrugge
Copy link

jbrugge commented Jan 27, 2017

I see that the SpringRestDocsExtension.java has a method, withExplicitSnippets, but I don't see any way of using it.

I would like to be able to include the "links.adoc" snippet that Spring REST Docs can produce, in addition to the other default snippets.

@RobWin
Copy link
Member

RobWin commented Jan 28, 2017

You could use the import files extension to include the file.
Otherwise you could create a PR.

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

2 participants