|
6 | 6 |
|
7 | 7 | Spring Auto REST Docs has the following minimum requirements: |
8 | 8 |
|
9 | | -* Java 7 |
| 9 | +* Java 8 or Kotlin 1.2 |
10 | 10 | * Spring REST Docs ${spring-restdocs.version} (see http://docs.spring.io/spring-restdocs/docs/${spring-restdocs.version}/reference/html5/[documentation]) |
11 | 11 | * Jackson has to be used for creating and parsing JSON |
12 | 12 |
|
| 13 | +For Java 7 and Spring REST Docs 1.2.x support, |
| 14 | +please use the 1.0.x version of Spring Auto REST Docs. |
| 15 | + |
13 | 16 | [[gettingstarted-usage]] |
14 | 17 | === Usage |
15 | 18 |
|
@@ -241,10 +244,19 @@ repositories { |
241 | 244 | ---- |
242 | 245 |
|
243 | 246 | [[gettingstarted-sample]] |
244 | | -=== Sample application |
| 247 | +=== Sample applications |
245 | 248 |
|
246 | | -https://github.com/ScaCap/spring-auto-restdocs/tree/master/spring-auto-restdocs-example[This project] |
247 | | -includes a sample application that demonstrates most features. |
| 249 | +This projects includes a |
| 250 | +https://github.com/ScaCap/spring-auto-restdocs/tree/master/samples/java-webmvc[Java Web MVC example], |
| 251 | +a |
| 252 | +https://github.com/ScaCap/spring-auto-restdocs/tree/master/samples/java-webtestclient[Java WebTestClient example] |
| 253 | +and a |
| 254 | +https://github.com/ScaCap/spring-auto-restdocs/tree/master/samples/kotlin-webmvc[Kotlin Web MVC example] |
| 255 | +application that demonstrate most features. |
248 | 256 |
|
249 | | -The generated documentation of the example project can be viewed |
250 | | -https://htmlpreview.github.io/?https://github.com/ScaCap/spring-auto-restdocs/blob/master/spring-auto-restdocs-example/generated-docs/index.html[here]. |
| 257 | +The generated documentation can be viewed for the |
| 258 | +https://htmlpreview.github.io/?https://github.com/ScaCap/spring-auto-restdocs/blob/master/samples/java-webmvc/generated-docs/index.html[Java Web MVC example], |
| 259 | +the |
| 260 | +https://htmlpreview.github.io/?https://github.com/ScaCap/spring-auto-restdocs/blob/master/samples/java-webtestclient/generated-docs/index.html[Java WebTestClient example] |
| 261 | +and the |
| 262 | +https://htmlpreview.github.io/?https://github.com/ScaCap/spring-auto-restdocs/blob/master/samples/kotlin-webmvc/generated-docs/index.html[Kotlin Web MCV example]. |
0 commit comments