Class TemplateFormats
java.lang.Object
org.springframework.restdocs.templates.TemplateFormats
An enumeration of the built-in formats for which templates are provided.
- Since:
- 1.1.0
- Author:
- Andy Wilkinson
-
Method Summary
Modifier and TypeMethodDescriptionstatic TemplateFormat
Returns the Asciidoctor template format with the IDasciidoctor
and the file extensionadoc
.static TemplateFormat
markdown()
Returns the Markdown template format with the IDmarkdown
and the file extensionmd
.
-
Method Details
-
asciidoctor
Returns the Asciidoctor template format with the IDasciidoctor
and the file extensionadoc
.- Returns:
- the template format
-
markdown
Returns the Markdown template format with the IDmarkdown
and the file extensionmd
.- Returns:
- the template format
-