Package | Description |
---|---|
org.springframework.restdocs.payload |
Documenting the payload of a RESTful API's requests and responses.
|
Modifier and Type | Method and Description |
---|---|
static ResponseBodySnippet |
PayloadDocumentation.responseBody()
Returns a
Snippet that will document the body of the API operation's
response payload. |
static ResponseBodySnippet |
PayloadDocumentation.responseBody(java.util.Map<java.lang.String,java.lang.Object> attributes)
Returns a
Snippet that will document the body of the API operation's
response payload. |
static ResponseBodySnippet |
PayloadDocumentation.responseBody(PayloadSubsectionExtractor<?> subsectionExtractor)
Returns a
Snippet that will document a subsection of the body of the API
operation's response payload. |
static ResponseBodySnippet |
PayloadDocumentation.responseBody(PayloadSubsectionExtractor<?> subsectionExtractor,
java.util.Map<java.lang.String,java.lang.Object> attributes)
Returns a
Snippet that will document a subsection of the body of the API
operation's response payload. |