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 ResponseBodySnippetPayloadDocumentation.responseBody()Returns aSnippetthat will document the body of the API operation's response payload.static ResponseBodySnippetPayloadDocumentation.responseBody(Map<String, Object> attributes) Returns aSnippetthat will document the body of the API operation's response payload.static ResponseBodySnippetPayloadDocumentation.responseBody(PayloadSubsectionExtractor<?> subsectionExtractor) Returns aSnippetthat will document a subsection of the body of the API operation's response payload.static ResponseBodySnippetPayloadDocumentation.responseBody(PayloadSubsectionExtractor<?> subsectionExtractor, Map<String, Object> attributes) Returns aSnippetthat will document a subsection of the body of the API operation's response payload.