public abstract class HttpDocumentation
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static HttpRequestSnippet |
httpRequest()
Returns a new
Snippet that will document the HTTP request for the API
operation. |
static HttpRequestSnippet |
httpRequest(java.util.Map<java.lang.String,java.lang.Object> attributes)
Returns a new
Snippet that will document the HTTP request for the API
operation. |
static HttpResponseSnippet |
httpResponse()
Returns a
Snippet that will document the HTTP response for the API
operation. |
static HttpResponseSnippet |
httpResponse(java.util.Map<java.lang.String,java.lang.Object> attributes)
Returns a
Snippet that will document the HTTP response for the API
operation. |
public static HttpRequestSnippet httpRequest()
Snippet that will document the HTTP request for the API
operation.public static HttpRequestSnippet httpRequest(java.util.Map<java.lang.String,java.lang.Object> attributes)
Snippet that will document the HTTP request for the API
operation. The given attributes will be available during snippet
generation.attributes - the attributespublic static HttpResponseSnippet httpResponse()
Snippet that will document the HTTP response for the API
operation.public static HttpResponseSnippet httpResponse(java.util.Map<java.lang.String,java.lang.Object> attributes)
Snippet that will document the HTTP response for the API
operation. The given attributes will be available during snippet
generation.attributes - the attributes