Update OpenAPI Policy Executor 11/138611/1
authorToineSiebelink <toine.siebelink@est.tech>
Thu, 1 Aug 2024 12:00:58 +0000 (13:00 +0100)
committerToineSiebelink <toine.siebelink@est.tech>
Thu, 1 Aug 2024 12:00:58 +0000 (13:00 +0100)
- remove conflict error response in OpenAPI
(mistakenly added here but only need for NCMP interface)

Issue-ID: CPS-2335
Change-Id: Ib24a4d0853fff2104958879f7d247197725b5870
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
docs/api/swagger/policy-executor/openapi.yaml

index 58ca5ac..f80b998 100644 (file)
@@ -56,8 +56,6 @@ paths:
           $ref: '#/components/responses/Unauthorized'
         '403':
           $ref: '#/components/responses/Forbidden'
-        '409':
-          $ref: '#/components/responses/Conflict'
         '500':
           $ref: '#/components/responses/InternalServerError'
 
@@ -159,16 +157,6 @@ components:
             status: 403
             message: "Request Forbidden"
             details: "This request is forbidden"
-    Conflict:
-      description: "Conflict"
-      content:
-        application/json:
-          schema:
-            $ref: '#/components/schemas/ErrorMessage'
-          example:
-            status: 409
-            message: "Conflict"
-            details: "The provided request violates a policy rule"
 
     InternalServerError:
       description: "Internal server error"