From f2a4bba137e93ad4fd5438c56b96dd02727e1a27 Mon Sep 17 00:00:00 2001 From: Lisa Cawley Date: Wed, 29 May 2024 09:02:51 -0700 Subject: [PATCH] [HTTP/OAS] Add description for task manager health API (#184249) --- x-pack/plugins/task_manager/server/routes/health.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/x-pack/plugins/task_manager/server/routes/health.ts b/x-pack/plugins/task_manager/server/routes/health.ts index 013fa1e4a06aa..23539da937f93 100644 --- a/x-pack/plugins/task_manager/server/routes/health.ts +++ b/x-pack/plugins/task_manager/server/routes/health.ts @@ -129,6 +129,10 @@ export function healthRoute(params: HealthRouteParams): { // Uncomment when we determine that we can restrict API usage to Global admins based on telemetry // options: { tags: ['access:taskManager'] }, validate: false, + options: { + access: 'public', + description: `Get task manager health`, + }, }, async function ( context: RequestHandlerContext,