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 IOException
operation
.operation
- the API operationIOException
- if a failure occurs will documenting the operation