Skip to content
This repository was archived by the owner on Dec 19, 2023. It is now read-only.

Commit 2279fa0

Browse files
committed
2.0.2 release
1 parent 4adcce0 commit 2279fa0

File tree

17 files changed

+37
-45
lines changed

17 files changed

+37
-45
lines changed

README.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,23 +22,15 @@ from the Introducing Spring Auto REST Docs talk at Spring IO 2017 are also avail
2222

2323
## Documentation
2424

25-
[Current 2.0.1 release](https://htmlpreview.github.io/?https://github.com/ScaCap/spring-auto-restdocs/blob/v2.0.1/docs/index.html) reference guide (based on Spring REST Docs 2.x).
25+
[Current 2.0.2 release](https://htmlpreview.github.io/?https://github.com/ScaCap/spring-auto-restdocs/blob/v2.0.2/docs/index.html) reference guide (based on Spring REST Docs 2.x).
2626

2727
[Current 1.0.13 release](https://htmlpreview.github.io/?https://github.com/ScaCap/spring-auto-restdocs/blob/v1.0.13/docs/index.html) reference guide (based on Spring REST Docs 1.x).
2828

29-
Latest master [2.0.2-SNAPSHOT](https://scacap.github.io/spring-auto-restdocs) reference guide.
29+
Latest master [2.0.3-SNAPSHOT](https://scacap.github.io/spring-auto-restdocs) reference guide.
3030

3131
Older releases:
32-
[2.0.0](https://htmlpreview.github.io/?https://github.com/ScaCap/spring-auto-restdocs/blob/v2.0.0/docs/index.html),
32+
[2.0.1](https://htmlpreview.github.io/?https://github.com/ScaCap/spring-auto-restdocs/blob/v2.0.1/docs/index.html),
3333
[1.0.12](https://htmlpreview.github.io/?https://github.com/ScaCap/spring-auto-restdocs/blob/v1.0.12/docs/index.html),
34-
[1.0.11](https://htmlpreview.github.io/?https://github.com/ScaCap/spring-auto-restdocs/blob/v1.0.11/docs/index.html),
35-
[1.0.10](https://htmlpreview.github.io/?https://github.com/ScaCap/spring-auto-restdocs/blob/v1.0.10/docs/index.html),
36-
[1.0.9](https://htmlpreview.github.io/?https://github.com/ScaCap/spring-auto-restdocs/blob/v1.0.9/docs/index.html),
37-
[1.0.8](https://htmlpreview.github.io/?https://github.com/ScaCap/spring-auto-restdocs/blob/v1.0.8/docs/index.html),
38-
[1.0.7](https://htmlpreview.github.io/?https://github.com/ScaCap/spring-auto-restdocs/blob/v1.0.7/docs/index.html),
39-
[1.0.6](https://htmlpreview.github.io/?https://github.com/ScaCap/spring-auto-restdocs/blob/v1.0.6/docs/index.html),
40-
[1.0.5](https://htmlpreview.github.io/?https://github.com/ScaCap/spring-auto-restdocs/blob/v1.0.5/docs/index.html),
41-
[1.0.4](https://htmlpreview.github.io/?https://github.com/ScaCap/spring-auto-restdocs/blob/v1.0.4/docs/index.html).
4234

4335
## Main features
4436

docs/index.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@
432432
<h1>Spring Auto REST Docs</h1>
433433
<div class="details">
434434
<span id="author" class="author">Scalable Capital</span><br>
435-
<span id="revnumber">version 2.0.2-SNAPSHOT</span>
435+
<span id="revnumber">version 2.0.2</span>
436436
</div>
437437
<div id="toc" class="toc2">
438438
<div id="toctitle">Table of Contents</div>
@@ -625,7 +625,7 @@ <h3 id="gettingstarted-usage"><a class="link" href="#gettingstarted-usage">Usage
625625
<pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml">&lt;dependency&gt;
626626
&lt;groupId&gt;capital.scalable&lt;/groupId&gt;
627627
&lt;artifactId&gt;spring-auto-restdocs-core&lt;/artifactId&gt;
628-
&lt;version&gt;2.0.1&lt;/version&gt;
628+
&lt;version&gt;2.0.2&lt;/version&gt;
629629
&lt;scope&gt;test&lt;/scope&gt; <i class="conum" data-value="1"></i><b>(1)</b>
630630
&lt;/dependency&gt;
631631

@@ -662,7 +662,7 @@ <h3 id="gettingstarted-usage"><a class="link" href="#gettingstarted-usage">Usage
662662
&lt;docletArtifact&gt;
663663
&lt;groupId&gt;capital.scalable&lt;/groupId&gt;
664664
&lt;artifactId&gt;spring-auto-restdocs-json-doclet&lt;/artifactId&gt; <i class="conum" data-value="4"></i><b>(4)</b>
665-
&lt;version&gt;2.0.1&lt;/version&gt;
665+
&lt;version&gt;2.0.2&lt;/version&gt;
666666
&lt;/docletArtifact&gt;
667667
&lt;destDir&gt;generated-javadoc-json&lt;/destDir&gt; <i class="conum" data-value="3"></i><b>(3)</b>
668668
&lt;reportOutputDirectory&gt;${project.build.directory}&lt;/reportOutputDirectory&gt; <i class="conum" data-value="3"></i><b>(3)</b>
@@ -711,8 +711,8 @@ <h3 id="gettingstarted-usage"><a class="link" href="#gettingstarted-usage">Usage
711711
}
712712

713713
dependencies {
714-
testCompile group: 'capital.scalable', name: 'spring-auto-restdocs-core', version: '2.0.1' <i class="conum" data-value="1"></i><b>(1)</b>
715-
jsondoclet group: 'capital.scalable', name: 'spring-auto-restdocs-json-doclet', version: '2.0.1' <i class="conum" data-value="4"></i><b>(4)</b>
714+
testCompile group: 'capital.scalable', name: 'spring-auto-restdocs-core', version: '2.0.2' <i class="conum" data-value="1"></i><b>(1)</b>
715+
jsondoclet group: 'capital.scalable', name: 'spring-auto-restdocs-json-doclet', version: '2.0.2' <i class="conum" data-value="4"></i><b>(4)</b>
716716
}
717717

718718
task jsonDoclet(type: Javadoc, dependsOn: compileJava) {
@@ -1951,8 +1951,8 @@ <h4 id="contributing-building-build"><a class="link" href="#contributing-buildin
19511951
</div>
19521952
<div id="footer">
19531953
<div id="footer-text">
1954-
Version 2.0.2-SNAPSHOT<br>
1955-
Last updated 2018-09-20 10:38:11 CEST
1954+
Version 2.0.2<br>
1955+
Last updated 2018-09-20 11:41:18 CEST
19561956
</div>
19571957
</div>
19581958
<link rel="stylesheet" href="highlight/styles/github.min.css">

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>capital.scalable</groupId>
77
<artifactId>spring-auto-restdocs-parent</artifactId>
8-
<version>2.0.2-SNAPSHOT</version>
8+
<version>2.0.2</version>
99
<packaging>pom</packaging>
1010

1111
<name>Spring Auto REST Docs Parent POM</name>

samples/java-webflux/generated-docs/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1949,9 +1949,9 @@ <h4 id="_example_response_5"><a class="anchor" href="#_example_response_5"></a><
19491949
} ],
19501950
"pageable" : "INSTANCE",
19511951
"total" : 1,
1952+
"last" : true,
19521953
"totalElements" : 1,
19531954
"totalPages" : 1,
1954-
"last" : true,
19551955
"size" : 0,
19561956
"number" : 0,
19571957
"first" : true,
@@ -2461,7 +2461,7 @@ <h4 id="_example_request_response_3"><a class="anchor" href="#_example_request_r
24612461
</div>
24622462
<div id="footer">
24632463
<div id="footer-text">
2464-
Last updated 2018-08-21 17:28:10 CEST
2464+
Last updated 2018-09-20 11:36:05 CEST
24652465
</div>
24662466
</div>
24672467
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/github.min.css">

samples/java-webflux/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3636
<start-class>capital.scalable.restdocs.example.Application</start-class>
3737
<spring-restdocs.version>2.0.2.RELEASE</spring-restdocs.version>
38-
<spring-auto-restdocs.version>2.0.2-SNAPSHOT</spring-auto-restdocs.version>
38+
<spring-auto-restdocs.version>2.0.2</spring-auto-restdocs.version>
3939
</properties>
4040

4141
<dependencies>

samples/java-webmvc/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
buildscript {
22
ext {
3-
springAutoRestDocsVersion = "2.0.2-SNAPSHOT"
3+
springAutoRestDocsVersion = "2.0.2"
44
springRestDocsVersion = "2.0.2.RELEASE"
55
springBootVersion = "2.0.4.RELEASE"
66
}

samples/java-webmvc/generated-docs/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1145,7 +1145,7 @@ <h4 id="_example_request"><a class="anchor" href="#_example_request"></a><a clas
11451145
<div class="content">
11461146
<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">$ curl 'http://localhost:8080/items' -i -X POST \
11471147
-H 'Content-Type: application/json' \
1148-
-H 'Authorization: Bearer 46ab9c29-3e36-449c-bb8e-269196b13e4d' \
1148+
-H 'Authorization: Bearer afcd243f-5791-435e-95f3-836f317bb499' \
11491149
-d '{"description":"Hot News"}'</code></pre>
11501150
</div>
11511151
</div>
@@ -1382,7 +1382,7 @@ <h4 id="_example_request_2"><a class="anchor" href="#_example_request_2"></a><a
13821382
<div class="content">
13831383
<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">$ curl 'http://localhost:8080/items/1' -i -X PUT \
13841384
-H 'Content-Type: application/json' \
1385-
-H 'Authorization: Bearer 46ab9c29-3e36-449c-bb8e-269196b13e4d' \
1385+
-H 'Authorization: Bearer afcd243f-5791-435e-95f3-836f317bb499' \
13861386
-d '{"description":"Hot News"}'</code></pre>
13871387
</div>
13881388
</div>
@@ -1488,7 +1488,7 @@ <h4 id="_example_request_3"><a class="anchor" href="#_example_request_3"></a><a
14881488
<div class="listingblock">
14891489
<div class="content">
14901490
<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">$ curl 'http://localhost:8080/items/1' -i -X DELETE \
1491-
-H 'Authorization: Bearer 46ab9c29-3e36-449c-bb8e-269196b13e4d'</code></pre>
1491+
-H 'Authorization: Bearer afcd243f-5791-435e-95f3-836f317bb499'</code></pre>
14921492
</div>
14931493
</div>
14941494
</div>
@@ -1984,13 +1984,13 @@ <h4 id="_example_response_5"><a class="anchor" href="#_example_response_5"></a><
19841984
"unpaged" : false
19851985
},
19861986
"total" : 1,
1987-
"totalPages" : 1,
19881987
"totalElements" : 1,
19891988
"last" : true,
1989+
"totalPages" : 1,
19901990
"size" : 20,
19911991
"number" : 0,
1992-
"first" : true,
19931992
"numberOfElements" : 1,
1993+
"first" : true,
19941994
"sort" : {
19951995
"orders" : [ ],
19961996
"sorted" : false,

samples/java-webmvc/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3636
<start-class>capital.scalable.restdocs.example.Application</start-class>
3737
<spring-restdocs.version>2.0.2.RELEASE</spring-restdocs.version>
38-
<spring-auto-restdocs.version>2.0.2-SNAPSHOT</spring-auto-restdocs.version>
38+
<spring-auto-restdocs.version>2.0.2</spring-auto-restdocs.version>
3939
</properties>
4040

4141
<dependencies>

samples/kotlin-webmvc/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
buildscript {
22
ext {
33
kotlinVersion = "1.2.60"
4-
springAutoRestDocsVersion = "2.0.2-SNAPSHOT"
4+
springAutoRestDocsVersion = "2.0.2"
55
springRestDocsVersion = "2.0.2.RELEASE"
66
springBootVersion = "2.0.4.RELEASE"
77
dokkaVersion = "0.9.16"

samples/kotlin-webmvc/generated-docs/index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1130,7 +1130,7 @@ <h4 id="_example_request"><a class="anchor" href="#_example_request"></a><a clas
11301130
<div class="content">
11311131
<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">$ curl 'http://localhost:8080/items' -i -X POST \
11321132
-H 'Content-Type: application/json' \
1133-
-H 'Authorization: Bearer e74119bc-d372-4c17-9263-931e0349e8ad' \
1133+
-H 'Authorization: Bearer 9ce711ac-e82c-42aa-8d5a-4c136b06d79b' \
11341134
-d '{"description":"Hot News"}'</code></pre>
11351135
</div>
11361136
</div>
@@ -1367,7 +1367,7 @@ <h4 id="_example_request_2"><a class="anchor" href="#_example_request_2"></a><a
13671367
<div class="content">
13681368
<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">$ curl 'http://localhost:8080/items/1' -i -X PUT \
13691369
-H 'Content-Type: application/json' \
1370-
-H 'Authorization: Bearer e74119bc-d372-4c17-9263-931e0349e8ad' \
1370+
-H 'Authorization: Bearer 9ce711ac-e82c-42aa-8d5a-4c136b06d79b' \
13711371
-d '{"description":"Hot News"}'</code></pre>
13721372
</div>
13731373
</div>
@@ -1469,7 +1469,7 @@ <h4 id="_example_request_3"><a class="anchor" href="#_example_request_3"></a><a
14691469
<div class="listingblock">
14701470
<div class="content">
14711471
<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">$ curl 'http://localhost:8080/items/1' -i -X DELETE \
1472-
-H 'Authorization: Bearer e74119bc-d372-4c17-9263-931e0349e8ad'</code></pre>
1472+
-H 'Authorization: Bearer 9ce711ac-e82c-42aa-8d5a-4c136b06d79b'</code></pre>
14731473
</div>
14741474
</div>
14751475
</div>
@@ -1957,17 +1957,17 @@ <h4 id="_example_response_5"><a class="anchor" href="#_example_response_5"></a><
19571957
"offset" : 0,
19581958
"pageSize" : 20,
19591959
"pageNumber" : 0,
1960-
"paged" : true,
1961-
"unpaged" : false
1960+
"unpaged" : false,
1961+
"paged" : true
19621962
},
19631963
"total" : 1,
19641964
"last" : true,
19651965
"totalPages" : 1,
19661966
"totalElements" : 1,
19671967
"size" : 20,
19681968
"number" : 0,
1969-
"first" : true,
19701969
"numberOfElements" : 1,
1970+
"first" : true,
19711971
"sort" : {
19721972
"orders" : [ ],
19731973
"sorted" : false,

0 commit comments

Comments
 (0)