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

Commit b2d0ea4

Browse files
authored
2.0.7 release (#359)
* 2.0.7-release * reformat * also samples 2.0.7 * html
1 parent aca9fce commit b2d0ea4

File tree

20 files changed

+497
-204
lines changed

20 files changed

+497
-204
lines changed

README.md

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

2323
## Documentation
2424

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

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

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

3131
Older releases:
32-
[2.0.5](https://htmlpreview.github.io/?https://github.com/ScaCap/spring-auto-restdocs/blob/v2.0.5/docs/index.html),
32+
[2.0.6](https://htmlpreview.github.io/?https://github.com/ScaCap/spring-auto-restdocs/blob/v2.0.6/docs/index.html),
3333
[1.0.14](https://htmlpreview.github.io/?https://github.com/ScaCap/spring-auto-restdocs/blob/v1.0.14/docs/index.html)
3434

3535
## Main features

docs/index.html

Lines changed: 47 additions & 47 deletions
Large diffs are not rendered by default.

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.7-SNAPSHOT</version>
8+
<version>2.0.7</version>
99
<packaging>pom</packaging>
1010

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

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

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="UTF-8">
55
<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]-->
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7-
<meta name="generator" content="Asciidoctor 1.5.7.1">
7+
<meta name="generator" content="Asciidoctor 1.5.8">
88
<title>Java WebTestClient Example API Documentation</title>
99
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic%7CNoto+Serif:400,400italic,700,700italic%7CDroid+Sans+Mono:400,700">
1010
<style>
@@ -79,7 +79,7 @@
7979
h3,#toctitle,.sidebarblock>.content>.title{font-size:1.375em}
8080
h4,h5{font-size:1.125em}
8181
h6{font-size:1em}
82-
hr{border:solid #ddddd8;border-width:1px 0 0;clear:both;margin:1.25em 0 1.1875em;height:0}
82+
hr{border:solid #dddddf;border-width:1px 0 0;clear:both;margin:1.25em 0 1.1875em;height:0}
8383
em,i{font-style:italic;line-height:inherit}
8484
strong,b{font-weight:bold;line-height:inherit}
8585
small{font-size:60%;line-height:inherit}
@@ -141,9 +141,9 @@
141141
#content{margin-top:1.25em}
142142
#content::before{content:none}
143143
#header>h1:first-child{color:rgba(0,0,0,.85);margin-top:2.25rem;margin-bottom:0}
144-
#header>h1:first-child+#toc{margin-top:8px;border-top:1px solid #ddddd8}
145-
#header>h1:only-child,body.toc2 #header>h1:nth-last-child(2){border-bottom:1px solid #ddddd8;padding-bottom:8px}
146-
#header .details{border-bottom:1px solid #ddddd8;line-height:1.45;padding-top:.25em;padding-bottom:.25em;padding-left:.25em;color:rgba(0,0,0,.6);display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-flow:row wrap;-webkit-flex-flow:row wrap;flex-flow:row wrap}
144+
#header>h1:first-child+#toc{margin-top:8px;border-top:1px solid #dddddf}
145+
#header>h1:only-child,body.toc2 #header>h1:nth-last-child(2){border-bottom:1px solid #dddddf;padding-bottom:8px}
146+
#header .details{border-bottom:1px solid #dddddf;line-height:1.45;padding-top:.25em;padding-bottom:.25em;padding-left:.25em;color:rgba(0,0,0,.6);display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-flow:row wrap;-webkit-flex-flow:row wrap;flex-flow:row wrap}
147147
#header .details span:first-child{margin-left:-.125em}
148148
#header .details span.email a{color:rgba(0,0,0,.85)}
149149
#header .details br{display:none}
@@ -152,8 +152,8 @@
152152
#header .details br+span#revremark::before{content:"\00a0|\00a0"}
153153
#header #revnumber{text-transform:capitalize}
154154
#header #revnumber::after{content:"\00a0"}
155-
#content>h1:first-child:not([class]){color:rgba(0,0,0,.85);border-bottom:1px solid #ddddd8;padding-bottom:8px;margin-top:0;padding-top:1rem;margin-bottom:1.25rem}
156-
#toc{border-bottom:1px solid #efefed;padding-bottom:.5em}
155+
#content>h1:first-child:not([class]){color:rgba(0,0,0,.85);border-bottom:1px solid #dddddf;padding-bottom:8px;margin-top:0;padding-top:1rem;margin-bottom:1.25rem}
156+
#toc{border-bottom:1px solid #e7e7e9;padding-bottom:.5em}
157157
#toc>ul{margin-left:.125em}
158158
#toc ul.sectlevel0>li>a{font-style:italic}
159159
#toc ul.sectlevel0 ul.sectlevel1{margin:.5em 0}
@@ -164,13 +164,13 @@
164164
#toctitle{color:#7a2518;font-size:1.2em}
165165
@media screen and (min-width:768px){#toctitle{font-size:1.375em}
166166
body.toc2{padding-left:15em;padding-right:0}
167-
#toc.toc2{margin-top:0!important;background-color:#f8f8f7;position:fixed;width:15em;left:0;top:0;border-right:1px solid #efefed;border-top-width:0!important;border-bottom-width:0!important;z-index:1000;padding:1.25em 1em;height:100%;overflow:auto}
167+
#toc.toc2{margin-top:0!important;background-color:#f8f8f7;position:fixed;width:15em;left:0;top:0;border-right:1px solid #e7e7e9;border-top-width:0!important;border-bottom-width:0!important;z-index:1000;padding:1.25em 1em;height:100%;overflow:auto}
168168
#toc.toc2 #toctitle{margin-top:0;margin-bottom:.8rem;font-size:1.2em}
169169
#toc.toc2>ul{font-size:.9em;margin-bottom:0}
170170
#toc.toc2 ul ul{margin-left:0;padding-left:1em}
171171
#toc.toc2 ul.sectlevel0 ul.sectlevel1{padding-left:0;margin-top:.5em;margin-bottom:.5em}
172172
body.toc2.toc-right{padding-left:0;padding-right:15em}
173-
body.toc2.toc-right #toc.toc2{border-right-width:0;border-left:1px solid #efefed;left:auto;right:0}}
173+
body.toc2.toc-right #toc.toc2{border-right-width:0;border-left:1px solid #e7e7e9;left:auto;right:0}}
174174
@media screen and (min-width:1280px){body.toc2{padding-left:20em;padding-right:0}
175175
#toc.toc2{width:20em}
176176
#toc.toc2 #toctitle{font-size:1.375em}
@@ -187,7 +187,7 @@
187187
@media screen and (min-width:768px){#content{margin-bottom:1.25em}
188188
.sect1{padding-bottom:1.25em}}
189189
.sect1:last-child{padding-bottom:0}
190-
.sect1+.sect1{border-top:1px solid #efefed}
190+
.sect1+.sect1{border-top:1px solid #e7e7e9}
191191
#content h1>a.anchor,h2>a.anchor,h3>a.anchor,#toctitle>a.anchor,.sidebarblock>.content>.title>a.anchor,h4>a.anchor,h5>a.anchor,h6>a.anchor{position:absolute;z-index:1001;width:1.5ex;margin-left:-1.5ex;display:block;text-decoration:none!important;visibility:hidden;text-align:center;font-weight:400}
192192
#content h1>a.anchor::before,h2>a.anchor::before,h3>a.anchor::before,#toctitle>a.anchor::before,.sidebarblock>.content>.title>a.anchor::before,h4>a.anchor::before,h5>a.anchor::before,h6>a.anchor::before{content:"\00A7";font-size:.85em;display:block;padding-top:.1em}
193193
#content h1:hover>a.anchor,#content h1>a.anchor:hover,h2:hover>a.anchor,h2>a.anchor:hover,h3:hover>a.anchor,#toctitle:hover>a.anchor,.sidebarblock>.content>.title:hover>a.anchor,h3>a.anchor:hover,#toctitle>a.anchor:hover,.sidebarblock>.content>.title>a.anchor:hover,h4:hover>a.anchor,h4>a.anchor:hover,h5:hover>a.anchor,h5>a.anchor:hover,h6:hover>a.anchor,h6>a.anchor:hover{visibility:visible}
@@ -202,7 +202,7 @@
202202
.admonitionblock>table td.icon{text-align:center;width:80px}
203203
.admonitionblock>table td.icon img{max-width:none}
204204
.admonitionblock>table td.icon .title{font-weight:bold;font-family:"Open Sans","DejaVu Sans",sans-serif;text-transform:uppercase}
205-
.admonitionblock>table td.content{padding-left:1.125em;padding-right:1.25em;border-left:1px solid #ddddd8;color:rgba(0,0,0,.6)}
205+
.admonitionblock>table td.content{padding-left:1.125em;padding-right:1.25em;border-left:1px solid #dddddf;color:rgba(0,0,0,.6)}
206206
.admonitionblock>table td.content>:last-child>:last-child{margin-bottom:0}
207207
.exampleblock>.content{border-style:solid;border-width:1px;border-color:#e6e6e6;margin-bottom:1.25em;padding:1.25em;background:#fff;-webkit-border-radius:4px;border-radius:4px}
208208
.exampleblock>.content>:first-child{margin-top:0}
@@ -214,10 +214,10 @@
214214
.exampleblock>.content>:last-child>:last-child,.exampleblock>.content .olist>ol>li:last-child>:last-child,.exampleblock>.content .ulist>ul>li:last-child>:last-child,.exampleblock>.content .qlist>ol>li:last-child>:last-child,.sidebarblock>.content>:last-child>:last-child,.sidebarblock>.content .olist>ol>li:last-child>:last-child,.sidebarblock>.content .ulist>ul>li:last-child>:last-child,.sidebarblock>.content .qlist>ol>li:last-child>:last-child{margin-bottom:0}
215215
.literalblock pre,.listingblock pre:not(.highlight),.listingblock pre[class="highlight"],.listingblock pre[class^="highlight "],.listingblock pre.CodeRay,.listingblock pre.prettyprint{background:#f7f7f8}
216216
.sidebarblock .literalblock pre,.sidebarblock .listingblock pre:not(.highlight),.sidebarblock .listingblock pre[class="highlight"],.sidebarblock .listingblock pre[class^="highlight "],.sidebarblock .listingblock pre.CodeRay,.sidebarblock .listingblock pre.prettyprint{background:#f2f1f1}
217-
.literalblock pre,.literalblock pre[class],.listingblock pre,.listingblock pre[class]{-webkit-border-radius:4px;border-radius:4px;word-wrap:break-word;padding:1em;font-size:.8125em}
218-
.literalblock pre.nowrap,.literalblock pre[class].nowrap,.listingblock pre.nowrap,.listingblock pre[class].nowrap{overflow-x:auto;white-space:pre;word-wrap:normal}
217+
.literalblock pre,.literalblock pre[class],.listingblock pre,.listingblock pre[class]{-webkit-border-radius:4px;border-radius:4px;word-wrap:break-word;overflow-x:auto;padding:1em;font-size:.8125em}
219218
@media screen and (min-width:768px){.literalblock pre,.literalblock pre[class],.listingblock pre,.listingblock pre[class]{font-size:.90625em}}
220219
@media screen and (min-width:1280px){.literalblock pre,.literalblock pre[class],.listingblock pre,.listingblock pre[class]{font-size:1em}}
220+
.literalblock pre.nowrap,.literalblock pre.nowrap pre,.listingblock pre.nowrap,.listingblock pre.nowrap pre{white-space:pre;word-wrap:normal}
221221
.literalblock.output pre{color:#f7f7f8;background-color:rgba(0,0,0,.9)}
222222
.listingblock pre.highlightjs{padding:0}
223223
.listingblock pre.highlightjs>code{padding:1em;-webkit-border-radius:4px;border-radius:4px}
@@ -230,30 +230,30 @@
230230
table.pyhltable{border-collapse:separate;border:0;margin-bottom:0;background:none}
231231
table.pyhltable td{vertical-align:top;padding-top:0;padding-bottom:0;line-height:1.45}
232232
table.pyhltable td.code{padding-left:.75em;padding-right:0}
233-
pre.pygments .lineno,table.pyhltable td:not(.code){color:#999;padding-left:0;padding-right:.5em;border-right:1px solid #ddddd8}
233+
pre.pygments .lineno,table.pyhltable td:not(.code){color:#999;padding-left:0;padding-right:.5em;border-right:1px solid #dddddf}
234234
pre.pygments .lineno{display:inline-block;margin-right:.25em}
235235
table.pyhltable .linenodiv{background:none!important;padding-right:0!important}
236236
.quoteblock{margin:0 1em 1.25em 1.5em;display:table}
237237
.quoteblock>.title{margin-left:-1.5em;margin-bottom:.75em}
238-
.quoteblock blockquote,.quoteblock blockquote p{color:rgba(0,0,0,.85);font-size:1.15rem;line-height:1.75;word-spacing:.1em;letter-spacing:0;font-style:italic;text-align:justify}
238+
.quoteblock blockquote,.quoteblock p{color:rgba(0,0,0,.85);font-size:1.15rem;line-height:1.75;word-spacing:.1em;letter-spacing:0;font-style:italic;text-align:justify}
239239
.quoteblock blockquote{margin:0;padding:0;border:0}
240240
.quoteblock blockquote::before{content:"\201c";float:left;font-size:2.75em;font-weight:bold;line-height:.6em;margin-left:-.6em;color:#7a2518;text-shadow:0 1px 2px rgba(0,0,0,.1)}
241241
.quoteblock blockquote>.paragraph:last-child p{margin-bottom:0}
242-
.quoteblock .attribution{margin-top:.5em;margin-right:.5ex;text-align:right}
243-
.quoteblock .quoteblock{margin-left:0;margin-right:0;padding:.5em 0;border-left:3px solid rgba(0,0,0,.6)}
244-
.quoteblock .quoteblock blockquote{padding:0 0 0 .75em}
245-
.quoteblock .quoteblock blockquote::before{display:none}
242+
.quoteblock .attribution{margin-top:.75em;margin-right:.5ex;text-align:right}
246243
.verseblock{margin:0 1em 1.25em}
247244
.verseblock pre{font-family:"Open Sans","DejaVu Sans",sans;font-size:1.15rem;color:rgba(0,0,0,.85);font-weight:300;text-rendering:optimizeLegibility}
248245
.verseblock pre strong{font-weight:400}
249246
.verseblock .attribution{margin-top:1.25rem;margin-left:.5ex}
250247
.quoteblock .attribution,.verseblock .attribution{font-size:.9375em;line-height:1.45;font-style:italic}
251248
.quoteblock .attribution br,.verseblock .attribution br{display:none}
252249
.quoteblock .attribution cite,.verseblock .attribution cite{display:block;letter-spacing:-.025em;color:rgba(0,0,0,.6)}
250+
.quoteblock.abstract blockquote::before,.quoteblock.excerpt blockquote::before,.quoteblock .quoteblock blockquote::before{display:none}
251+
.quoteblock.abstract blockquote,.quoteblock.abstract p,.quoteblock.excerpt blockquote,.quoteblock.excerpt p,.quoteblock .quoteblock blockquote,.quoteblock .quoteblock p{line-height:1.6;word-spacing:0}
253252
.quoteblock.abstract{margin:0 1em 1.25em;display:block}
254253
.quoteblock.abstract>.title{margin:0 0 .375em;font-size:1.15em;text-align:center}
255-
.quoteblock.abstract blockquote,.quoteblock.abstract blockquote p{word-spacing:0;line-height:1.6}
256-
.quoteblock.abstract blockquote::before,.quoteblock.abstract p::before{display:none}
254+
.quoteblock.excerpt,.quoteblock .quoteblock{margin:0 0 1.25em;padding:0 0 .25em 1em;border-left:.25em solid #dddddf}
255+
.quoteblock.excerpt blockquote,.quoteblock.excerpt p,.quoteblock .quoteblock blockquote,.quoteblock .quoteblock p{color:inherit;font-size:1.0625rem}
256+
.quoteblock.excerpt .attribution,.quoteblock .quoteblock .attribution{color:inherit;text-align:left;margin-right:0}
257257
table.tableblock{max-width:100%;border-collapse:separate}
258258
p.tableblock:last-child{margin-bottom:0}
259259
td.tableblock>.content{margin-bottom:-1.25em}
@@ -312,8 +312,8 @@
312312
.colist td:not([class]):first-child img{max-width:none}
313313
.colist td:not([class]):last-child{padding:.25em 0}
314314
.thumb,.th{line-height:0;display:inline-block;border:solid 4px #fff;-webkit-box-shadow:0 0 0 1px #ddd;box-shadow:0 0 0 1px #ddd}
315-
.imageblock.left,.imageblock[style*="float: left"]{margin:.25em .625em 1.25em 0}
316-
.imageblock.right,.imageblock[style*="float: right"]{margin:.25em 0 1.25em .625em}
315+
.imageblock.left{margin:.25em .625em 1.25em 0}
316+
.imageblock.right{margin:.25em 0 1.25em .625em}
317317
.imageblock>.title{margin-bottom:0}
318318
.imageblock.thumb,.imageblock.th{border-width:6px}
319319
.imageblock.thumb>.title,.imageblock.th>.title{padding:0 .125em}
@@ -407,7 +407,7 @@
407407
p,blockquote,dt,td.content{font-size:1em;orphans:3;widows:3}
408408
h2,h3,#toctitle,.sidebarblock>.content>.title{page-break-after:avoid}
409409
#toc,.sidebarblock,.exampleblock>.content{background:none!important}
410-
#toc{border-bottom:1px solid #ddddd8!important;padding-bottom:0!important}
410+
#toc{border-bottom:1px solid #dddddf!important;padding-bottom:0!important}
411411
body.book #header{text-align:center}
412412
body.book #header>h1:first-child{border:0!important;margin:2.5em 0 1em}
413413
body.book #header .details{border:0!important;display:block;padding:0!important}
@@ -458,7 +458,7 @@ <h2 id="resources-items"><a class="anchor" href="#resources-items"></a><a class=
458458
<div class="sect2">
459459
<h3 id="resources-item-resource-test-get-item"><a class="anchor" href="#resources-item-resource-test-get-item"></a><a class="link" href="#resources-item-resource-test-get-item">1.1. Get Item</a></h3>
460460
<div class="paragraph">
461-
<p><code>+GET /items/1+</code></p>
461+
<p><code>GET /items/1</code></p>
462462
</div>
463463
<div class="paragraph">
464464
<p>Returns item by ID.</p>
@@ -692,7 +692,7 @@ <h4 id="_example_response"><a class="anchor" href="#_example_response"></a><a cl
692692
<div class="sect2">
693693
<h3 id="resources-item-resource-test-get-all-items"><a class="anchor" href="#resources-item-resource-test-get-all-items"></a><a class="link" href="#resources-item-resource-test-get-all-items">1.2. All Items</a></h3>
694694
<div class="paragraph">
695-
<p><code>+GET /items+</code></p>
695+
<p><code>GET /items</code></p>
696696
</div>
697697
<div class="paragraph">
698698
<p>Lists all items.</p>
@@ -911,7 +911,7 @@ <h4 id="_example_response_2"><a class="anchor" href="#_example_response_2"></a><
911911
<div class="sect2">
912912
<h3 id="resources-item-resource-test-update-item"><a class="anchor" href="#resources-item-resource-test-update-item"></a><a class="link" href="#resources-item-resource-test-update-item">1.3. Update Item</a></h3>
913913
<div class="paragraph">
914-
<p><code>+PUT /items/1+</code></p>
914+
<p><code>PUT /items/1</code></p>
915915
</div>
916916
<div class="paragraph">
917917
<p>Updates existing item.</p>
@@ -1166,11 +1166,11 @@ <h4 id="_example_response_3"><a class="anchor" href="#_example_response_3"></a><
11661166
</div>
11671167
<div id="footer">
11681168
<div id="footer-text">
1169-
Last updated 2019-05-22 09:13:17 CEST
1169+
Last updated 2019-10-07 11:41:40 +0200
11701170
</div>
11711171
</div>
1172-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/github.min.css">
1173-
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
1172+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.13.1/styles/github.min.css">
1173+
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.13.1/highlight.min.js"></script>
11741174
<script>hljs.initHighlighting()</script>
11751175
</body>
11761176
</html>

samples/java-webflux/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
<groupId>capital.scalable</groupId>
1515
<artifactId>spring-auto-restdocs-java-webflux-example</artifactId>
16-
<version>0.0.1-SNAPSHOT</version>
16+
<version>2.0.7</version>
1717

1818
<name>Spring Auto REST Docs Java WebFlux Example Project</name>
1919
<description>Example project for Spring Auto REST Docs</description>
@@ -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.4.RELEASE</spring-restdocs.version>
38-
<spring-auto-restdocs.version>2.0.7-SNAPSHOT</spring-auto-restdocs.version>
38+
<spring-auto-restdocs.version>2.0.7</spring-auto-restdocs.version>
3939
</properties>
4040

4141
<dependencies>

samples/java-webmvc/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
buildscript {
22
ext {
3-
springAutoRestDocsVersion = "2.0.7-SNAPSHOT"
3+
springAutoRestDocsVersion = "2.0.7"
44
springRestDocsVersion = "2.0.4.RELEASE"
55
springBootVersion = "2.1.8.RELEASE"
66
}
@@ -20,7 +20,7 @@ apply plugin: "io.spring.dependency-management"
2020
apply plugin: "org.asciidoctor.convert"
2121

2222
group = "capital.scalable"
23-
version = "0.0.1-SNAPSHOT"
23+
version = "2.0.7"
2424

2525
description = """Spring Auto REST Docs Java Web MVC Example Project"""
2626

0 commit comments

Comments
 (0)