Added 204 and 202 response code in openapi 93/141193/1 1.0.7
authorKavitha <ks00846441@techmahindra.com>
Tue, 10 Jun 2025 14:13:28 +0000 (16:13 +0200)
committerKavitha <ks00846441@techmahindra.com>
Tue, 10 Jun 2025 14:13:41 +0000 (16:13 +0200)
Issue-ID: POLICY-5387
Change-Id: I4dcf9e5e79a8a3bb3c1ce35088e26838ffd951d4
Signed-off-by: Kavitha <ks00846441@techmahindra.com>
api/openapi.yaml

index e2042a5..cb9dee1 100644 (file)
@@ -263,31 +263,12 @@ paths:
               $ref: '#/components/schemas/OPADataUpdateRequest'
         required: false
       responses:
-        200:
-          description: successful operation
-          headers:
-            X-LatestVersion:
-              description: Used only to communicate an API's latest version
-              schema:
-                type: string
-            X-PatchVersion:
-              description: Used only to communicate a PATCH version in a response
-                for troubleshooting purposes only, and will not be provided by the
-                client on request
-              schema:
-                type: string
-            X-MinorVersion:
-              description: Used to request or communicate a MINOR version back from
-                the client to the server, and from the server back to the client
-              schema:
-                type: string
-            X-ONAP-RequestID:
-              description: Used to track REST transactions for logging purpose
-              schema:
-                type: string
-                format: uuid
+        202:
+          description: Request accepted for processing
+          content: {}
+        204:
+          description: Request processed successfully, No content to respond
           content: {}
-
         400:
           description: Bad Request
           content: