From: Kavitha Date: Tue, 10 Jun 2025 14:13:28 +0000 (+0200) Subject: Added 204 and 202 response code in openapi X-Git-Tag: 1.0.7^0 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=38e59d7328aec3c9842967ac6e721c233028d7d5;p=policy%2Fopa-pdp.git Added 204 and 202 response code in openapi Issue-ID: POLICY-5387 Change-Id: I4dcf9e5e79a8a3bb3c1ce35088e26838ffd951d4 Signed-off-by: Kavitha --- diff --git a/api/openapi.yaml b/api/openapi.yaml index e2042a5..cb9dee1 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -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: