From 98673498fdcfb009d9c662e9e5aa8ca03e06a24d Mon Sep 17 00:00:00 2001
From: DGerashchenko <DGerashchenko@slb.com>
Date: Thu, 18 Nov 2021 14:11:24 +0300
Subject: [PATCH] Fix: API spec for partition service can not be loaded in
 Gitlab

---
 docs/api/partition_openapi.yaml | 28 ++--------------------------
 1 file changed, 2 insertions(+), 26 deletions(-)

diff --git a/docs/api/partition_openapi.yaml b/docs/api/partition_openapi.yaml
index e540fcbc3..12a749e8b 100644
--- a/docs/api/partition_openapi.yaml
+++ b/docs/api/partition_openapi.yaml
@@ -22,32 +22,8 @@ paths:
     get:
       tags:
         - health-check
-      summary: livenessCheck
-      operationId: livenessCheckUsingGET
-      consumes:
-        - application/json
-      produces:
-        - application/json
-      responses:
-        '200':
-          description: OK
-          schema:
-            type: string
-        '401':
-          description: Unauthorized
-        '403':
-          description: Forbidden
-        '404':
-          description: Not Found
-      security:
-        - JWT:
-            - global
-  /actuator/health:
-    get:
-      tags:
-        - health-check
-      summary: readinessCheck
-      operationId: readinessCheckUsingGET
+      summary: "Health check: liveness, readiness."
+      operationId: healthCheckUsingGET
       consumes:
         - application/json
       produces:
-- 
GitLab