public interface Snippet
Snippet
is used to document aspects of a call to a RESTful API.Modifier and Type | Method and Description |
---|---|
void |
document(Operation operation)
Documents the call to the RESTful API described by the given
operation . |
void document(Operation operation) throws java.io.IOException
operation
.operation
- the API operationjava.io.IOException
- if a failure occurs will documenting the operation