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:
jakub-bochenski
2022-02-25 15:41:45 +01:00
committed by GitHub
parent 25b59cea56
commit b0d77aaa17

View File

@@ -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/].