-
Notifications
You must be signed in to change notification settings - Fork 86
Including Spring Restdocs snippets in AutoDocumentation.section #248
Comments
I have looked a bit into this and everything leads to: The way spring-auto-restdocs renders the section:
...requiring the Snippet to implement a spring-auto-restdocs interface ( Would you be interested in a pull request to loosen up the SnippetRegistry a bit, making it possible to register other snippets? And also even maybe preregister all "classic snippets" in the
(And please let me know if there are any other way of accomplishing this.) |
Hi @kschulst, if you can make a PR proposal how to make SnippetRegistry nicely extensible or configurable, we'll very welcome it. |
@jmisur I have submitted a pull request for this... |
Fixes #248 Also improves SARD/SRD mix example.
How can I include snippets generated by core Spring Restdocs into spring-auto-restdocs sections?
I am aware of
https://scacap.github.io/spring-auto-restdocs/#snippets-section-custom-snippet
I want to render core spring restdocs HATEOAS link snippets inside the very convenient section snippet that spring-auto-restdocs provides.
The text was updated successfully, but these errors were encountered: