-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DocTool] Allow nested config sections (#9370)
The current smallrye-config parts of the doc-tool can only handle "config sections" directly on the `@ConfigMapping` type, but adding `@ConfigItem(section = ...)` on any attribute in a nested type is not handled. This change was primarily intended to just allow that, but turned out into a bigger refactoring and eventually a leaner code base. Generation of the smallrye docs is now a single recursive walk, which eliminates the problem of the (currenlty broken) handling of property prefixes (actually two variants: the "plain" and the "markdown" one) and section prefixes. As a side effect, this change also fixes actually wrong property names in the reference docs. Examples: * currently wrong: `nessie.catalog.warehouseDefaults.default-warehouse`, correct: `nessie.catalog.default-warehouse` * currently wrong: `nessie.catalog.service.adls.transport....`, currect: `nessie.catalog.service.adls....`
- Loading branch information
Showing
18 changed files
with
508 additions
and
215 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.