docs: Explain how to have multiple contracts in Groovy (#1755)
* docs: Explain how to have multiple contracts in Groovy * Update _project-features-contract.adoc Co-authored-by: Marcin Grzejszczak <marcin@grzejszczak.pl>
This commit is contained in:
@@ -9,7 +9,7 @@ Spring Cloud Contract supports DSLs written in the following languages:
|
||||
* Java
|
||||
* Kotlin
|
||||
|
||||
TIP: Spring Cloud Contract supports defining multiple contracts in a single file.
|
||||
TIP: Spring Cloud Contract supports defining multiple contracts in a single file (In Groovy return a list instead of a single contract).
|
||||
|
||||
The following example shows a contract definition:
|
||||
|
||||
@@ -2062,4 +2062,4 @@ name of `scenario1` and the three following steps:
|
||||
. `logout`, marked as `Step2` (which closes the scenario).
|
||||
|
||||
You can find more details about WireMock scenarios at
|
||||
https://wiremock.org/docs/stateful-behaviour/[https://wiremock.org/docs/stateful-behaviour/].
|
||||
https://wiremock.org/docs/stateful-behaviour/[https://wiremock.org/docs/stateful-behaviour/].
|
||||
|
||||
Reference in New Issue
Block a user