List of usage examples for org.springframework.restdocs.templates TemplateFormat getId
String getId();
From source file:capital.scalable.restdocs.OperationAttributeHelper.java
public static String determineLineBreak(TemplateFormat templateFormat) { return templateFormat.getId().equals(TemplateFormats.asciidoctor().getId()) ? LINE_BREAK_ASCIIDOC : LINE_BREAK_MARKDOWN;/*from ww w.j a v a 2s .co m*/ }