$ curl 'http://localhost:8080/items/1' -i -X DELETE \
- -H 'Authorization: Bearer 412a28e4-f983-4b65-ace7-c287b1f34e33'
+ -H 'Authorization: Bearer 46ab9c29-3e36-449c-bb8e-269196b13e4d'
diff --git a/docs/index.html b/docs/index.html index de74bd46..2425abf3 100644 --- a/docs/index.html +++ b/docs/index.html @@ -535,12 +535,24 @@
Does it work with Spring MVC tests?
-Yes, it is easy to use in existing or new Spring MVC tests. Take a look at the example.
+Does it work with Spring Web MVC tests?
+Yes, take a look at the example.
Does it work with Spring WebTestClient?
-Yes, but only basic support yet. Take a look at the example.
+Does it work with Spring WebFlux?
+Yes, take a look at the example.
+Is Kotlin supported?
+Yes, Spring Auto REST Docs 1.0.13 and 2.0.0 introduced Kotlin support.
+Instead of the Javadoc Doclet one has to use the Dokka extension
+spring-auto-restdocs-dokka-json. The extension is only available as 2.0.x,
+but works with both version of Spring Auto REST Docs. Take a look at the
+example.
Is Java 9 supported?
+Yes, see Getting Started.
Does it work with REST Assured tests?
@@ -565,17 +577,6 @@Is Kotlin supported?
-Yes, Spring Auto REST Docs 1.0.13 and 2.0.0 introduced Kotlin support.
-Instead of the Javadoc Doclet one has to use the Dokka extension
-spring-auto-restdocs-dokka-json. The extension is only available as 2.0.x,
-but works with both version of Spring Auto REST Docs.
Is Java 9 supported?
-Yes, see Getting Started.
-This projects includes a Java Web MVC example, a -Java WebTestClient example +Java WebFlux example and a Kotlin Web MVC example application that demonstrate most features.
@@ -895,7 +896,7 @@The generated documentation can be viewed for the Java Web MVC example, the -Java WebTestClient example +Java WebFlux example and the Kotlin Web MCV example.
@@ -1951,7 +1952,7 @@Unresolved directive in srd-items.adoc - include::/Users/duro/dev/spring-auto-restdocs/samples/java-webtestclient/target/generated-snippets/item-resource-test/get-item-with-rest-docs/auto-authorization.adoc[]
+Unresolved directive in srd-items.adoc - include::/Users/duro/dev/spring-auto-restdocs/samples/java-webflux/target/generated-snippets/item-resource-test/get-item-with-rest-docs/auto-authorization.adoc[]
Unresolved directive in srd-items.adoc - include::/Users/duro/dev/spring-auto-restdocs/samples/java-webtestclient/target/generated-snippets/item-resource-test/get-item-with-rest-docs/path-parameters.adoc[]
+Unresolved directive in srd-items.adoc - include::/Users/duro/dev/spring-auto-restdocs/samples/java-webflux/target/generated-snippets/item-resource-test/get-item-with-rest-docs/path-parameters.adoc[]
Unresolved directive in srd-items.adoc - include::/Users/duro/dev/spring-auto-restdocs/samples/java-webtestclient/target/generated-snippets/item-resource-test/get-item-with-rest-docs/response-fields.adoc[]
+Unresolved directive in srd-items.adoc - include::/Users/duro/dev/spring-auto-restdocs/samples/java-webflux/target/generated-snippets/item-resource-test/get-item-with-rest-docs/response-fields.adoc[]
Unresolved directive in srd-items.adoc - include::/Users/duro/dev/spring-auto-restdocs/samples/java-webtestclient/target/generated-snippets/item-resource-test/get-item-with-rest-docs/curl-request.adoc[] -Unresolved directive in srd-items.adoc - include::/Users/duro/dev/spring-auto-restdocs/samples/java-webtestclient/target/generated-snippets/item-resource-test/get-item-with-rest-docs/http-response.adoc[]
+Unresolved directive in srd-items.adoc - include::/Users/duro/dev/spring-auto-restdocs/samples/java-webflux/target/generated-snippets/item-resource-test/get-item-with-rest-docs/curl-request.adoc[] +Unresolved directive in srd-items.adoc - include::/Users/duro/dev/spring-auto-restdocs/samples/java-webflux/target/generated-snippets/item-resource-test/get-item-with-rest-docs/http-response.adoc[]
$ curl 'http://localhost:8080/items' -i -X POST \
-H 'Content-Type: application/json' \
- -H 'Authorization: Bearer 412a28e4-f983-4b65-ace7-c287b1f34e33' \
+ -H 'Authorization: Bearer 46ab9c29-3e36-449c-bb8e-269196b13e4d' \
-d '{"description":"Hot News"}'
@@ -1382,7 +1382,7 @@ $ curl 'http://localhost:8080/items/1' -i -X PUT \
-H 'Content-Type: application/json' \
- -H 'Authorization: Bearer 412a28e4-f983-4b65-ace7-c287b1f34e33' \
+ -H 'Authorization: Bearer 46ab9c29-3e36-449c-bb8e-269196b13e4d' \
-d '{"description":"Hot News"}'
@@ -1488,7 +1488,7 @@ $ curl 'http://localhost:8080/items/1' -i -X DELETE \
- -H 'Authorization: Bearer 412a28e4-f983-4b65-ace7-c287b1f34e33'
+ -H 'Authorization: Bearer 46ab9c29-3e36-449c-bb8e-269196b13e4d'
$ curl 'http://localhost:8080/items' -i -X POST \
-H 'Content-Type: application/json' \
- -H 'Authorization: Bearer d2329d42-eb9e-4c35-9c6f-08a627c45f0f' \
+ -H 'Authorization: Bearer e74119bc-d372-4c17-9263-931e0349e8ad' \
-d '{"description":"Hot News"}'
@@ -1367,7 +1367,7 @@ $ curl 'http://localhost:8080/items/1' -i -X PUT \
-H 'Content-Type: application/json' \
- -H 'Authorization: Bearer d2329d42-eb9e-4c35-9c6f-08a627c45f0f' \
+ -H 'Authorization: Bearer e74119bc-d372-4c17-9263-931e0349e8ad' \
-d '{"description":"Hot News"}'
@@ -1469,7 +1469,7 @@ $ curl 'http://localhost:8080/items/1' -i -X DELETE \
- -H 'Authorization: Bearer d2329d42-eb9e-4c35-9c6f-08a627c45f0f'
+ -H 'Authorization: Bearer e74119bc-d372-4c17-9263-931e0349e8ad'