Testing a Spring Boot REST API Consumer against a Contract with Spring Cloud Contract
Companion Blog Article
Read the companion blog article to this repository.
Getting Started
- have a look at the contract
- have a look at the feign client
- have a look at the consumer test
- run
./gradlew publishToMavenLocalin the producer project to create a provider stubs - run
./gradlew buildin this project to verify the feign client against the stub