Uses of Class
org.springframework.restdocs.payload.ResponseBodySnippet
Packages that use ResponseBodySnippet
Package
Description
Documenting the payload of a RESTful API's requests and responses.
-
Uses of ResponseBodySnippet in org.springframework.restdocs.payload
Methods in org.springframework.restdocs.payload that return ResponseBodySnippetModifier 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.