From 5d8a3d0eec19a9d793a558f793db6f39e981dd64 Mon Sep 17 00:00:00 2001 From: Frank Hufnagel Date: Sat, 19 Oct 2024 12:57:29 +0200 Subject: [PATCH] update openapi spec for healthcheck --- app/Http/Controllers/Api/OtherController.php | 2 +- openapi.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/Api/OtherController.php b/app/Http/Controllers/Api/OtherController.php index 2414b7a42..062cc04e7 100644 --- a/app/Http/Controllers/Api/OtherController.php +++ b/app/Http/Controllers/Api/OtherController.php @@ -160,7 +160,7 @@ class OtherController extends Controller #[OA\Get( summary: 'Healthcheck', description: 'Healthcheck endpoint.', - path: '/healthcheck', + path: '/health', operationId: 'healthcheck', responses: [ new OA\Response( diff --git a/openapi.yaml b/openapi.yaml index 91d5c1443..1110bfd72 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -3093,7 +3093,7 @@ paths: security: - bearerAuth: [] - /healthcheck: + /health: get: summary: Healthcheck description: 'Healthcheck endpoint.'