Interface Snippet
- All Known Implementing Classes:
AbstractBodySnippet
,AbstractFieldsSnippet
,AbstractHeadersSnippet
,AbstractParametersSnippet
,CurlRequestSnippet
,HttpieRequestSnippet
,HttpRequestSnippet
,HttpResponseSnippet
,LinksSnippet
,PathParametersSnippet
,RequestBodySnippet
,RequestFieldsSnippet
,RequestHeadersSnippet
,RequestParametersSnippet
,RequestPartBodySnippet
,RequestPartFieldsSnippet
,RequestPartsSnippet
,ResponseBodySnippet
,ResponseFieldsSnippet
,ResponseHeadersSnippet
,TemplatedSnippet
public interface Snippet
A
Snippet
is used to document aspects of a call to a RESTful API.- Author:
- Andy Wilkinson
-
Method Summary
-
Method Details
-
document
Documents the call to the RESTful API described by the givenoperation
.- Parameters:
operation
- the API operation- Throws:
IOException
- if a failure occurs will documenting the operation
-