Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/src/main/asciidoc/config-mappings.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -157,11 +157,12 @@ server.port=8080

==== `@WithParentName`

The `@WithParentName` annotation allows to configurations mapping to inherit its container name, simplifying the
The `@WithParentName` annotation allows the configuration mapping property to inherit its container name, simplifying the
configuration property name required to match the mapping:

[source,java]
----
@ConfigMapping(prefix = "server")
interface Server {
@WithParentName
ServerHostAndPort hostAndPort();
Expand Down
Loading