From 928888ab32e0ad3471ab552975a325be70159451 Mon Sep 17 00:00:00 2001
From: Neelesh Thakur <NThakur4@slb.com>
Date: Tue, 28 Jul 2020 18:26:05 -0500
Subject: [PATCH] add openapi

---
 docs/api/notification_openapi.yaml | 69 ++++++++++++++++++++++++++++++
 1 file changed, 69 insertions(+)
 create mode 100644 docs/api/notification_openapi.yaml

diff --git a/docs/api/notification_openapi.yaml b/docs/api/notification_openapi.yaml
new file mode 100644
index 000000000..e65325415
--- /dev/null
+++ b/docs/api/notification_openapi.yaml
@@ -0,0 +1,69 @@
+openapi: 3.0.0
+info:
+  description: Api Documentation for Notification service
+  version: 1.0.0
+  title: Notification
+  contact:
+    name: OSDU Support
+    email: devportal-help@osdu.com
+  license:
+    name: Apache 2.0
+    url: http://www.apache.org/licenses/LICENSE-2.0
+tags:
+  - name: pubsub-endpoint
+    description: Pubsub Endpoint
+paths:
+  /push-handlers/records-changed:
+    post:
+      tags:
+        - pubsub-endpoint
+      summary: recordChanged
+      operationId: recordChangedUsingPOST
+      parameters:
+        - name: data-partition-id
+          in: header
+          description: tenant
+          required: true
+          schema:
+            type: string
+            default: common
+      responses:
+        "200":
+          description: OK
+          content:
+            "*/*":
+              schema:
+                $ref: "#/components/schemas/ResponseEntity"
+        "201":
+          description: Created
+        "401":
+          description: Unauthorized
+        "403":
+          description: Forbidden
+        "404":
+          description: Not Found
+      security:
+        - JWT:
+            - global
+servers:
+  - url: https://evq.csp.osdu.com/api/notification/v1
+    description: EVT
+  - url: https://evd.csp.osdu.com/api/notification/v1
+    description: EVD
+components:
+  securitySchemes:
+    JWT:
+      type: apiKey
+      name: Authorization
+      in: header
+  schemas:
+    ResponseEntity:
+      type: object
+      properties:
+        body:
+          type: object
+        statusCode:
+          type: string
+        statusCodeValue:
+          type: integer
+          format: int32
\ No newline at end of file
-- 
GitLab