Merge remote-tracking branch 'origin/2.2.x'
This commit is contained in:
@@ -35,6 +35,7 @@ import org.springframework.util.StringUtils
|
||||
* Converts a String or a Groovy or Java file into a {@link Contract}.
|
||||
*
|
||||
* @author Marcin Grzejszczak
|
||||
* @author Olga Maciaszek-Sharma
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
@@ -34,6 +34,7 @@ import static org.springframework.cloud.contract.spec.internal.MatchingType.NULL
|
||||
import static org.springframework.cloud.contract.spec.internal.MatchingType.REGEX
|
||||
/**
|
||||
* @author Marcin Grzejszczak
|
||||
* @author Olga Maciaszek-Sharma
|
||||
*/
|
||||
class JavaContractConverterSpec extends Specification {
|
||||
|
||||
|
||||
@@ -31,6 +31,7 @@ import org.springframework.restdocs.restassured3.RestAssuredRestDocumentationCon
|
||||
* @see WireMockRestDocs for a convenient entry point for customizing and asserting the
|
||||
* stub behaviour
|
||||
* @author Eddú Meléndez
|
||||
* @author Olga Maciaszek-Sharma
|
||||
*/
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
@ConditionalOnClass(RestAssuredRestDocumentationConfigurer.class)
|
||||
@@ -39,7 +40,7 @@ public class WireMockRestAssuredConfiguration
|
||||
|
||||
@Override
|
||||
public void customize(RestAssuredRestDocumentationConfigurer configurer) {
|
||||
configurer.snippets().withDefaults(new WireMockSnippet());
|
||||
configurer.snippets().withAdditionalDefaults(new WireMockSnippet());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user