Skip to content
Snippets Groups Projects
Commit 928888ab authored by Neelesh Thakur's avatar Neelesh Thakur
Browse files

add openapi

parent 25ce2094
No related branches found
No related tags found
1 merge request!6add openapi spec
Pipeline #4318 failed
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment