From cfeefcd910c7748286178c14287843085a2971d4 Mon Sep 17 00:00:00 2001 From: Marcin Grzejszczak Date: Wed, 13 Dec 2023 16:49:10 +0100 Subject: [PATCH] Added more explanation regarding query parameters fixes gh-2042 --- docs/src/main/asciidoc/_project-features-contract.adoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/src/main/asciidoc/_project-features-contract.adoc b/docs/src/main/asciidoc/_project-features-contract.adoc index 815b538779..e62770c26a 100644 --- a/docs/src/main/asciidoc/_project-features-contract.adoc +++ b/docs/src/main/asciidoc/_project-features-contract.adoc @@ -633,6 +633,8 @@ include::{verifier_core_path}/src/test/resources/kotlin/contract_docs_examples.k ---- ==== +IMPORTANT: If a query parameter is missing in the contract it doesn't mean that we expect a request to be matched if the query parameter is missing. Quite the contrary, that means that the query parameter is not necessary to be there for the request to be matched. + `request` can contain additional request headers, as the following example shows: ====