From 6520ffc4d8c14abf19b6b54f8a9cdaef826419fc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Martin=20Slov=C3=ADk?= <xslovik@fi.muni.cz>
Date: Thu, 13 Apr 2023 19:29:59 +0200
Subject: [PATCH] Removing update Steward to Flight assignment endpoint

---
 core/openapi.yaml | 27 ---------------------------
 1 file changed, 27 deletions(-)

diff --git a/core/openapi.yaml b/core/openapi.yaml
index 7dda95b..c208442 100644
--- a/core/openapi.yaml
+++ b/core/openapi.yaml
@@ -172,33 +172,6 @@ paths:
             application/json:
               schema:
                 $ref: '#/components/schemas/ErrorMessage'
-    put:
-      tags:
-        - Steward
-      summary: Update assignment of steward to a flight.
-      operationId: updateStewardFlights
-      parameters:
-        - name: stewardId
-          in: path
-          required: true
-          schema:
-            type: integer
-            format: int64
-        - name: flightId
-          in: path
-          required: true
-          schema:
-            type: integer
-            format: int64
-      responses:
-        "200":
-          $ref: '#/components/responses/SingleStewardDtoResponse'
-        "400":
-          description: Input data not correct
-          content:
-            application/json:
-              schema:
-                $ref: '#/components/schemas/ErrorMessage'
     delete:
       tags:
         - Steward
-- 
GitLab