From dc8df3e3898f36699fcba95d9c7ec007672f2a36 Mon Sep 17 00:00:00 2001 From: "James R. Perkins" Date: Fri, 16 Aug 2024 12:44:23 -0700 Subject: [PATCH] [12] Allow the @RestClientConfig to be added to parameters. Signed-off-by: James R. Perkins --- .../resteasy/junit/extension/annotations/RestClientConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extension/src/main/java/dev/resteasy/junit/extension/annotations/RestClientConfig.java b/extension/src/main/java/dev/resteasy/junit/extension/annotations/RestClientConfig.java index 8541222..fa7c580 100644 --- a/extension/src/main/java/dev/resteasy/junit/extension/annotations/RestClientConfig.java +++ b/extension/src/main/java/dev/resteasy/junit/extension/annotations/RestClientConfig.java @@ -26,7 +26,7 @@ */ @Inherited @Documented -@Target(ElementType.FIELD) +@Target({ ElementType.FIELD, ElementType.PARAMETER }) @Retention(RetentionPolicy.RUNTIME) public @interface RestClientConfig {