This project demonstrates how to generate Swagger Spec (contracts) directly from the code base.
To generate Swagger Spec run next gradle task ./gradlew clean generateSwaggerDocumentation
Swagger-UI : http://localhost:9999/swagger-ui.html
Swagger JSON: http://localhost:9999/v2/api-docs
Integrated CDC testing.
java -jar app.jar --spring.config.location=classpath:/another-location.properties
*Notes: Use Java 8