From b0d77aaa17cfc9a5c733cc0697ce780a45b22a13 Mon Sep 17 00:00:00 2001 From: jakub-bochenski Date: Fri, 25 Feb 2022 15:41:45 +0100 Subject: [PATCH] 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 --- docs/src/main/asciidoc/_project-features-contract.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/main/asciidoc/_project-features-contract.adoc b/docs/src/main/asciidoc/_project-features-contract.adoc index 787e16e88f..ef73b5c5f0 100644 --- a/docs/src/main/asciidoc/_project-features-contract.adoc +++ b/docs/src/main/asciidoc/_project-features-contract.adoc @@ -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/]. \ No newline at end of file +https://wiremock.org/docs/stateful-behaviour/[https://wiremock.org/docs/stateful-behaviour/].