spring-cloud-contract
spring-cloud-contract copied to clipboard
Support for Consumer Driven Contracts in Spring
WireMockSpring.config() replaced by WireMockSpring.options() at javadoc
Fix improperly accessed optional values; ServerDslProperty incorrectly wrapped by OptionalProperty Fixes gh-1808
## Bug description `optional` around `ClientDslProperty`/`ServerDslProperty` properties such as `anyOf`, `anyNonBlankString`, `anyEmail`, etc. produce wrong output, like `OPTIONAL>>ClientDslProperty{\nclientValue=^FOO$|^BAR$, \n\tserverValue=FOO}
It would be nice to be able to mark fields as optional and for a test to be generated with and without the optional field. For example: In my body...
**Describe the bug** I want to write tests in Kotlin for an SOAP service and there is a problem with child namespaces. Child node's namespaces break the application during build....
Hi, In Summary Spring Cloud Contract and spring cloud stream test binder in batch mode are not working quite right. I have a boot 2.6.8 Cloud 2021.0.3 project https://github.com/davidmelia/spring-boot-webflux-avro-sink-only-batch which...
As a developer developing contracts I would like to package tests into JAR so that it is possible to execute in other project. Currently running tests that are residing in...
**Describe the bug** [gradle-plugin] spring-boot: **2.7.0** [gradle-plugin] spring-cloud-contract: **3.1.3** springCloudVersion: **2021.0.3** Generated `ContractVerifier` class seem to exclude fields assertion for array dataset. **Sample** Given the following contract ```groovy package contracts;...
No consistent date format between the real application, contract tests and generated stub mappings
Hello, I'm using `Spring Boot 2.6.3` and `Spring Cloud Contract 3.1.0` and `Jackson 2.11.3` when writing contract ttests. This issue might be possibly related to the Maven plugin. I am...
Spring cloud contract version 2021.0.3 throwing org.jetbrains.kotlin.backend.common.BackendException
**Describe the bug** Spring cloud contract version `2021.0.3` causes the following error when running contract tests `javax.script.ScriptException: org.jetbrains.kotlin.backend.common.BackendException: Backend Internal error: Exception during file facade code generation File being compiled:...