use of org.springframework.restdocs.restassured3.RestDocumentationFilter in project spring-cloud-netflix by spring-cloud.
the class AbstractDocumentationTests method document.
protected RequestSpecification document(Object body) {
RestDocumentationFilter filter = filter("{method-name}");
RequestSpecification assured = RestAssured.given(spec(body, filter));
return assured.filter(filter);
}
use of org.springframework.restdocs.restassured3.RestDocumentationFilter in project spring-cloud-netflix by spring-cloud.
the class AbstractDocumentationTests method document.
protected RequestSpecification document(String name, Object body) {
RestDocumentationFilter filter = filter(name);
RequestSpecification assured = RestAssured.given(spec(body, filter));
return assured.filter(filter);
}
Aggregations