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.
1525
-
You can override <ahref="https://github.com/spring-projects/spring-restdocs/tree/v2.0.1.RELEASE/spring-restdocs-core/src/main/resources/org/springframework/restdocs/templates">REST Docs templates</a>
1525
+
You can override <ahref="https://github.com/spring-projects/spring-restdocs/tree/v2.0.2.RELEASE/spring-restdocs-core/src/main/resources/org/springframework/restdocs/templates">REST Docs
1526
+
templates</a>
1526
1527
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>.
1527
1528
Important is to omit <code>default-</code> part from the template name so that the resolution algorithm will prefer this custom template.
1528
-
See also <ahref="http://docs.spring.io/spring-restdocs/docs/2.0.1.RELEASE/reference/html5/#documenting-your-api-customizing-snippets">original documentation</a> for additional details.</p>
1529
+
See also <ahref="http://docs.spring.io/spring-restdocs/docs/2.0.2.RELEASE/reference/html5/#documenting-your-api-customizing-snippets">original documentation</a> for additional details.</p>
1529
1530
</div>
1530
1531
</div>
1531
1532
</div>
@@ -1605,7 +1606,7 @@ <h3 id="constraints-custom"><a class="link" href="#constraints-custom">Custom co
1605
1606
Each description is a property where the key is the full class name of the annotation suffixed with <code>.description</code>.
1606
1607
The value is the description and can contain placeholders for annotation methods,
1607
1608
e.g. <code>${value}</code> to get the content of <code>value()</code>.
1608
-
For more details, see original documentation of <ahref="http://docs.spring.io/spring-restdocs/docs/2.0.1.RELEASE/reference/html5/#documenting-your-api-constraints-describing">here</a>.</p>
1609
+
For more details, see original documentation of <ahref="http://docs.spring.io/spring-restdocs/docs/2.0.2.RELEASE/reference/html5/#documenting-your-api-constraints-describing">here</a>.</p>
1609
1610
</div>
1610
1611
<divclass="paragraph">
1611
1612
<p>Example for the constraint annotation <code>myproject.constraints.OneOf</code>:</p>
0 commit comments