Merge branch '2.7.x' into 3.0.x

Closes gh-35765
This commit is contained in:
Moritz Halbritter 2023-06-07 08:57:38 +02:00
commit 85720a5d90
1 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,7 @@ import java.lang.annotation.Target;
import org.springframework.boot.actuate.endpoint.annotation.Endpoint; import org.springframework.boot.actuate.endpoint.annotation.Endpoint;
import org.springframework.boot.actuate.endpoint.annotation.EndpointExtension; 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 * 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. * The class of the endpoint to provide a Cloud Foundry specific extension for.
* @return the class of the endpoint to extend * @return the class of the endpoint to extend
*/ */
@AliasFor(annotation = EndpointExtension.class, attribute = "endpoint")
Class<?> endpoint(); Class<?> endpoint();
} }