diff --git a/generators/feign-client/templates/src/main/java/_package_/client/AuthorizedFeignClient.java.ejs b/generators/feign-client/templates/src/main/java/_package_/client/AuthorizedFeignClient.java.ejs index 1261c5403b9a..a9a9fdf70f9c 100644 --- a/generators/feign-client/templates/src/main/java/_package_/client/AuthorizedFeignClient.java.ejs +++ b/generators/feign-client/templates/src/main/java/_package_/client/AuthorizedFeignClient.java.ejs @@ -49,12 +49,14 @@ public @interface AuthorizedFeignClient { * An absolute URL or resolvable hostname (the protocol is optional). * @return the URL. */ + @AliasFor(annotation = FeignClient.class, attribute = "url") String url() default ""; /** * Whether 404s should be decoded instead of throwing FeignExceptions. * @return true if 404s will be decoded; false otherwise. */ + @AliasFor(annotation = FeignClient.class, attribute = "dismiss404") boolean dismiss404() default false; /** @@ -62,11 +64,13 @@ public @interface AuthorizedFeignClient { * implement the interface annotated by this annotation and be a valid Spring bean. * @return the fallback class for the specified Feign client interface. */ + @AliasFor(annotation = FeignClient.class, attribute = "fallback") Class fallback() default void.class; /** * Path prefix to be used by all method-level mappings. * @return the path prefix to be used by all method-level mappings. */ + @AliasFor(annotation = FeignClient.class, attribute = "path") String path() default ""; } diff --git a/test-integration/scripts/99-build-changes.sh b/test-integration/scripts/99-build-changes.sh index a4242f655a3d..56715c37238a 100755 --- a/test-integration/scripts/99-build-changes.sh +++ b/test-integration/scripts/99-build-changes.sh @@ -92,6 +92,7 @@ git -c color.ui=always diff --exit-code @~1 -- \ 'generators/base-entity-changes' \ 'generators/bootstrap-application-server' \ 'generators/cucumber' \ + 'generators/feign-client' \ 'generators/gatling' \ 'generators/gradle' \ 'generators/java' \