Commit 1081d96d authored by neelesh thakur's avatar neelesh thakur
Browse files

Merge branch 'openapi' into 'master'

add openapi spec

See merge request !6
parents f1f34428 928888ab
Pipeline #4322 failed with stages
in 13 minutes and 4 seconds
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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment