From cb23b1771e3fc552090f80791b852ce8ad05f150 Mon Sep 17 00:00:00 2001 From: "puthuparambil.aditya" Date: Mon, 10 Jan 2022 12:58:37 +0000 Subject: Support operation field for CPS Temporal Query Output API - Update in openapi.yaml to support operation field - Repository test updated to test the operation field - Rest api test updated - Updates in documentation to include the operation field Issue-ID: CPS-844 Signed-off-by: puthuparambil.aditya Change-Id: If424c273b84b1f415ba706d0956f0841ce9c4196 --- openapi/swagger/openapi.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'openapi/swagger') diff --git a/openapi/swagger/openapi.yml b/openapi/swagger/openapi.yml index 5b3578a..a96947b 100644 --- a/openapi/swagger/openapi.yml +++ b/openapi/swagger/openapi.yml @@ -1,5 +1,5 @@ # ============LICENSE_START======================================================= -# Copyright (c) 2021 Bell Canada. +# Copyright (c) 2021-2022 Bell Canada. # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -194,7 +194,7 @@ components: schema: $ref: '#/components/schemas/ErrorMessage' example: - status: 400 BAD_REQUEST + status: 400 message: Bad request error message details: Bad request error details Unauthorized: @@ -225,6 +225,10 @@ components: observedTimestamp: type: string example: '2021-03-21T00:00:00.000-0000' + operation: + type: string + enum: [CREATE, UPDATE, DELETE] + example: UPDATE dataspace: type: string example: 'my-dataspace' -- cgit 1.2.3-korg