public final class RestDocumentationFilter extends Object implements com.jayway.restassured.filter.Filter
Filter for documenting RESTful APIs.| Modifier and Type | Method and Description |
|---|---|
com.jayway.restassured.response.Response |
filter(com.jayway.restassured.specification.FilterableRequestSpecification requestSpec,
com.jayway.restassured.specification.FilterableResponseSpecification responseSpec,
com.jayway.restassured.filter.FilterContext context) |
RestDocumentationFilter |
snippets(Snippet... snippets)
Adds the given
snippets such that they are documented when this result
handler is called. |
public com.jayway.restassured.response.Response filter(com.jayway.restassured.specification.FilterableRequestSpecification requestSpec,
com.jayway.restassured.specification.FilterableResponseSpecification responseSpec,
com.jayway.restassured.filter.FilterContext context)
filter in interface com.jayway.restassured.filter.Filterpublic RestDocumentationFilter snippets(Snippet... snippets)
snippets such that they are documented when this result
handler is called.snippets - the snippets to addRestDocumentationFilter