Package | Description |
---|---|
org.springframework.restdocs.generate |
Classes that drive the generation of the documentation snippets.
|
org.springframework.restdocs.mockmvc |
Core classes for using Spring REST Docs with Spring Test's MockMvc.
|
Modifier and Type | Method and Description |
---|---|
RestDocumentationGenerator<REQ,RESP> |
RestDocumentationGenerator.withSnippets(Snippet... snippets)
Creates a new
RestDocumentationGenerator with the same configuration as
this one other than its snippets. |
Modifier and Type | Method and Description |
---|---|
protected RestDocumentationGenerator<org.springframework.mock.web.MockHttpServletRequest,org.springframework.mock.web.MockHttpServletResponse> |
RestDocumentationResultHandler.getDelegate()
Returns the
RestDocumentationGenerator that is used as a delegate. |