From 95ecfd3824c025bd0b617363d9dcd975a465b291 Mon Sep 17 00:00:00 2001 From: Kevin Chun Date: Mon, 22 Jul 2024 13:57:58 -0700 Subject: [PATCH] add @Hidden to V3 Entity controller as all endpoints are registered via OpenAPIV3Generator --- .../datahubproject/openapi/v3/controller/EntityController.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/metadata-service/openapi-servlet/src/main/java/io/datahubproject/openapi/v3/controller/EntityController.java b/metadata-service/openapi-servlet/src/main/java/io/datahubproject/openapi/v3/controller/EntityController.java index d6feb6cc460c97..9ca34934e4c657 100644 --- a/metadata-service/openapi-servlet/src/main/java/io/datahubproject/openapi/v3/controller/EntityController.java +++ b/metadata-service/openapi-servlet/src/main/java/io/datahubproject/openapi/v3/controller/EntityController.java @@ -37,6 +37,7 @@ import io.datahubproject.openapi.v3.models.GenericAspectV3; import io.datahubproject.openapi.v3.models.GenericEntityScrollResultV3; import io.datahubproject.openapi.v3.models.GenericEntityV3; +import io.swagger.v3.oas.annotations.Hidden; import io.swagger.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.tags.Tag; import jakarta.servlet.http.HttpServletRequest; @@ -67,6 +68,7 @@ @RequiredArgsConstructor @RequestMapping("/v3/entity") @Slf4j +@Hidden public class EntityController extends GenericEntitiesController< GenericAspectV3, GenericEntityV3, GenericEntityScrollResultV3> {