Repository: rest-assured/rest-assured
Pull request #1594 (2022-05-20 23:07:16)

Bump gson from 2.6.2 to 2.9.0
Bumps [gson](https://github.com/google/gson) from 2.6.2 to 2.9.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/google/gson/releases">gson's releases</a>.</em></p>
<blockquote>
<h2>Gson 2.9.0</h2>
<p><strong>The minimum supported Java version changes from 6 to 7.</strong></p>
<ul>
<li>Change target Java version to 7 (<a href="https://github-redirect.dependabot.com/google/gson/issues/2043">#2043</a>)</li>
<li>Put <code>module-info.class</code> into Multi-Release JAR folder (<a href="https://github-redirect.dependabot.com/google/gson/issues/2013">#2013</a>)</li>
<li>Improve error message when abstract class cannot be constructed (<a href="https://github-redirect.dependabot.com/google/gson/issues/1814">#1814</a>)</li>
<li>Support EnumMap deserialization (<a href="https://github-redirect.dependabot.com/google/gson/issues/2071">#2071</a>)</li>
<li>Add LazilyParsedNumber default adapter (<a href="https://github-redirect.dependabot.com/google/gson/issues/2060">#2060</a>)</li>
<li>Fix JsonReader.hasNext() returning true at end of document (<a href="https://github-redirect.dependabot.com/google/gson/issues/2061">#2061</a>)</li>
<li>Remove Gradle build support. Build script was outdated and not actively maintained anymore (<a href="https://github-redirect.dependabot.com/google/gson/issues/2063">#2063</a>)</li>
<li>Add <code>GsonBuilder.disableJdkUnsafe()</code> (<a href="https://github-redirect.dependabot.com/google/gson/issues/1904">#1904</a>)</li>
<li>Add <code>UPPER_CASE_WITH_UNDERSCORES</code> in FieldNamingPolicy (<a href="https://github-redirect.dependabot.com/google/gson/issues/2024">#2024</a>)</li>
<li>Fix failing to serialize Collection or Map with inaccessible constructor (<a href="https://github-redirect.dependabot.com/google/gson/issues/1902">#1902</a>)</li>
<li>Improve TreeTypeAdapter thread-safety (<a href="https://github-redirect.dependabot.com/google/gson/issues/1976">#1976</a>)</li>
<li>Fix <code>Gson.newJsonWriter</code> ignoring lenient and HTML-safe setting (<a href="https://github-redirect.dependabot.com/google/gson/issues/1989">#1989</a>)</li>
<li>Delete unused LinkedHashTreeMap (<a href="https://github-redirect.dependabot.com/google/gson/issues/1992">#1992</a>)</li>
<li>Make default adapters stricter; improve exception messages (<a href="https://github-redirect.dependabot.com/google/gson/issues/2000">#2000</a>)</li>
<li>Fix <code>FieldNamingPolicy.upperCaseFirstLetter</code> uppercasing non-letter (<a href="https://github-redirect.dependabot.com/google/gson/issues/2004">#2004</a>)</li>
</ul>
<p>Thanks to our contributors, especially <a href="https://github.com/Marcono1234"><code>@​Marcono1234</code></a>!</p>
<h2>Gson 2.8.9</h2>
<ul>
<li>Make OSGi bundle's dependency on <code>sun.misc</code> optional (<a href="https://github-redirect.dependabot.com/google/gson/issues/1993">#1993</a>).</li>
<li>Deprecate <code>Gson.excluder()</code> exposing internal <code>Excluder</code> class (<a href="https://github-redirect.dependabot.com/google/gson/issues/1986">#1986</a>).</li>
<li>Prevent Java deserialization of internal classes (<a href="https://github-redirect.dependabot.com/google/gson/issues/1991">#1991</a>).</li>
<li>Improve number strategy implementation (<a href="https://github-redirect.dependabot.com/google/gson/issues/1987">#1987</a>).</li>
<li>Fix LongSerializationPolicy null handling being inconsistent with Gson (<a href="https://github-redirect.dependabot.com/google/gson/issues/1990">#1990</a>).</li>
<li>Support arbitrary Number implementation for Object and Number deserialization (<a href="https://github-redirect.dependabot.com/google/gson/issues/1290">#1290</a>).</li>
<li>Bump proguard-maven-plugin from 2.4.0 to 2.5.1 (<a href="https://github-redirect.dependabot.com/google/gson/issues/1980">#1980</a>).</li>
<li>Don't exclude static local classes (<a href="https://github-redirect.dependabot.com/google/gson/issues/1969">#1969</a>).</li>
<li>Fix <code>RuntimeTypeAdapterFactory</code> depending on internal <code>Streams</code> class (<a href="https://github-redirect.dependabot.com/google/gson/issues/1959">#1959</a>).</li>
<li>Improve Maven build (<a href="https://github-redirect.dependabot.com/google/gson/issues/1964">#1964</a>).</li>
<li>Make dependency on <code>java.sql</code> optional (<a href="https://github-redirect.dependabot.com/google/gson/issues/1707">#1707</a>).</li>
</ul>
<h2>Gson 2.8.8</h2>
<ul>
<li>Fixed issue with recursive types (<a href="https://github-redirect.dependabot.com/google/gson/issues/1390">#1390</a>).</li>
<li>Better behaviour with Java 9+ and <code>Unsafe</code> if there is a security manager (<a href="https://github-redirect.dependabot.com/google/gson/issues/1712">#1712</a>).</li>
<li><code>EnumTypeAdapter</code> now works better when ProGuard has obfuscated enum fields (<a href="https://github-redirect.dependabot.com/google/gson/issues/1495">#1495</a>).</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/google/gson/blob/master/CHANGELOG.md">gson's changelog</a>.</em></p>
<blockquote>
<h2>Version 2.9.0</h2>
<p><strong>The minimum supported Java version changes from 6 to 7.</strong></p>
<ul>
<li>Change target Java version to 7 (<a href="https://github-redirect.dependabot.com/google/gson/issues/2043">#2043</a>)</li>
<li>Put <code>module-info.class</code> into Multi-Release JAR folder (<a href="https://github-redirect.dependabot.com/google/gson/issues/2013">#2013</a>)</li>
<li>Improve error message when abstract class cannot be constructed (<a href="https://github-redirect.dependabot.com/google/gson/issues/1814">#1814</a>)</li>
<li>Support EnumMap deserialization (<a href="https://github-redirect.dependabot.com/google/gson/issues/2071">#2071</a>)</li>
<li>Add LazilyParsedNumber default adapter (<a href="https://github-redirect.dependabot.com/google/gson/issues/2060">#2060</a>)</li>
<li>Fix JsonReader.hasNext() returning true at end of document (<a href="https://github-redirect.dependabot.com/google/gson/issues/2061">#2061</a>)</li>
<li>Remove Gradle build support. Build script was outdated and not actively
maintained anymore (<a href="https://github-redirect.dependabot.com/google/gson/issues/2063">#2063</a>)</li>
<li>Add <code>GsonBuilder.disableJdkUnsafe()</code> (<a href="https://github-redirect.dependabot.com/google/gson/issues/1904">#1904</a>)</li>
<li>Add <code>UPPER_CASE_WITH_UNDERSCORES</code> in FieldNamingPolicy (<a href="https://github-redirect.dependabot.com/google/gson/issues/2024">#2024</a>)</li>
<li>Fix failing to serialize Collection or Map with inaccessible constructor (<a href="https://github-redirect.dependabot.com/google/gson/issues/1902">#1902</a>)</li>
<li>Improve TreeTypeAdapter thread-safety (<a href="https://github-redirect.dependabot.com/google/gson/issues/1976">#1976</a>)</li>
<li>Fix <code>Gson.newJsonWriter</code> ignoring lenient and HTML-safe setting (<a href="https://github-redirect.dependabot.com/google/gson/issues/1989">#1989</a>)</li>
<li>Delete unused LinkedHashTreeMap (<a href="https://github-redirect.dependabot.com/google/gson/issues/1992">#1992</a>)</li>
<li>Make default adapters stricter; improve exception messages (<a href="https://github-redirect.dependabot.com/google/gson/issues/2000">#2000</a>)</li>
<li>Fix <code>FieldNamingPolicy.upperCaseFirstLetter</code> uppercasing non-letter (<a href="https://github-redirect.dependabot.com/google/gson/issues/2004">#2004</a>)</li>
</ul>
<h2>Version 2.8.9</h2>
<ul>
<li>Make OSGi bundle's dependency on <code>sun.misc</code> optional (<a href="https://github-redirect.dependabot.com/google/gson/issues/1993">#1993</a>).</li>
<li>Deprecate <code>Gson.excluder()</code> exposing internal <code>Excluder</code> class (<a href="https://github-redirect.dependabot.com/google/gson/issues/1986">#1986</a>).</li>
<li>Prevent Java deserialization of internal classes (<a href="https://github-redirect.dependabot.com/google/gson/issues/1991">#1991</a>).</li>
<li>Improve number strategy implementation (<a href="https://github-redirect.dependabot.com/google/gson/issues/1987">#1987</a>).</li>
<li>Fix LongSerializationPolicy null handling being inconsistent with Gson (<a href="https://github-redirect.dependabot.com/google/gson/issues/1990">#1990</a>).</li>
<li>Support arbitrary Number implementation for Object and Number deserialization (<a href="https://github-redirect.dependabot.com/google/gson/issues/1290">#1290</a>).</li>
<li>Bump proguard-maven-plugin from 2.4.0 to 2.5.1 (<a href="https://github-redirect.dependabot.com/google/gson/issues/1980">#1980</a>).</li>
<li>Don't exclude static local classes (<a href="https://github-redirect.dependabot.com/google/gson/issues/1969">#1969</a>).</li>
<li>Fix <code>RuntimeTypeAdapterFactory</code> depending on internal <code>Streams</code> class (<a href="https://github-redirect.dependabot.com/google/gson/issues/1959">#1959</a>).</li>
<li>Improve Maven build (<a href="https://github-redirect.dependabot.com/google/gson/issues/1964">#1964</a>).</li>
<li>Make dependency on <code>java.sql</code> optional (<a href="https://github-redirect.dependabot.com/google/gson/issues/1707">#1707</a>).</li>
</ul>
<h2>Version 2.8.8</h2>
<ul>
<li>Fixed issue with recursive types (<a href="https://github-redirect.dependabot.com/google/gson/issues/1390">#1390</a>).</li>
<li>Better behaviour with Java 9+ and <code>Unsafe</code> if there is a security manager (<a href="https://github-redirect.dependabot.com/google/gson/issues/1712">#1712</a>).</li>
<li><code>EnumTypeAdapter</code> now works better when ProGuard has obfuscated enum fields (<a href="https://github-redirect.dependabot.com/google/gson/issues/1495">#1495</a>).</li>
</ul>
<h2>Version 2.8.7</h2>
<ul>
<li>Fixed <code>ISO8601UtilsTest</code> failing on systems with UTC+X.</li>
<li>Improved javadoc for <code>JsonStreamParser</code>.</li>
<li>Updated proguard.cfg (<a href="https://github-redirect.dependabot.com/google/gson/issues/1693">#1693</a>).</li>
<li>Fixed <code>IllegalStateException</code> in <code>JsonTreeWriter</code> (<a href="https://github-redirect.dependabot.com/google/gson/issues/1592">#1592</a>).</li>
<li>Added <code>JsonArray.isEmpty()</code> (<a href="https://github-redirect.dependabot.com/google/gson/issues/1640">#1640</a>).</li>
<li>Added new test cases (<a href="https://github-redirect.dependabot.com/google/gson/issues/1638">#1638</a>).</li>
<li>Fixed OSGi metadata generation to work on JavaSE &lt; 9 (<a href="https://github-redirect.dependabot.com/google/gson/issues/1603">#1603</a>).</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/google/gson/commit/b6acf1178a1e9279a77235abe55d6895dd5c09f3"><code>b6acf11</code></a> [maven-release-plugin] prepare release gson-parent-2.9.0</li>
<li><a href="https://github.com/google/gson/commit/82fed02fbae4bbe3fe2d76d46b2d577a469bdba0"><code>82fed02</code></a> Mention R8 FAQ in Android example (<a href="https://github-redirect.dependabot.com/google/gson/issues/2075">#2075</a>)</li>
<li><a href="https://github.com/google/gson/commit/47dea2eefc6d2816cddb3f30689070285491733c"><code>47dea2e</code></a> Improve error message when abstract class cannot be constructed (<a href="https://github-redirect.dependabot.com/google/gson/issues/1814">#1814</a>)</li>
<li><a href="https://github.com/google/gson/commit/565b7a198e026596c3fd18304f86537ae20f9a3f"><code>565b7a1</code></a> Support EnumMap deserialization (<a href="https://github-redirect.dependabot.com/google/gson/issues/2071">#2071</a>)</li>
<li><a href="https://github.com/google/gson/commit/e2e851c9bc692cec68ba7b0cbb002f82b4a229e4"><code>e2e851c</code></a> Add LazilyParsedNumber default adapter (<a href="https://github-redirect.dependabot.com/google/gson/issues/2060">#2060</a>)</li>
<li><a href="https://github.com/google/gson/commit/710a76c8b8835e36935c62024001ba6b91ceee01"><code>710a76c</code></a> Fix JsonReader.hasNext() returning true at end of document (<a href="https://github-redirect.dependabot.com/google/gson/issues/2061">#2061</a>)</li>
<li><a href="https://github.com/google/gson/commit/be0a1f4ff74bcd01580887cc9f3ec592d773f24c"><code>be0a1f4</code></a> Remove Gradle build support (<a href="https://github-redirect.dependabot.com/google/gson/issues/2063">#2063</a>)</li>
<li><a href="https://github.com/google/gson/commit/8e01b54682612471a9ab40c73911dfbf6b5be036"><code>8e01b54</code></a> Bump maven-compiler-plugin from 3.8.1 to 3.9.0 (<a href="https://github-redirect.dependabot.com/google/gson/issues/2055">#2055</a>)</li>
<li><a href="https://github.com/google/gson/commit/4d8cab89c4711f70416446107adec2d99f6b8e52"><code>4d8cab8</code></a> Bump maven-jar-plugin from 3.2.1 to 3.2.2 (<a href="https://github-redirect.dependabot.com/google/gson/issues/2056">#2056</a>)</li>
<li><a href="https://github.com/google/gson/commit/26e08fe742a9a023cc8eca454de8f84a0223d187"><code>26e08fe</code></a> Fix a mistaken use of StringBuilder('#'). (<a href="https://github-redirect.dependabot.com/google/gson/issues/2052">#2052</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/google/gson/compare/gson-parent-2.6.2...gson-parent-2.9.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.code.gson:gson&package-manager=maven&previous-version=2.6.2&new-version=2.9.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>


Patch:
diff --git a/README.md b/README.md
index 45117402..98a76e46 100644
--- a/README.md
+++ b/README.md
@@ -11,9 +11,9 @@ languages into the Java domain.
 
 
 ## News
+* 2022-05-24: REST Assured 5.1.0 is released. The biggest change is that the [Spring MockMvc Module](https://github.com/rest-assured/rest-assured/wiki/Usage#spring-mock-mvc-module) now supports Spring Framework 6 and Jakarta API's. See [change log](https://raw.githubusercontent.com/rest-assured/rest-assured/master/changelog.txt) for more details.
 * 2022-04-06: REST Assured 5.0.1 is released that fixes a bug introduced in the previous version. See [change log](https://raw.githubusercontent.com/rest-assured/rest-assured/master/changelog.txt) for more details.
 * 2022-03-25: REST Assured 5.0.0 is released which adds support for Groovy 4. See [release notes](https://github.com/rest-assured/rest-assured/wiki/ReleaseNotes50) and [change log](https://raw.githubusercontent.com/rest-assured/rest-assured/master/changelog.txt) for more details.
-* 2022-02-11: REST Assured 4.5.1 is released. It fixes a bug that accidentally required both Jakarta EE _and_ JAXB to be in the classpath at the same time under certain conditions. See [change log](https://raw.githubusercontent.com/rest-assured/rest-assured/master/changelog.txt) for more details.
 
 [Older News](https://github.com/rest-assured/rest-assured/wiki/OldNews)
 
@@ -79,11 +79,11 @@ REST Assured supports any HTTP method but has explicit support for *POST*, *GET*
 
 * [Getting started](https://github.com/rest-assured/rest-assured/wiki/GettingStarted)
 * [Usage Guide](https://github.com/rest-assured/rest-assured/wiki/Usage) (click [here](https://github.com/rest-assured/rest-assured/wiki/Usage_Legacy) for legacy documentation)
-* [Javadoc](http://www.javadoc.io/doc/io.rest-assured/rest-assured/5.0.1)
-* [Rest Assured Javadoc](http://static.javadoc.io/io.rest-assured/rest-assured/5.0.1/io/restassured/RestAssured.html)
-* [Rest AssuredMockMvc Javadoc](http://static.javadoc.io/io.rest-assured/spring-mock-mvc/5.0.1/io/restassured/module/mockmvc/RestAssuredMockMvc.html)
-* [XmlPath Javadoc](http://static.javadoc.io/io.rest-assured/xml-path/5.0.1/io/restassured/path/xml/XmlPath.html)
-* [JsonPath Javadoc](http://static.javadoc.io/io.rest-assured/json-path/5.0.1/io/restassured/path/json/JsonPath.html)
+* [Javadoc](http://www.javadoc.io/doc/io.rest-assured/rest-assured/5.1.0)
+* [Rest Assured Javadoc](http://static.javadoc.io/io.rest-assured/rest-assured/5.1.0/io/restassured/RestAssured.html)
+* [Rest AssuredMockMvc Javadoc](http://static.javadoc.io/io.rest-assured/spring-mock-mvc/5.1.0/io/restassured/module/mockmvc/RestAssuredMockMvc.html)
+* [XmlPath Javadoc](http://static.javadoc.io/io.rest-assured/xml-path/5.1.0/io/restassured/path/xml/XmlPath.html)
+* [JsonPath Javadoc](http://static.javadoc.io/io.rest-assured/json-path/5.1.0/io/restassured/path/json/JsonPath.html)
 * [Release Notes](https://github.com/rest-assured/rest-assured/wiki/ReleaseNotes)
 * [FAQ](https://github.com/rest-assured/rest-assured/wiki/FAQ)
 
diff --git a/changelog.txt b/changelog.txt
index 33fe779b..8f0c158f 100644
--- a/changelog.txt
+++ b/changelog.txt
@@ -1,7 +1,13 @@
-Changelog next version
+Changelog next-version
 ----------------------
+* Added support for Spring Framework 6.0 in Spring WebClientTest module
+* Overwrite responseLogDetail when merging ResponseSpecificationImpl (issue 1493) (thanks to petur for pull request)
+
+Changelog 5.1.0 (2022-05-24)
+----------------------------
 * Upgrading kotlin to 1.6.21
 * Moved package io.restassured.assertion to io.restassured.internal.assertion since the classes in this package should be internal.
+  Not all files have been moved yet, but refactoring will continue in the next release.
 * Added support for Spring Framework 6.0 and Jakarta API's in Spring MockMvc module.
 
 Changelog 5.0.1 (2022-04-06)
diff --git a/dist/dist-json-path/pom.xml b/dist/dist-json-path/pom.xml
index 566df358..0ddef3ef 100644
--- a/dist/dist-json-path/pom.xml
+++ b/dist/dist-json-path/pom.xml
@@ -19,7 +19,7 @@
     <parent>
         <artifactId>dist</artifactId>
         <groupId>io.rest-assured</groupId>
-        <version>5.0.2-SNAPSHOT</version>
+        <version>5.1.1-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/dist/dist-json-schema-validator/pom.xml b/dist/dist-json-schema-validator/pom.xml
index b3268356..41fc6908 100644
--- a/dist/dist-json-schema-validator/pom.xml
+++ b/dist/dist-json-schema-validator/pom.xml
@@ -19,7 +19,7 @@
     <parent>
         <artifactId>dist</artifactId>
         <groupId>io.rest-assured</groupId>
-        <version>5.0.2-SNAPSHOT</version>
+        <version>5.1.1-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/dist/dist-kotlin-extensions/pom.xml b/dist/dist-kotlin-extensions/pom.xml
index 2af478e8..dea3d732 100644
--- a/dist/dist-kotlin-extensions/pom.xml
+++ b/dist/dist-kotlin-extensions/pom.xml
@@ -19,7 +19,7 @@
     <parent>
         <artifactId>dist</artifactId>
         <groupId>io.rest-assured</groupId>
-        <version>5.0.2-SNAPSHOT</version>
+        <version>5.1.1-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/dist/dist-rest-assured/pom.xml b/dist/dist-rest-assured/pom.xml
index c617fb7f..0ef115cd 100644
--- a/dist/dist-rest-assured/pom.xml
+++ b/dist/dist-rest-assured/pom.xml
@@ -19,7 +19,7 @@
     <parent>
         <artifactId>dist</artifactId>
         <groupId>io.rest-assured</groupId>
-        <version>5.0.2-SNAPSHOT</version>
+        <version>5.1.1-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/dist/dist-scala-support/pom.xml b/dist/dist-scala-support/pom.xml
index 5d1c0cfc..3fe0fd1b 100644
--- a/dist/dist-scala-support/pom.xml
+++ b/dist/dist-scala-support/pom.xml
@@ -19,7 +19,7 @@
     <parent>
         <artifactId>dist</artifactId>
         <groupId>io.rest-assured</groupId>
-        <version>5.0.2-SNAPSHOT</version>
+        <version>5.1.1-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/dist/dist-spring-mock-mvc/pom.xml b/dist/dist-spring-mock-mvc/pom.xml
index ede727c6..bd80f499 100644
--- a/dist/dist-spring-mock-mvc/pom.xml
+++ b/dist/dist-spring-mock-mvc/pom.xml
@@ -19,7 +19,7 @@
     <parent>
         <artifactId>dist</artifactId>
         <groupId>io.rest-assured</groupId>
-        <version>5.0.2-SNAPSHOT</version>
+        <version>5.1.1-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/dist/dist-xml-path/pom.xml b/dist/dist-xml-path/pom.xml
index 3186b8d2..e30134b2 100644
--- a/dist/dist-xml-path/pom.xml
+++ b/dist/dist-xml-path/pom.xml
@@ -19,7 +19,7 @@
     <parent>
         <artifactId>dist</artifactId>
         <groupId>io.rest-assured</groupId>
-        <version>5.0.2-SNAPSHOT</version>
+        <version>5.1.1-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/dist/pom.xml b/dist/pom.xml
index dd7258f7..74fe39bd 100644
--- a/dist/pom.xml
+++ b/dist/pom.xml
@@ -19,7 +19,7 @@
     <parent>
         <artifactId>rest-assured-parent</artifactId>
         <groupId>io.rest-assured</groupId>
-        <version>5.0.2-SNAPSHOT</version>
+        <version>5.1.1-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/examples/kotlin-example/pom.xml b/examples/kotlin-example/pom.xml
index 86556690..1e4870ba 100644
--- a/examples/kotlin-example/pom.xml
+++ b/examples/kotlin-example/pom.xml
@@ -19,7 +19,7 @@
     <parent>
         <groupId>io.rest-assured.examples</groupId>
         <artifactId>example-parent</artifactId>
-        <version>5.0.2-SNAPSHOT</version>
+        <version>5.1.1-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
@@ -78,13 +78,13 @@
         <dependency>
             <groupId>io.rest-assured</groupId>
             <artifactId>rest-assured</artifactId>
-            <version>5.0.2-SNAPSHOT</version>
+            <version>5.1.1-SNAPSHOT</version>
             <scope>test</scope>
         </dependency>
         <dependency>
             <groupId>io.rest-assured</groupId>
             <artifactId>kotlin-extensions</artifactId>
-            <version>5.0.2-SNAPSHOT</version>
+            <version>5.1.1-SNAPSHOT</version>
             <scope>test</scope>
         </dependency>
         <dependency>
diff --git a/examples/pom.xml b/examples/pom.xml
index 9bbdc56f..aeeba521 100644
--- a/examples/pom.xml
+++ b/examples/pom.xml
@@ -19,7 +19,7 @@
     <parent>
         <artifactId>rest-assured-parent</artifactId>
         <groupId>io.rest-assured</groupId>
-        <version>5.0.2-SNAPSHOT</version>
+        <version>5.1.1-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
     <groupId>io.rest-assured.examples</groupId>
diff --git a/examples/scala-example/pom.xml b/examples/scala-example/pom.xml
index 5d0f8859..f2dbe716 100644
--- a/examples/scala-example/pom.xml
+++ b/examples/scala-example/pom.xml
@@ -19,7 +19,7 @@
     <parent>
         <groupId>io.rest-assured.examples</groupId>
         <artifactId>example-parent</artifactId>
-        <version>5.0.2-SNAPSHOT</version>
+        <version>5.1.1-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
@@ -76,13 +76,13 @@
         <dependency>
             <groupId>io.rest-assured</groupId>
             <artifactId>rest-assured</artifactId>
-            <version>5.0.2-SNAPSHOT</version>
+            <version>5.1.1-SNAPSHOT</version>
             <scope>test</scope>
         </dependency>
         <dependency>
             <groupId>io.rest-assured</groupId>
             <artifactId>scala-support</artifactId>
-            <version>5.0.2-SNAPSHOT</version>
+            <version>5.1.1-SNAPSHOT</version>
             <scope>test</scope>
         </dependency>
         <dependency>
diff --git a/examples/scala-mock-mvc-example/pom.xml b/examples/scala-mock-mvc-example/pom.xml
index aff6f0ab..569c2ba2 100644
--- a/examples/scala-mock-mvc-example/pom.xml
+++ b/examples/scala-mock-mvc-example/pom.xml
@@ -19,7 +19,7 @@
     <parent>
         <groupId>io.rest-assured.examples</groupId>
         <artifactId>example-parent</artifactId>
-        <version>5.0.2-SNAPSHOT</version>
+        <version>5.1.1-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
@@ -77,13 +77,13 @@
         <dependency>
             <groupId>io.rest-assured</groupId>
             <artifactId>spring-mock-mvc</artifactId>
-            <version>5.0.2-SNAPSHOT</version>
+            <version>5.1.1-SNAPSHOT</version>
             <scope>test</scope>
         </dependency>
         <dependency>
             <groupId>io.rest-assured</groupId>
             <artifactId>scala-support</artifactId>
-            <version>5.0.2-SNAPSHOT</version>
+            <version>5.1.1-SNAPSHOT</version>
             <scope>test</scope>
         </dependency>
         <dependency>
diff --git a/examples/scalatra-example/pom.xml b/examples/scalatra-example/pom.xml
index 363106d3..bd0cb68a 100644
--- a/examples/scalatra-example/pom.xml
+++ b/examples/scalatra-example/pom.xml
@@ -19,7 +19,7 @@
     <parent>
         <groupId>io.rest-assured.examples</groupId>
         <artifactId>example-parent</artifactId>
-        <version>5.0.2-SNAPSHOT</version>
+        <version>5.1.1-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/examples/scalatra-webapp/pom.xml b/examples/scalatra-webapp/pom.xml
index 7e5e50fb..0a0e4bfe 100644
--- a/examples/scalatra-webapp/pom.xml
+++ b/examples/scalatra-webapp/pom.xml
@@ -19,7 +19,7 @@
     <parent>
         <groupId>io.rest-assured.examples</groupId>
         <artifactId>example-parent</artifactId>
-        <version>5.0.2-SNAPSHOT</version>
+        <version>5.1.1-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
@@ -38,7 +38,7 @@
         <dependency>
             <groupId>io.rest-assured.examples</groupId>
             <artifactId>scalatra-example</artifactId>
-            <version>5.0.2-SNAPSHOT</version>
+            <version>5.1.1-SNAPSHOT</version>
         </dependency>
         <dependency>
             <groupId>javax.servlet</groupId>
diff --git a/examples/spring-mvc-webapp/pom.xml b/examples/spring-mvc-webapp/pom.xml
index 8cb01140..fc827d9d 100644
--- a/examples/spring-mvc-webapp/pom.xml
+++ b/examples/spring-mvc-webapp/pom.xml
@@ -19,7 +19,7 @@
     <parent>
         <groupId>io.rest-assured.examples</groupId>
         <artifactId>example-parent</artifactId>
-        <version>5.0.2-SNAPSHOT</version>
+        <version>5.1.1-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
@@ -54,7 +54,7 @@
         <dependency>
             <groupId>io.rest-assured</groupId>
             <artifactId>spring-mock-mvc</artifactId>
-            <version>5.0.2-SNAPSHOT</version>
+            <version>5.1.1-SNAPSHOT</version>
             <scope>test</scope>
         </dependency>
         <dependency>
diff --git a/json-path/pom.xml b/json-path/pom.xml
index 935e43d4..93ce0b0f 100644
--- a/json-path/pom.xml
+++ b/json-path/pom.xml
@@ -20,12 +20,12 @@
     <parent>
         <groupId>io.rest-assured</groupId>
         <artifactId>rest-assured-parent</artifactId>
-        <version>5.0.2-SNAPSHOT</version>
+        <version>5.1.1-SNAPSHOT</version>
     </parent>
     <groupId>io.rest-assured</groupId>
     <artifactId>json-path</artifactId>
     <packaging>bundle</packaging>
-    <version>5.0.2-SNAPSHOT</version>
+    <version>5.1.1-SNAPSHOT</version>
     <name>json-path</name>
     <url>http://maven.apache.org</url>
     <properties>
@@ -115,7 +115,7 @@
         <dependency>
             <groupId>io.rest-assured</groupId>
             <artifactId>rest-assured-common</artifactId>
-            <version>5.0.2-SNAPSHOT</version>
+            <version>5.1.1-SNAPSHOT</version>
         </dependency>
 
         <!-- Test -->
diff --git a/modules/json-schema-validator/pom.xml b/modules/json-schema-validator/pom.xml
index d29ee700..0c735b49 100644
--- a/modules/json-schema-validator/pom.xml
+++ b/modules/json-schema-validator/pom.xml
@@ -20,10 +20,10 @@
     <parent>
         <groupId>io.rest-assured</groupId>
         <artifactId>modules</artifactId>
-        <version>5.0.2-SNAPSHOT</version>
+        <version>5.1.1-SNAPSHOT</version>
     </parent>
     <artifactId>json-schema-validator</artifactId>
-    <version>5.0.2-SNAPSHOT</version>
+    <version>5.1.1-SNAPSHOT</version>
     <name>json-schema-validator</name>
     <url>http://maven.apache.org</url>
     <properties>
diff --git a/modules/kotlin-extensions/pom.xml b/modules/kotlin-extensions/pom.xml
index db57ad65..220ccca5 100644
--- a/modules/kotlin-extensions/pom.xml
+++ b/modules/kotlin-extensions/pom.xml
@@ -20,10 +20,10 @@
     <parent>
         <groupId>io.rest-assured</groupId>
         <artifactId>modules</artifactId>
-        <version>5.0.2-SNAPSHOT</version>
+        <version>5.1.1-SNAPSHOT</version>
     </parent>
     <artifactId>kotlin-extensions</artifactId>
-    <version>5.0.2-SNAPSHOT</version>
+    <version>5.1.1-SNAPSHOT</version>
     <name>kotlin-extensions</name>
     <url>http://maven.apache.org</url>
     <properties>
@@ -39,7 +39,7 @@
         <dependency>
             <groupId>io.rest-assured</groupId>
             <artifactId>rest-assured</artifactId>
-            <version>5.0.2-SNAPSHOT</version>
+            <version>5.1.1-SNAPSHOT</version>
         </dependency>
 
         <!-- Test -->
diff --git a/modules/pom.xml b/modules/pom.xml
index 006f46bb..b953843a 100644
--- a/modules/pom.xml
+++ b/modules/pom.xml
@@ -19,7 +19,7 @@
     <parent>
         <artifactId>rest-assured-parent</artifactId>
         <groupId>io.rest-assured</groupId>
-        <version>5.0.2-SNAPSHOT</version>
+        <version>5.1.1-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
     <artifactId>modules</artifactId>
diff --git a/modules/scala-support/pom.xml b/modules/scala-support/pom.xml
index face1d03..6fabaac9 100644
--- a/modules/scala-support/pom.xml
+++ b/modules/scala-support/pom.xml
@@ -19,7 +19,7 @@
     <parent>
         <groupId>io.rest-assured</groupId>
         <artifactId>modules</artifactId>
-        <version>5.0.2-SNAPSHOT</version>
+        <version>5.1.1-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
@@ -79,7 +79,7 @@
         <dependency>
             <groupId>io.rest-assured</groupId>
             <artifactId>rest-assured</artifactId>
-            <version>5.0.2-SNAPSHOT</version>
+            <version>5.1.1-SNAPSHOT</version>
         </dependency>
         <dependency>
             <groupId>junit</groupId>
diff --git a/modules/spring-commons/pom.xml b/modules/spring-commons/pom.xml
index 6f09c141..f5422443 100644
--- a/modules/spring-commons/pom.xml
+++ b/modules/spring-commons/pom.xml
@@ -19,10 +19,10 @@
     <parent>
         <groupId>io.rest-assured</groupId>
         <artifactId>modules</artifactId>
-        <version>5.0.2-SNAPSHOT</version>
+        <version>5.1.1-SNAPSHOT</version>
     </parent>
     <artifactId>spring-commons</artifactId>
-    <version>5.0.2-SNAPSHOT</version>
+    <version>5.1.1-SNAPSHOT</version>
     <name>spring-commons</name>
     <url>http://maven.apache.org</url>
     <properties>
@@ -34,7 +34,7 @@
         <dependency>
             <groupId>io.rest-assured</groupId>
             <artifactId>rest-assured</artifactId>
-            <version>5.0.2-SNAPSHOT</version>
+            <version>5.1.1-SNAPSHOT</version>
         </dependency>
     </dependencies>
 </project>
\ No newline at end of file
diff --git a/modules/spring-mock-mvc-kotlin-extensions/pom.xml b/modules/spring-mock-mvc-kotlin-extensions/pom.xml
index f4e9b4ba..da1c483f 100644
--- a/modules/spring-mock-mvc-kotlin-extensions/pom.xml
+++ b/modules/spring-mock-mvc-kotlin-extensions/pom.xml
@@ -20,11 +20,11 @@
     <parent>
         <artifactId>modules</artifactId>
         <groupId>io.rest-assured</groupId>
-        <version>5.0.2-SNAPSHOT</version>
+        <version>5.1.1-SNAPSHOT</version>
     </parent>
 
     <artifactId>spring-mock-mvc-kotlin-extensions</artifactId>
-    <version>5.0.2-SNAPSHOT</version>
+    <version>5.1.1-SNAPSHOT</version>
     <name>spring-mock-mvc-kotlin-extensions</name>
     <url>http://maven.apache.org</url>
     <properties>
@@ -40,7 +40,7 @@
         <dependency>
             <groupId>io.rest-assured</groupId>
             <artifactId>spring-mock-mvc</artifactId>
-            <version>5.0.2-SNAPSHOT</version>
+            <version>5.1.1-SNAPSHOT</version>
         </dependency>
         <dependency>
             <groupId>javax.servlet</groupId>
diff --git a/modules/spring-mock-mvc/pom.xml b/modules/spring-mock-mvc/pom.xml
index 6b043a9c..d3e5fc2c 100644
--- a/modules/spring-mock-mvc/pom.xml
+++ b/modules/spring-mock-mvc/pom.xml
@@ -20,10 +20,10 @@
     <parent>
         <groupId>io.rest-assured</groupId>
         <artifactId>modules</artifactId>
-        <version>5.0.2-SNAPSHOT</version>
+        <version>5.1.1-SNAPSHOT</version>
     </parent>
     <artifactId>spring-mock-mvc</artifactId>
-    <version>5.0.2-SNAPSHOT</version>
+    <version>5.1.1-SNAPSHOT</version>
     <name>spring-mock-mvc</name>
     <url>http://maven.apache.org</url>
     <properties>
@@ -36,12 +36,12 @@
         <dependency>
             <groupId>io.rest-assured</groupId>
             <artifactId>rest-assured</artifactId>
-            <version>5.0.2-SNAPSHOT</version>
+            <version>5.1.1-SNAPSHOT</version>
         </dependency>
         <dependency>
             <groupId>io.rest-assured</groupId>
             <artifactId>spring-commons</artifactId>
-            <version>5.0.2-SNAPSHOT</version>
+            <version>5.1.1-SNAPSHOT</version>
         </dependency>
         <dependency>
             <groupId>org.springframework</groupId>
diff --git a/pom.xml b/pom.xml
index 37d8afb5..19c7ae8e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -26,7 +26,7 @@
     <groupId>io.rest-assured</groupId>
     <artifactId>rest-assured-parent</artifactId>
     <packaging>pom</packaging>
-    <version>5.0.2-SNAPSHOT</version>
+    <version>5.1.1-SNAPSHOT</version>
     <url>http://code.google.com/p/rest-assured</url>
     <name>REST Assured Parent POM</name>
     <description>Java DSL for easy testing of REST services</description>
@@ -448,7 +448,7 @@
             <dependency>
                 <groupId>com.google.code.gson</groupId>
                 <artifactId>gson</artifactId>
-                <version>2.6.2</version>
+                <version>2.9.0</version>
             </dependency>
             <dependency>
                 <groupId>com.googlecode.json-simple</groupId>
diff --git a/rest-assured-all/pom.xml b/rest-assured-all/pom.xml
index 0a279636..80f74de3 100644
--- a/rest-assured-all/pom.xml
+++ b/rest-assured-all/pom.xml
@@ -19,7 +19,7 @@
     <parent>
         <artifactId>rest-assured-parent</artifactId>
         <groupId>io.rest-assured</groupId>
-        <version>5.0.2-SNAPSHOT</version>
+        <version>5.1.1-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/rest-assured-common/pom.xml b/rest-assured-common/pom.xml
index c59a63b4..7c63efee 100644
--- a/rest-assured-common/pom.xml
+++ b/rest-assured-common/pom.xml
@@ -20,12 +20,12 @@
     <parent>
         <groupId>io.rest-assured</groupId>
         <artifactId>rest-assured-parent</artifactId>
-        <version>5.0.2-SNAPSHOT</version>
+        <version>5.1.1-SNAPSHOT</version>
     </parent>
     <groupId>io.rest-assured</groupId>
     <artifactId>rest-assured-common</artifactId>
     <packaging>bundle</packaging>
-    <version>5.0.2-SNAPSHOT</version>
+    <version>5.1.1-SNAPSHOT</version>
     <name>rest-assured-common</name>
     <url>http://maven.apache.org</url>
     <properties>
diff --git a/rest-assured/pom.xml b/rest-assured/pom.xml
index 59bcf9ee..dff6102c 100644
--- a/rest-assured/pom.xml
+++ b/rest-assured/pom.xml
@@ -22,12 +22,12 @@
     <parent>
         <groupId>io.rest-assured</groupId>
         <artifactId>rest-assured-parent</artifactId>
-        <version>5.0.2-SNAPSHOT</version>
+        <version>5.1.1-SNAPSHOT</version>
     </parent>
 
     <groupId>io.rest-assured</groupId>
     <artifactId>rest-assured</artifactId>
-    <version>5.0.2-SNAPSHOT</version>
+    <version>5.1.1-SNAPSHOT</version>
     <packaging>bundle</packaging>
 
     <name>REST Assured</name>
@@ -125,12 +125,12 @@
         <dependency>
             <groupId>io.rest-assured</groupId>
             <artifactId>json-path</artifactId>
-            <version>5.0.2-SNAPSHOT</version>
+            <version>5.1.1-SNAPSHOT</version>
         </dependency>
         <dependency>
             <groupId>io.rest-assured</groupId>
             <artifactId>xml-path</artifactId>
-            <version>5.0.2-SNAPSHOT</version>
+            <version>5.1.1-SNAPSHOT</version>
         </dependency>
         <!-- Optional dependencies -->
         <dependency>
diff --git a/rest-assured/src/main/groovy/io/restassured/internal/SpecificationMerger.groovy b/rest-assured/src/main/groovy/io/restassured/internal/SpecificationMerger.groovy
index 3e7c4ef0..8478afb6 100644
--- a/rest-assured/src/main/groovy/io/restassured/internal/SpecificationMerger.groovy
+++ b/rest-assured/src/main/groovy/io/restassured/internal/SpecificationMerger.groovy
@@ -53,6 +53,7 @@ class SpecificationMerger {
     thisOne.contentType = with.contentType
     thisOne.rpr.defaultParser = with.rpr.defaultParser
     thisOne.rpr.additional.putAll(with.rpr.additional)
+    thisOne.responseLogDetail = with.responseLogDetail
     thisOne.bodyMatchers.add(with.bodyMatchers)
     thisOne.bodyRootPath = with.bodyRootPath
     thisOne.cookieAssertions.addAll(with.cookieAssertions)
diff --git a/xml-path/pom.xml b/xml-path/pom.xml
index c0401cc8..652307ba 100644
--- a/xml-path/pom.xml
+++ b/xml-path/pom.xml
@@ -19,7 +19,7 @@
     <parent>
         <artifactId>rest-assured-parent</artifactId>
         <groupId>io.rest-assured</groupId>
-        <version>5.0.2-SNAPSHOT</version>
+        <version>5.1.1-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
@@ -69,7 +69,7 @@
         <dependency>
             <groupId>io.rest-assured</groupId>
             <artifactId>rest-assured-common</artifactId>
-            <version>5.0.2-SNAPSHOT</version>
+            <version>5.1.1-SNAPSHOT</version>
         </dependency>
         <dependency>
             <groupId>org.apache.commons</groupId>


Test patch:
diff --git a/dist/dist-spring-web-test-client/pom.xml b/dist/dist-spring-web-test-client/pom.xml
index 313f3f4c..376b7eeb 100644
--- a/dist/dist-spring-web-test-client/pom.xml
+++ b/dist/dist-spring-web-test-client/pom.xml
@@ -19,7 +19,7 @@
     <parent>
         <artifactId>dist</artifactId>
         <groupId>io.rest-assured</groupId>
-        <version>5.0.2-SNAPSHOT</version>
+        <version>5.1.1-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/examples/rest-assured-itest-java-osgi/pom.xml b/examples/rest-assured-itest-java-osgi/pom.xml
index 415ce344..1b33d971 100644
--- a/examples/rest-assured-itest-java-osgi/pom.xml
+++ b/examples/rest-assured-itest-java-osgi/pom.xml
@@ -19,7 +19,7 @@
     <parent>
         <groupId>io.rest-assured.examples</groupId>
         <artifactId>example-parent</artifactId>
-        <version>5.0.2-SNAPSHOT</version>
+        <version>5.1.1-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/examples/rest-assured-itest-java/pom.xml b/examples/rest-assured-itest-java/pom.xml
index 50b625e9..bd87a612 100644
--- a/examples/rest-assured-itest-java/pom.xml
+++ b/examples/rest-assured-itest-java/pom.xml
@@ -19,7 +19,7 @@
     <parent>
         <groupId>io.rest-assured.examples</groupId>
         <artifactId>example-parent</artifactId>
-        <version>5.0.2-SNAPSHOT</version>
+        <version>5.1.1-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
@@ -50,23 +50,23 @@
         <dependency>
             <groupId>io.rest-assured.examples</groupId>
             <artifactId>scalatra-webapp</artifactId>
-            <version>5.0.2-SNAPSHOT</version>
+            <version>5.1.1-SNAPSHOT</version>
             <type>war</type>
         </dependency>
         <dependency>
             <groupId>io.rest-assured.examples</groupId>
             <artifactId>scalatra-example</artifactId>
-            <version>5.0.2-SNAPSHOT</version>
+            <version>5.1.1-SNAPSHOT</version>
         </dependency>
         <dependency>
             <groupId>io.rest-assured</groupId>
             <artifactId>rest-assured</artifactId>
-            <version>5.0.2-SNAPSHOT</version>
+            <version>5.1.1-SNAPSHOT</version>
         </dependency>
         <dependency>
             <groupId>io.rest-assured</groupId>
             <artifactId>json-schema-validator</artifactId>
-            <version>5.0.2-SNAPSHOT</version>
+            <version>5.1.1-SNAPSHOT</version>
         </dependency>
         <dependency>
             <groupId>org.eclipse.jetty</groupId>
@@ -105,7 +105,7 @@
         <dependency>
             <groupId>com.google.code.gson</groupId>
             <artifactId>gson</artifactId>
-            <version>2.2.4</version>
+            <version>2.9.0</version>
             <scope>test</scope>
         </dependency>
         <dependency>
diff --git a/modules/spring-web-test-client/pom.xml b/modules/spring-web-test-client/pom.xml
index 6334afdc..f0b37a7b 100644
--- a/modules/spring-web-test-client/pom.xml
+++ b/modules/spring-web-test-client/pom.xml
@@ -20,10 +20,10 @@
     <parent>
         <groupId>io.rest-assured</groupId>
         <artifactId>modules</artifactId>
-        <version>5.0.2-SNAPSHOT</version>
+        <version>5.1.1-SNAPSHOT</version>
     </parent>
     <artifactId>spring-web-test-client</artifactId>
-    <version>5.0.2-SNAPSHOT</version>
+    <version>5.1.1-SNAPSHOT</version>
     <name>spring-web-test-client</name>
     <url>http://maven.apache.org</url>
     <properties>
@@ -72,6 +72,7 @@
             <groupId>org.springframework</groupId>
             <artifactId>spring-test</artifactId>
             <version>${spring.version}</version>
+            <optional>true</optional>
         </dependency>
         <dependency>
             <groupId>org.springframework</groupId>
@@ -82,6 +83,7 @@
             <groupId>org.springframework</groupId>
             <artifactId>spring-webflux</artifactId>
             <version>${spring.version}</version>
+            <optional>true</optional>
         </dependency>
         
         <dependency>
diff --git a/modules/spring-web-test-client/src/main/java/io/restassured/module/webtestclient/internal/ExchangeResultConverter.java b/modules/spring-web-test-client/src/main/java/io/restassured/module/webtestclient/internal/ExchangeResultConverter.java
index 40db8855..c21b9ed8 100644
--- a/modules/spring-web-test-client/src/main/java/io/restassured/module/webtestclient/internal/ExchangeResultConverter.java
+++ b/modules/spring-web-test-client/src/main/java/io/restassured/module/webtestclient/internal/ExchangeResultConverter.java
@@ -55,17 +55,18 @@ class ExchangeResultConverter {
                 logRepository);
         restAssuredResponse.setConfig(ConfigConverter.convertToRestAssuredConfig(config));
         byte[] responseBodyContent = ofNullable(consumer).map(theConsumer ->
-                responseSpec.expectBody().consumeWith(theConsumer).returnResult().getResponseBodyContent())
+                        responseSpec.expectBody().consumeWith(theConsumer).returnResult().getResponseBodyContent())
                 .orElseGet(() -> responseSpec.expectBody().returnResult().getResponseBodyContent());
         restAssuredResponse.setContent(responseBodyContent);
         MediaType contentType = result.getResponseHeaders().getContentType();
         restAssuredResponse.setContentType(ofNullable(contentType).map(MimeType::toString).orElse(null));
         restAssuredResponse.setHasExpectations(false);
-        restAssuredResponse.setStatusCode(result.getStatus().value());
+        HttpStatus status = getHttpStatusByReflection(result);
+        restAssuredResponse.setStatusCode(status.value());
         List<Header> responseHeaders = assembleHeaders(result.getResponseHeaders());
         restAssuredResponse.setResponseHeaders(new Headers(responseHeaders));
         restAssuredResponse.setRpr(responseParserRegistrar);
-        restAssuredResponse.setStatusLine(buildResultString(result.getStatus()));
+        restAssuredResponse.setStatusLine(buildResultString(status));
         restAssuredResponse.setFilterContextProperties(new HashMap<Object, Object>() {{
             put(TimingFilter.RESPONSE_TIME_MILLISECONDS, responseTime);
         }});
@@ -98,4 +99,15 @@ class ExchangeResultConverter {
         return new Cookies(cookies);
     }
 
+    // Due to incompatibilities between Spring 5 and 6
+    private static HttpStatus getHttpStatusByReflection(FluxExchangeResult<byte[]> result) {
+        final HttpStatus status;
+        try {
+            status = (HttpStatus) result.getClass().getMethod("getStatus").invoke(result);
+        } catch (Exception e) {
+            throw new RuntimeException(e);
+        }
+        return status;
+    }
+
 }
diff --git a/rest-assured/src/test/groovy/io/restassured/SpecificationMergerTest.groovy b/rest-assured/src/test/groovy/io/restassured/SpecificationMergerTest.groovy
index 2a937cc3..ed2e7494 100644
--- a/rest-assured/src/test/groovy/io/restassured/SpecificationMergerTest.groovy
+++ b/rest-assured/src/test/groovy/io/restassured/SpecificationMergerTest.groovy
@@ -22,6 +22,7 @@ import io.restassured.builder.ResponseSpecBuilder
 import io.restassured.config.RestAssuredConfig
 import io.restassured.filter.Filter
 import io.restassured.filter.FilterContext
+import io.restassured.filter.log.LogDetail
 import io.restassured.http.ContentType
 import io.restassured.internal.SpecificationMerger
 import io.restassured.internal.filter.FormAuthFilter
@@ -176,6 +177,16 @@ class SpecificationMergerTest {
     assertEquals Parser.JSON, merge.rpr.defaultParser
   }
 
+  @Test
+  void overwritesLogDetail() throws Exception {
+    def merge = new ResponseSpecBuilder().log(LogDetail.COOKIES).build()
+    def with = new ResponseSpecBuilder().log(LogDetail.URI).build()
+
+    SpecificationMerger.merge(merge, with)
+
+    assertEquals LogDetail.URI, merge.getLogDetail()
+  }
+
   @Test
   void authFiltersAreOverwritten() throws Exception {
     def merge = new RequestSpecBuilder().addFilter(new FormAuthFilter()).build()