Polish formatting in Actuator API documentation
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
|===
|
||||
|Path|Type|Description
|
||||
|
||||
{{#fields}}
|
||||
|{{#tableCellContent}}`+{{path}}+`{{/tableCellContent}}
|
||||
|{{#tableCellContent}}`{{type}}`{{/tableCellContent}}
|
||||
|{{#tableCellContent}}{{description}}{{/tableCellContent}}
|
||||
|
||||
{{/fields}}
|
||||
|===
|
||||
Reference in New Issue
Block a user