Package | Description |
---|---|
org.springframework.restdocs.http |
Documenting the HTTP request sent to a RESTful API and the HTTP response that is
returned.
|
Modifier and Type | Method and Description |
---|---|
static HttpResponseSnippet |
HttpDocumentation.httpResponse()
Returns a
Snippet that will document the HTTP response for the API
operation. |
static HttpResponseSnippet |
HttpDocumentation.httpResponse(java.util.Map<java.lang.String,java.lang.Object> attributes)
Returns a
Snippet that will document the HTTP response for the API
operation. |