Skip to content

Commit

Permalink
Improve formatting for enum configuration values
Browse files Browse the repository at this point in the history
- Improve readability of enum configuration value formatting by switching to a bullet list style in documentation generation.
  • Loading branch information
gastaldi committed Jan 31, 2025
1 parent 1597a94 commit 39d1349
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public String formatTypeDescription(ConfigProperty configProperty, Context conte
} else {
typeContent = configProperty.getEnumAcceptedValues().values().values().stream()
.map(v -> v.configValue())
.collect(Collectors.joining("`, `", "`", "`"));
.collect(Collectors.joining("`\n- `", "- `", "`"));
}
} else {
typeContent = configProperty.getTypeDescription();
Expand Down

0 comments on commit 39d1349

Please sign in to comment.