From cbeea8be58076f08883018c44954891aeee2a297 Mon Sep 17 00:00:00 2001 From: lcawl Date: Fri, 24 May 2024 09:41:58 -0700 Subject: [PATCH] [HTTP/OAS] Add description for task manager health API --- 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 013fa1e4a06aa6..23539da937f936 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,