public final class RestDocumentationContext extends Object
RestDocumentationContext encapsulates the context in which the documentation of
a RESTful API is being performed.| Modifier and Type | Method and Description |
|---|---|
static RestDocumentationContext |
currentContext()
Returns the current context, never
null. |
String |
getSnippetEncoding()
Gets the encoding to be used when writing snippets
|
int |
getStepCount()
Gets the current step count
|
Method |
getTestMethod()
Returns the test
method that is currently executing |
public Method getTestMethod()
method that is currently executingpublic int getStepCount()
public String getSnippetEncoding()
public static RestDocumentationContext currentContext()
null.