Skip to content

Commit

Permalink
Fix issues in documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
radcortez committed Sep 25, 2020
1 parent 37b4e1b commit 70292e2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions doc/modules/ROOT/pages/mapping/mapping.adoc
Expand Up @@ -22,15 +22,15 @@ interface Server {
}
----

The `Server` interface is able to map configurations with the name `server.host` into the `Server.host()` method and the
configuration with the name `server.port` into `Server.port()` method. The configuration property name to lookup
is built from the prefix, and the method name with `,` (dot) as the separator.
The `Server` interface is able to map configurations with the name `server.host` into the `Server.host()` method and
`server.port` into `Server.port()` method. The configuration property name to lookup is built from the prefix, and the
method name with `.` (dot) as the separator.

=== Registration

Registration of Config Mapping aware interface happens automatically in CDI aware environment with the `@ConfigMapping`
annotation. In non-CDI environments, the Config Mapping may be registed via `SmallRyeConfigBuilder#withMapping`. In this
case, the `@ConfigMapping` is completely optional.
Registration of Config Mapping aware interface happens automatically in CDI aware environments with the `@ConfigMapping`
annotation. In non-CDI environments, the Config Mapping may be registered via `SmallRyeConfigBuilder#withMapping`. In
this case, the `@ConfigMapping` is completely optional.

=== Retrieval

Expand Down

0 comments on commit 70292e2

Please sign in to comment.