Add @AliasFor annotation to EndpointCloudFoundryExtension

See gh-35716
pull/35903/head
Bernardo Bulgarelli 1 year ago committed by Moritz Halbritter
parent 2927d50d18
commit 51afaa79a7

@ -24,6 +24,7 @@ import java.lang.annotation.Target;
import org.springframework.boot.actuate.endpoint.annotation.Endpoint;
import org.springframework.boot.actuate.endpoint.annotation.EndpointExtension;
import org.springframework.core.annotation.AliasFor;
/**
* Identifies a type as being a Cloud Foundry specific extension for an
@ -43,6 +44,7 @@ public @interface EndpointCloudFoundryExtension {
* The class of the endpoint to provide a Cloud Foundry specific extension for.
* @return the class of the endpoint to extend
*/
@AliasFor(annotation = EndpointExtension.class, attribute = "endpoint")
Class<?> endpoint();
}

Loading…
Cancel
Save