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 TemplateFormatReturns the Asciidoctor template format with the IDasciidoctorand the file extensionadoc.static TemplateFormatmarkdown()Returns the Markdown template format with the IDmarkdownand the file extensionmd.
-
Method Details
-
asciidoctor
Returns the Asciidoctor template format with the IDasciidoctorand the file extensionadoc.- Returns:
- the template format
-
markdown
Returns the Markdown template format with the IDmarkdownand the file extensionmd.- Returns:
- the template format
-