diff --git a/2.0.x/multi/multi_contract-dsl.html b/2.0.x/multi/multi_contract-dsl.html index 911f3ea55e..bb6d7e0523 100644 --- a/2.0.x/multi/multi_contract-dsl.html +++ b/2.0.x/multi/multi_contract-dsl.html @@ -1275,7 +1275,20 @@ email, url, uuid, iso_date, iso_date_time, iso_time, iso_8601_with_offset, non_e

YAML. 

request:
   method: GET
-  urlPath: /get
+  urlPath: /get/1
+  headers:
+    Content-Type: application/json
+  cookies:
+    foo: 2
+  queryParameters:
+    limit: 10
+    offset: 20
+    filter: 'email'
+    sort: name
+    search: 55
+    age: 99
+    name: John.Doe
+    email: 'bob@email.com'
   body:
     duck: 123
     alpha: "abc"
@@ -1290,6 +1303,35 @@ email, url, uuid, iso_date, iso_date_time, iso_time, iso_8601_with_offset, non_e
       "complex.key": 'foo'
     nullValue: null
   matchers:
+    url:
+      regex: /get/[0-9]
+      # predefined:
+      # execute a method
+      # command:
+    queryParameters:
+      - key: limit
+        type: equal_to
+        value: 20
+      - key: offset
+        type: containing
+        value: 20
+      - key: sort
+        type: equal_to
+        value: name
+      - key: search
+        type: not_matching
+        value: '^[0-9]{2}$'
+      - key: age
+        type: not_matching
+        value: '^\\w*$'
+      - key: name
+        type: matching
+        value: 'John.*'
+      - key: hello
+        type: absent
+    cookies:
+      - key: foo
+        regex: '[0-9]'
     headers:
       - key: Content-Type
         regex: "application/json.*"
@@ -1320,8 +1362,6 @@ email, url, uuid, iso_date, iso_date_time, iso_time, iso_8601_with_offset, non_e
         type: by_equality
       - path: $.nullvalue
         type: by_null
-  headers:
-    Content-Type: application/json
 response:
   status: 200
   body:
diff --git a/2.0.x/single/spring-cloud-contract.html b/2.0.x/single/spring-cloud-contract.html
index 45030cb325..1c9d54250b 100644
--- a/2.0.x/single/spring-cloud-contract.html
+++ b/2.0.x/single/spring-cloud-contract.html
@@ -4668,7 +4668,20 @@ email, url, uuid, iso_date, iso_date_time, iso_time, iso_8601_with_offset, non_e
 

YAML. 

request:
   method: GET
-  urlPath: /get
+  urlPath: /get/1
+  headers:
+    Content-Type: application/json
+  cookies:
+    foo: 2
+  queryParameters:
+    limit: 10
+    offset: 20
+    filter: 'email'
+    sort: name
+    search: 55
+    age: 99
+    name: John.Doe
+    email: 'bob@email.com'
   body:
     duck: 123
     alpha: "abc"
@@ -4683,6 +4696,35 @@ email, url, uuid, iso_date, iso_date_time, iso_time, iso_8601_with_offset, non_e
       "complex.key": 'foo'
     nullValue: null
   matchers:
+    url:
+      regex: /get/[0-9]
+      # predefined:
+      # execute a method
+      # command:
+    queryParameters:
+      - key: limit
+        type: equal_to
+        value: 20
+      - key: offset
+        type: containing
+        value: 20
+      - key: sort
+        type: equal_to
+        value: name
+      - key: search
+        type: not_matching
+        value: '^[0-9]{2}$'
+      - key: age
+        type: not_matching
+        value: '^\\w*$'
+      - key: name
+        type: matching
+        value: 'John.*'
+      - key: hello
+        type: absent
+    cookies:
+      - key: foo
+        regex: '[0-9]'
     headers:
       - key: Content-Type
         regex: "application/json.*"
@@ -4713,8 +4755,6 @@ email, url, uuid, iso_date, iso_date_time, iso_time, iso_8601_with_offset, non_e
         type: by_equality
       - path: $.nullvalue
         type: by_null
-  headers:
-    Content-Type: application/json
 response:
   status: 200
   body:
diff --git a/2.0.x/spring-cloud-contract-maven-plugin/checkstyle.rss b/2.0.x/spring-cloud-contract-maven-plugin/checkstyle.rss
index f630b25303..6713ab69b6 100644
--- a/2.0.x/spring-cloud-contract-maven-plugin/checkstyle.rss
+++ b/2.0.x/spring-cloud-contract-maven-plugin/checkstyle.rss
@@ -141,20 +141,6 @@ under the License.
                 
                   0
                 
-              
-                          
-                
-                  org/springframework/cloud/contract/maven/verifier/stubrunner/RemoteStubRunner.java
-                
-                
-                  0
-                
-                
-                  0
-                
-                
-                  0
-                
               
                           
                 
@@ -172,7 +158,7 @@ under the License.
               
                           
                 
-                  org/springframework/cloud/contract/maven/verifier/ManifestCreator.java
+                  org/springframework/cloud/contract/maven/verifier/stubrunner/RemoteStubRunner.java
                 
                 
                   0
@@ -197,6 +183,20 @@ under the License.
                 
                   0
                 
+              
+                          
+                
+                  org/springframework/cloud/contract/maven/verifier/ManifestCreator.java
+                
+                
+                  0
+                
+                
+                  0
+                
+                
+                  0
+                
               
                           
                 
diff --git a/2.0.x/spring-cloud-contract.xml b/2.0.x/spring-cloud-contract.xml
index dd0276ceab..50f3ba83af 100644
--- a/2.0.x/spring-cloud-contract.xml
+++ b/2.0.x/spring-cloud-contract.xml
@@ -7710,7 +7710,20 @@ email, url, uuid, iso_date, iso_date_time, iso_time, iso_8601_with_offset, non_e
 
 request:
   method: GET
-  urlPath: /get
+  urlPath: /get/1
+  headers:
+    Content-Type: application/json
+  cookies:
+    foo: 2
+  queryParameters:
+    limit: 10
+    offset: 20
+    filter: 'email'
+    sort: name
+    search: 55
+    age: 99
+    name: John.Doe
+    email: 'bob@email.com'
   body:
     duck: 123
     alpha: "abc"
@@ -7725,6 +7738,35 @@ email, url, uuid, iso_date, iso_date_time, iso_time, iso_8601_with_offset, non_e
       "complex.key": 'foo'
     nullValue: null
   matchers:
+    url:
+      regex: /get/[0-9]
+      # predefined:
+      # execute a method
+      # command:
+    queryParameters:
+      - key: limit
+        type: equal_to
+        value: 20
+      - key: offset
+        type: containing
+        value: 20
+      - key: sort
+        type: equal_to
+        value: name
+      - key: search
+        type: not_matching
+        value: '^[0-9]{2}$'
+      - key: age
+        type: not_matching
+        value: '^\\w*$'
+      - key: name
+        type: matching
+        value: 'John.*'
+      - key: hello
+        type: absent
+    cookies:
+      - key: foo
+        regex: '[0-9]'
     headers:
       - key: Content-Type
         regex: "application/json.*"
@@ -7755,8 +7797,6 @@ email, url, uuid, iso_date, iso_date_time, iso_time, iso_8601_with_offset, non_e
         type: by_equality
       - path: $.nullvalue
         type: by_null
-  headers:
-    Content-Type: application/json
 response:
   status: 200
   body: