You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 19, 2023. It is now read-only.
<p>Provide your own template in <code>org/springframework/restdocs/templates/asciidoctor</code> (or <code>markdown</code>) package of your resources.
1400
-
You can override <ahref="https://github.com/spring-projects/spring-restdocs/tree/v1.2.2.RELEASE/spring-restdocs-core/src/main/resources/org/springframework/restdocs/templates">REST Docs templates</a>
1400
+
You can override <ahref="https://github.com/spring-projects/spring-restdocs/tree/v1.2.3.RELEASE/spring-restdocs-core/src/main/resources/org/springframework/restdocs/templates">REST Docs templates</a>
1401
1401
and <ahref="https://github.com/ScaCap/spring-auto-restdocs/tree/master/spring-auto-restdocs-core/src/main/resources/org/springframework/restdocs/templates">Auto REST Docs templates</a>.
1402
1402
Important is to omit <code>default-</code> part from the template name so that the resolution algorithm will prefer this custom template.
1403
-
See also <ahref="http://docs.spring.io/spring-restdocs/docs/1.2.2.RELEASE/reference/html5/#documenting-your-api-customizing-snippets">original documentation</a> for additional details.</p>
1403
+
See also <ahref="http://docs.spring.io/spring-restdocs/docs/1.2.3.RELEASE/reference/html5/#documenting-your-api-customizing-snippets">original documentation</a> for additional details.</p>
1404
1404
</div>
1405
1405
</div>
1406
1406
</div>
@@ -1480,7 +1480,7 @@ <h3 id="constraints-custom"><a class="link" href="#constraints-custom">Custom co
1480
1480
Each description is a property where the key is the full class name of the annotation suffixed with <code>.description</code>.
1481
1481
The value is the description and can contain placeholders for annotation methods,
1482
1482
e.g. <code>${value}</code> to get the content of <code>value()</code>.
1483
-
For more details, see original documentation of <ahref="http://docs.spring.io/spring-restdocs/docs/1.2.2.RELEASE/reference/html5/#documenting-your-api-constraints-describing">here</a>.</p>
1483
+
For more details, see original documentation of <ahref="http://docs.spring.io/spring-restdocs/docs/1.2.3.RELEASE/reference/html5/#documenting-your-api-constraints-describing">here</a>.</p>
1484
1484
</div>
1485
1485
<divclass="paragraph">
1486
1486
<p>Example for the constraint annotation <code>myproject.constraints.OneOf</code>:</p>
<p>Paging support in an endpoint is automatically recognized if request handler method contains <code>Pageable</code> parameter
1626
1626
and response is of type <code>Page</code>. This is then mentioned in request and response snippets by linking
1627
1627
to common section explaining the details of supported paging parameters/fields.
1628
-
This section has to be created manally and must be tagged as <code>[[overview-pagination]]</code>.
1628
+
This section has to be created manually and must be tagged as <code>[[overview-pagination]]</code>.
1629
1629
See example project for <ahref="https://github.com/ScaCap/spring-auto-restdocs/blob/master/spring-auto-restdocs-example/src/main/asciidoc/index.adoc#overview-pagination">paging section</a> template.</p>
0 commit comments