This version is still in development and is not considered stable yet. For the latest stable version, please use spring-cloud-contract 4.1.5!spring-doc.cn

How Can I Debug the Request/Response Being Sent by the Generated Tests Client?

The generated tests all boil down to RestAssured in some form or fashion. RestAssured relies on the Apache HttpClient. HttpClient has a facility called wire logging, which logs the entire request and response to HttpClient. Spring Boot has a logging common application property for doing this sort of thing. To use it, add it to your application properties, as follows:spring-doc.cn

logging.level.org.apache.http.wire=DEBUG