Class RestAssuredSnippetConfigurer
java.lang.Object
org.springframework.restdocs.config.AbstractConfigurer
org.springframework.restdocs.config.AbstractNestedConfigurer<PARENT>
org.springframework.restdocs.config.SnippetConfigurer<RestAssuredRestDocumentationConfigurer,RestAssuredSnippetConfigurer>
org.springframework.restdocs.restassured.RestAssuredSnippetConfigurer
- All Implemented Interfaces:
io.restassured.filter.Filter
public final class RestAssuredSnippetConfigurer
extends SnippetConfigurer<RestAssuredRestDocumentationConfigurer,RestAssuredSnippetConfigurer>
implements io.restassured.filter.Filter
A configurer that can be used to configure the generated documentation snippets when
using REST Assured.
- Since:
- 1.2.0
- Author:
- Andy Wilkinson
-
Field Summary
Fields inherited from class org.springframework.restdocs.config.SnippetConfigurer
DEFAULT_SNIPPET_ENCODING, DEFAULT_TEMPLATE_FORMAT
-
Method Summary
Modifier and TypeMethodDescriptionio.restassured.response.Response
filter
(io.restassured.specification.FilterableRequestSpecification requestSpec, io.restassured.specification.FilterableResponseSpecification responseSpec, io.restassured.filter.FilterContext context) Methods inherited from class org.springframework.restdocs.config.SnippetConfigurer
apply, withAdditionalDefaults, withDefaults, withEncoding, withTemplateFormat
Methods inherited from class org.springframework.restdocs.config.AbstractNestedConfigurer
and
-
Method Details
-
filter
public io.restassured.response.Response filter(io.restassured.specification.FilterableRequestSpecification requestSpec, io.restassured.specification.FilterableResponseSpecification responseSpec, io.restassured.filter.FilterContext context) - Specified by:
filter
in interfaceio.restassured.filter.Filter
-