Uses of Class
org.springframework.restdocs.payload.ResponseBodySnippet
Package
Description
Documenting the payload of a RESTful API's requests and responses.
-
Uses of ResponseBodySnippet in org.springframework.restdocs.payload
Modifier and TypeMethodDescriptionstatic ResponseBodySnippet
PayloadDocumentation.responseBody()
Returns aSnippet
that will document the body of the API operation's response payload.static ResponseBodySnippet
PayloadDocumentation.responseBody
(Map<String, Object> attributes) Returns aSnippet
that will document the body of the API operation's response payload.static ResponseBodySnippet
PayloadDocumentation.responseBody
(PayloadSubsectionExtractor<?> subsectionExtractor) Returns aSnippet
that will document a subsection of the body of the API operation's response payload.static ResponseBodySnippet
PayloadDocumentation.responseBody
(PayloadSubsectionExtractor<?> subsectionExtractor, Map<String, Object> attributes) Returns aSnippet
that will document a subsection of the body of the API operation's response payload.