Commit 3cf1fb67 authored by Andy Wilkinson's avatar Andy Wilkinson

Polish formatting in Actuator API documentation

parent 67a29902
......@@ -61,9 +61,9 @@ public class AbstractEndpointDocumentationTests {
protected String describeEnumValues(Class<? extends Enum<?>> enumType) {
return StringUtils
.collectionToCommaDelimitedString(Stream.of(enumType.getEnumConstants())
.collectionToDelimitedString(Stream.of(enumType.getEnumConstants())
.map((constant) -> "`" + constant.name() + "`")
.collect(Collectors.toList()));
.collect(Collectors.toList()), ", ");
}
protected OperationPreprocessor limit(String... keys) {
......
|===
|Path|Type|Description
{{#fields}}
|{{#tableCellContent}}`+{{path}}+`{{/tableCellContent}}
|{{#tableCellContent}}`{{type}}`{{/tableCellContent}}
|{{#tableCellContent}}{{description}}{{/tableCellContent}}
{{/fields}}
|===
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment