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

Commit b17dafd

Browse files
authored
1.0.13 Release (#222)
1 parent 5e17758 commit b17dafd

File tree

8 files changed

+40
-28
lines changed

8 files changed

+40
-28
lines changed

docs/index.html

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@
425425
<h1>Spring Auto REST Docs</h1>
426426
<div class="details">
427427
<span id="author" class="author">Scalable Capital</span><br>
428-
<span id="revnumber">version 1.0.13-SNAPSHOT</span>
428+
<span id="revnumber">version 1.0.13</span>
429429
</div>
430430
<div id="toc" class="toc2">
431431
<div id="toctitle">Table of Contents</div>
@@ -595,7 +595,7 @@ <h3 id="gettingstarted-usage"><a class="link" href="#gettingstarted-usage">Usage
595595
<pre class="highlightjs highlight"><code class="language-xml" data-lang="xml">&lt;dependency&gt;
596596
&lt;groupId&gt;capital.scalable&lt;/groupId&gt;
597597
&lt;artifactId&gt;spring-auto-restdocs-core&lt;/artifactId&gt;
598-
&lt;version&gt;1.0.12&lt;/version&gt;
598+
&lt;version&gt;1.0.13&lt;/version&gt;
599599
&lt;scope&gt;test&lt;/scope&gt; <i class="conum" data-value="1"></i><b>(1)</b>
600600
&lt;/dependency&gt;
601601

@@ -632,7 +632,7 @@ <h3 id="gettingstarted-usage"><a class="link" href="#gettingstarted-usage">Usage
632632
&lt;docletArtifact&gt;
633633
&lt;groupId&gt;capital.scalable&lt;/groupId&gt;
634634
&lt;artifactId&gt;spring-auto-restdocs-json-doclet&lt;/artifactId&gt;
635-
&lt;version&gt;1.0.12&lt;/version&gt;
635+
&lt;version&gt;1.0.13&lt;/version&gt;
636636
&lt;/docletArtifact&gt;
637637
&lt;destDir&gt;generated-javadoc-json&lt;/destDir&gt; <i class="conum" data-value="3"></i><b>(3)</b>
638638
&lt;reportOutputDirectory&gt;${project.build.directory}&lt;/reportOutputDirectory&gt; <i class="conum" data-value="3"></i><b>(3)</b>
@@ -677,8 +677,8 @@ <h3 id="gettingstarted-usage"><a class="link" href="#gettingstarted-usage">Usage
677677
}
678678

679679
dependencies {
680-
testCompile group: 'capital.scalable', name: 'spring-auto-restdocs-core', version: '1.0.12' <i class="conum" data-value="1"></i><b>(1)</b>
681-
jsondoclet group: 'capital.scalable', name: 'spring-auto-restdocs-json-doclet', version: '1.0.12'
680+
testCompile group: 'capital.scalable', name: 'spring-auto-restdocs-core', version: '1.0.13' <i class="conum" data-value="1"></i><b>(1)</b>
681+
jsondoclet group: 'capital.scalable', name: 'spring-auto-restdocs-json-doclet', version: '1.0.13'
682682
}
683683

684684
task jsonDoclet(type: Javadoc, dependsOn: compileJava) {
@@ -1228,6 +1228,18 @@ <h4 id="_configuration_4"><a class="link" href="#_configuration_4">Configuration
12281228
</div>
12291229
<div class="sect2">
12301230
<h3 id="snippets-section"><a class="link" href="#snippets-section">Section snippet</a></h3>
1231+
<div class="admonitionblock note">
1232+
<table>
1233+
<tr>
1234+
<td class="icon">
1235+
<i class="fa icon-note" title="Note"></i>
1236+
</td>
1237+
<td class="content">
1238+
Section snippets only work if AsciiDoc is used. Markdown is not supported, because Markdown has no includes.
1239+
</td>
1240+
</tr>
1241+
</table>
1242+
</div>
12311243
<div class="paragraph">
12321244
<p>The section snippet combines most common snippets into one convenient file.
12331245
It helps you being even more lazy, because a single line of AsciiDoc is sufficient to document one endpoint.
@@ -1245,14 +1257,14 @@ <h3 id="snippets-section"><a class="link" href="#snippets-section">Section snipp
12451257
<pre class="highlightjs highlight"><code class="language-asciidoc" data-lang="asciidoc">[[resources-{{link}}]]
12461258
=== {{title}}
12471259

1248-
include::{snippets}/{{path}}/auto-method-path.adoc[]
1260+
include::auto-method-path.adoc[]
12491261

1250-
include::{snippets}/{{path}}/auto-description.adoc[]
1262+
include::auto-description.adoc[]
12511263
{{#sections}}
12521264

12531265
==== {{header}}
12541266

1255-
include::{snippets}/{{path}}/{{fileName}}.adoc[]
1267+
include::{{fileName}}.adoc[]
12561268
{{/sections}}</code></pre>
12571269
</div>
12581270
</div>
@@ -1841,8 +1853,8 @@ <h4 id="contributing-building-build"><a class="link" href="#contributing-buildin
18411853
</div>
18421854
<div id="footer">
18431855
<div id="footer-text">
1844-
Version 1.0.13-SNAPSHOT<br>
1845-
Last updated 2018-03-23 17:38:01 CET
1856+
Version 1.0.13<br>
1857+
Last updated 2018-03-29 11:46:29 CEST
18461858
</div>
18471859
</div>
18481860
<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>1.0.13-SNAPSHOT</version>
8+
<version>1.0.13</version>
99
<packaging>pom</packaging>
1010

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

spring-auto-restdocs-core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>capital.scalable</groupId>
99
<artifactId>spring-auto-restdocs-parent</artifactId>
10-
<version>1.0.13-SNAPSHOT</version>
10+
<version>1.0.13</version>
1111
<relativePath>..</relativePath>
1212
</parent>
1313

spring-auto-restdocs-docs/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>capital.scalable</groupId>
88
<artifactId>spring-auto-restdocs-parent</artifactId>
9-
<version>1.0.13-SNAPSHOT</version>
9+
<version>1.0.13</version>
1010
<relativePath>..</relativePath>
1111
</parent>
1212

@@ -18,7 +18,7 @@
1818

1919
<properties>
2020
<docs.dir>${project.basedir}/../docs</docs.dir>
21-
<latestRelease>1.0.12</latestRelease> <!-- change this when releasing 1.0.13-SNAPSHOT -->
21+
<latestRelease>1.0.13</latestRelease> <!-- change this when releasing 1.0.13-SNAPSHOT -->
2222
</properties>
2323

2424
<build>

spring-auto-restdocs-example/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ apply plugin: "org.springframework.boot"
1717
apply plugin: "org.asciidoctor.convert"
1818

1919
group = "capital.scalable"
20-
version = "1.0.13-SNAPSHOT"
20+
version = "1.0.13"
2121

2222
description = """Spring Auto REST Docs Example Project"""
2323

spring-auto-restdocs-example/generated-docs/index.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1122,7 +1122,7 @@ <h4 id="_example_request"><a class="anchor" href="#_example_request"></a><a clas
11221122
<div class="content">
11231123
<pre class="highlightjs highlight"><code class="language-bash" data-lang="bash">$ curl 'http://localhost:8080/items' -i -X POST \
11241124
-H 'Content-Type: application/json' \
1125-
-H 'Authorization: Bearer 2a36e8fa-c94b-447e-9fd8-64ac096be8f3' \
1125+
-H 'Authorization: Bearer b948ac05-e501-4a79-96f6-d0065e407432' \
11261126
-d '{"description":"Hot News"}'</code></pre>
11271127
</div>
11281128
</div>
@@ -1359,7 +1359,7 @@ <h4 id="_example_request_2"><a class="anchor" href="#_example_request_2"></a><a
13591359
<div class="content">
13601360
<pre class="highlightjs highlight"><code class="language-bash" data-lang="bash">$ curl 'http://localhost:8080/items/1' -i -X PUT \
13611361
-H 'Content-Type: application/json' \
1362-
-H 'Authorization: Bearer 2a36e8fa-c94b-447e-9fd8-64ac096be8f3' \
1362+
-H 'Authorization: Bearer b948ac05-e501-4a79-96f6-d0065e407432' \
13631363
-d '{"description":"Hot News"}'</code></pre>
13641364
</div>
13651365
</div>
@@ -1465,7 +1465,7 @@ <h4 id="_example_request_3"><a class="anchor" href="#_example_request_3"></a><a
14651465
<div class="listingblock">
14661466
<div class="content">
14671467
<pre class="highlightjs highlight"><code class="language-bash" data-lang="bash">$ curl 'http://localhost:8080/items/1' -i -X DELETE \
1468-
-H 'Authorization: Bearer 2a36e8fa-c94b-447e-9fd8-64ac096be8f3'</code></pre>
1468+
-H 'Authorization: Bearer b948ac05-e501-4a79-96f6-d0065e407432'</code></pre>
14691469
</div>
14701470
</div>
14711471
</div>
@@ -1950,19 +1950,19 @@ <h4 id="_example_response_5"><a class="anchor" href="#_example_response_5"></a><
19501950
"page" : 0,
19511951
"size" : 20,
19521952
"sort" : null,
1953+
"offset" : 0,
19531954
"pageNumber" : 0,
1954-
"pageSize" : 20,
1955-
"offset" : 0
1955+
"pageSize" : 20
19561956
},
19571957
"total" : 1,
1958-
"totalElements" : 1,
19591958
"totalPages" : 1,
1959+
"totalElements" : 1,
19601960
"last" : true,
1961+
"size" : 20,
1962+
"number" : 0,
19611963
"sort" : null,
1962-
"numberOfElements" : 1,
19631964
"first" : true,
1964-
"size" : 20,
1965-
"number" : 0
1965+
"numberOfElements" : 1
19661966
}</code></pre>
19671967
</div>
19681968
</div>
@@ -2537,7 +2537,7 @@ <h4 id="_example_request_response_3"><a class="anchor" href="#_example_request_r
25372537
</div>
25382538
<div id="footer">
25392539
<div id="footer-text">
2540-
Last updated 2018-01-30 18:01:20 CET
2540+
Last updated 2018-03-29 11:29:38 CEST
25412541
</div>
25422542
</div>
25432543
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/styles/github.min.css">

spring-auto-restdocs-example/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-example</artifactId>
16-
<version>1.0.13-SNAPSHOT</version> <!-- not related to spring-auto-restdocs version -->
16+
<version>1.0.14-SNAPSHOT</version> <!-- not related to spring-auto-restdocs version -->
1717

1818
<name>Spring Auto REST Docs Example Project</name>
1919
<description>Example project for Spring Auto REST Docs</description>
@@ -36,7 +36,7 @@
3636
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3737
<start-class>capital.scalable.restdocs.example.Application</start-class>
3838
<spring-restdocs.version>1.2.3.RELEASE</spring-restdocs.version>
39-
<spring-auto-restdocs.version>1.0.13-SNAPSHOT</spring-auto-restdocs.version>
39+
<spring-auto-restdocs.version>1.0.13</spring-auto-restdocs.version>
4040
</properties>
4141

4242
<dependencies>

spring-auto-restdocs-json-doclet/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>capital.scalable</groupId>
77
<artifactId>spring-auto-restdocs-parent</artifactId>
8-
<version>1.0.13-SNAPSHOT</version>
8+
<version>1.0.13</version>
99
<relativePath>..</relativePath>
1010
</parent>
1111

0 commit comments

Comments
 (0)