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

Commit bad44d9

Browse files
authored
2.0.5 release (#319)
* 2.0.5 RELEASE * regenerated docs
1 parent 308f04c commit bad44d9

File tree

21 files changed

+495
-222
lines changed

21 files changed

+495
-222
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ from the Introducing Spring Auto REST Docs talk at Spring IO 2017 are also avail
2626

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

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

3131
Older releases:
3232
[2.0.3](https://htmlpreview.github.io/?https://github.com/ScaCap/spring-auto-restdocs/blob/v2.0.3/docs/index.html),

docs/index.html

Lines changed: 153 additions & 46 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.5-SNAPSHOT</version>
8+
<version>2.0.5</version>
99
<packaging>pom</packaging>
1010

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

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

Lines changed: 45 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -553,14 +553,20 @@ <h4 id="_response_fields"><a class="anchor" href="#_response_fields"></a><a clas
553553
<tr>
554554
<td class="tableblock halign-left valign-top"><p class="tableblock">meta.tag</p></td>
555555
<td class="tableblock halign-left valign-top"><p class="tableblock">String</p></td>
556-
<td class="tableblock halign-left valign-top"><p class="tableblock">true</p></td>
557-
<td class="tableblock halign-left valign-top"><p class="tableblock">Tag attribute. Available only if metadata type=1.</p></td>
556+
<td class="tableblock halign-left valign-top"><p class="tableblock">true (Available if metadata type=1)</p></td>
557+
<td class="tableblock halign-left valign-top"><p class="tableblock">Tag attribute. (Available if metadata type=1).</p></td>
558558
</tr>
559559
<tr>
560560
<td class="tableblock halign-left valign-top"><p class="tableblock">meta.order</p></td>
561561
<td class="tableblock halign-left valign-top"><p class="tableblock">Integer</p></td>
562-
<td class="tableblock halign-left valign-top"><p class="tableblock">true</p></td>
563-
<td class="tableblock halign-left valign-top"><p class="tableblock">Order attribute. Available only if metadata type=2.</p></td>
562+
<td class="tableblock halign-left valign-top"><p class="tableblock">true (Available if metadata type=2)</p></td>
563+
<td class="tableblock halign-left valign-top"><p class="tableblock">Order attribute. (Available if metadata type=2).</p></td>
564+
</tr>
565+
<tr>
566+
<td class="tableblock halign-left valign-top"><p class="tableblock">meta.sub</p></td>
567+
<td class="tableblock halign-left valign-top"><p class="tableblock">Object</p></td>
568+
<td class="tableblock halign-left valign-top"><p class="tableblock">true (Available if metadata type=2)</p></td>
569+
<td class="tableblock halign-left valign-top"><p class="tableblock">Sub metadata (recursive). Not expanded as client should not see it. (Available if metadata type=2).</p></td>
564570
</tr>
565571
<tr>
566572
<td class="tableblock halign-left valign-top"><p class="tableblock">attributes</p></td>
@@ -644,13 +650,14 @@ <h4 id="_example_response"><a class="anchor" href="#_example_response"></a><a cl
644650
<div class="listingblock">
645651
<div class="content">
646652
<pre class="highlightjs highlight nowrap"><code class="language-http hljs" data-lang="http">HTTP/1.1 200 OK
647-
Content-Type: application/json;charset=UTF-8
648-
Content-Length: 459
649-
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
650653
Pragma: no-cache
651654
Expires: 0
652-
X-Content-Type-Options: nosniff
653655
X-Frame-Options: DENY
656+
X-Content-Type-Options: nosniff
657+
Referrer-Policy: no-referrer
658+
Content-Length: 459
659+
Content-Type: application/json;charset=UTF-8
660+
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
654661
X-XSS-Protection: 1 ; mode=block
655662

656663
{
@@ -758,14 +765,20 @@ <h4 id="_response_fields_2"><a class="anchor" href="#_response_fields_2"></a><a
758765
<tr>
759766
<td class="tableblock halign-left valign-top"><p class="tableblock">[].meta.tag</p></td>
760767
<td class="tableblock halign-left valign-top"><p class="tableblock">String</p></td>
761-
<td class="tableblock halign-left valign-top"><p class="tableblock">true</p></td>
762-
<td class="tableblock halign-left valign-top"><p class="tableblock">Tag attribute. Available only if metadata type=1.</p></td>
768+
<td class="tableblock halign-left valign-top"><p class="tableblock">true (Available if metadata type=1)</p></td>
769+
<td class="tableblock halign-left valign-top"><p class="tableblock">Tag attribute. (Available if metadata type=1).</p></td>
763770
</tr>
764771
<tr>
765772
<td class="tableblock halign-left valign-top"><p class="tableblock">[].meta.order</p></td>
766773
<td class="tableblock halign-left valign-top"><p class="tableblock">Integer</p></td>
767-
<td class="tableblock halign-left valign-top"><p class="tableblock">true</p></td>
768-
<td class="tableblock halign-left valign-top"><p class="tableblock">Order attribute. Available only if metadata type=2.</p></td>
774+
<td class="tableblock halign-left valign-top"><p class="tableblock">true (Available if metadata type=2)</p></td>
775+
<td class="tableblock halign-left valign-top"><p class="tableblock">Order attribute. (Available if metadata type=2).</p></td>
776+
</tr>
777+
<tr>
778+
<td class="tableblock halign-left valign-top"><p class="tableblock">[].meta.sub</p></td>
779+
<td class="tableblock halign-left valign-top"><p class="tableblock">Object</p></td>
780+
<td class="tableblock halign-left valign-top"><p class="tableblock">true (Available if metadata type=2)</p></td>
781+
<td class="tableblock halign-left valign-top"><p class="tableblock">Sub metadata (recursive). Not expanded as client should not see it. (Available if metadata type=2).</p></td>
769782
</tr>
770783
<tr>
771784
<td class="tableblock halign-left valign-top"><p class="tableblock">[].attributes</p></td>
@@ -849,12 +862,13 @@ <h4 id="_example_response_2"><a class="anchor" href="#_example_response_2"></a><
849862
<div class="listingblock">
850863
<div class="content">
851864
<pre class="highlightjs highlight nowrap"><code class="language-http hljs" data-lang="http">HTTP/1.1 200 OK
852-
Content-Type: application/json;charset=UTF-8
853-
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
854865
Pragma: no-cache
855866
Expires: 0
856-
X-Content-Type-Options: nosniff
857867
X-Frame-Options: DENY
868+
X-Content-Type-Options: nosniff
869+
Referrer-Policy: no-referrer
870+
Content-Type: application/json;charset=UTF-8
871+
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
858872
X-XSS-Protection: 1 ; mode=block
859873
Content-Length: 598
860874

@@ -1026,14 +1040,20 @@ <h4 id="_response_fields_3"><a class="anchor" href="#_response_fields_3"></a><a
10261040
<tr>
10271041
<td class="tableblock halign-left valign-top"><p class="tableblock">meta.tag</p></td>
10281042
<td class="tableblock halign-left valign-top"><p class="tableblock">String</p></td>
1029-
<td class="tableblock halign-left valign-top"><p class="tableblock">true</p></td>
1030-
<td class="tableblock halign-left valign-top"><p class="tableblock">Tag attribute. Available only if metadata type=1.</p></td>
1043+
<td class="tableblock halign-left valign-top"><p class="tableblock">true (Available if metadata type=1)</p></td>
1044+
<td class="tableblock halign-left valign-top"><p class="tableblock">Tag attribute. (Available if metadata type=1).</p></td>
10311045
</tr>
10321046
<tr>
10331047
<td class="tableblock halign-left valign-top"><p class="tableblock">meta.order</p></td>
10341048
<td class="tableblock halign-left valign-top"><p class="tableblock">Integer</p></td>
1035-
<td class="tableblock halign-left valign-top"><p class="tableblock">true</p></td>
1036-
<td class="tableblock halign-left valign-top"><p class="tableblock">Order attribute. Available only if metadata type=2.</p></td>
1049+
<td class="tableblock halign-left valign-top"><p class="tableblock">true (Available if metadata type=2)</p></td>
1050+
<td class="tableblock halign-left valign-top"><p class="tableblock">Order attribute. (Available if metadata type=2).</p></td>
1051+
</tr>
1052+
<tr>
1053+
<td class="tableblock halign-left valign-top"><p class="tableblock">meta.sub</p></td>
1054+
<td class="tableblock halign-left valign-top"><p class="tableblock">Object</p></td>
1055+
<td class="tableblock halign-left valign-top"><p class="tableblock">true (Available if metadata type=2)</p></td>
1056+
<td class="tableblock halign-left valign-top"><p class="tableblock">Sub metadata (recursive). Not expanded as client should not see it. (Available if metadata type=2).</p></td>
10371057
</tr>
10381058
<tr>
10391059
<td class="tableblock halign-left valign-top"><p class="tableblock">attributes</p></td>
@@ -1119,14 +1139,15 @@ <h4 id="_example_response_3"><a class="anchor" href="#_example_response_3"></a><
11191139
<div class="listingblock">
11201140
<div class="content">
11211141
<pre class="highlightjs highlight nowrap"><code class="language-http hljs" data-lang="http">HTTP/1.1 200 OK
1122-
Content-Type: application/json;charset=UTF-8
1123-
Content-Length: 124
1124-
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
11251142
Pragma: no-cache
11261143
Expires: 0
1127-
X-Content-Type-Options: nosniff
11281144
X-Frame-Options: DENY
1145+
X-Content-Type-Options: nosniff
1146+
Referrer-Policy: no-referrer
1147+
Content-Type: application/json;charset=UTF-8
1148+
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
11291149
X-XSS-Protection: 1 ; mode=block
1150+
Content-Length: 124
11301151

11311152
{
11321153
"id" : "1",
@@ -1145,7 +1166,7 @@ <h4 id="_example_response_3"><a class="anchor" href="#_example_response_3"></a><
11451166
</div>
11461167
<div id="footer">
11471168
<div id="footer-text">
1148-
Last updated 2019-03-17 20:16:57 CET
1169+
Last updated 2019-03-25 20:17:39 CET
11491170
</div>
11501171
</div>
11511172
<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.3.RELEASE</spring-restdocs.version>
38-
<spring-auto-restdocs.version>2.0.5-SNAPSHOT</spring-auto-restdocs.version>
38+
<spring-auto-restdocs.version>2.0.5</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.5-SNAPSHOT"
3+
springAutoRestDocsVersion = "2.0.5"
44
springRestDocsVersion = "2.0.3.RELEASE"
55
springBootVersion = "2.1.3.RELEASE"
66
}

0 commit comments

Comments
 (0)