public abstract class CurlDocumentation extends Object
Modifier and Type | Method and Description |
---|---|
static Snippet |
curlRequest()
Returns a handler that will produce a snippet containing the curl request for the
API call.
|
static Snippet |
curlRequest(Map<String,Object> attributes)
Returns a handler that will produce a snippet containing the curl request for the
API call.
|
public static Snippet curlRequest()
public static Snippet curlRequest(Map<String,Object> attributes)
attributes
will be available during snippet generation.attributes
- Attributes made available during rendering of the curl request
snippet