From 0c6e262d3c9fadb068813e4a4d9979801cf4fff6 Mon Sep 17 00:00:00 2001 From: manofthepeace <13215031+manofthepeace@users.noreply.github.com> Date: Wed, 19 Apr 2023 18:59:51 -0400 Subject: [PATCH] Minor documentation fixes (#925) --- documentation/src/main/docs/config/mappings.md | 2 +- documentation/src/main/docs/extensions/interceptors.md | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/documentation/src/main/docs/config/mappings.md b/documentation/src/main/docs/config/mappings.md index a315725c8..f0c74c25e 100644 --- a/documentation/src/main/docs/config/mappings.md +++ b/documentation/src/main/docs/config/mappings.md @@ -133,7 +133,7 @@ server.port=8080 ### `@WithParentName` -The `io.smallrye.config.WithParent` annotation allows configurations mappings to inherit its parent container name, +The `io.smallrye.config.WithParentName` annotation allows configurations mappings to inherit its parent container name, simplifying the configuration property name required to match the mapping. ```java diff --git a/documentation/src/main/docs/extensions/interceptors.md b/documentation/src/main/docs/extensions/interceptors.md index c147e821a..3530a8e55 100644 --- a/documentation/src/main/docs/extensions/interceptors.md +++ b/documentation/src/main/docs/extensions/interceptors.md @@ -26,6 +26,8 @@ origin and ordinal. ```java package org.acme.config; +import static io.smallrye.config.SecretKeys.doLocked; + import jakarta.annotation.Priority; import io.smallrye.config.ConfigSourceInterceptor;