Files

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 publishToMavenLocal in the producer project to create a provider stubs
  • run ./gradlew build in this project to verify the feign client against the stub