Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automate swagger doc update #73

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,193 changes: 1,193 additions & 0 deletions rest-apis/M23/compliance_openapi.yaml

Large diffs are not rendered by default.

805 changes: 805 additions & 0 deletions rest-apis/M23/dataset_openapi.yaml

Large diffs are not rendered by default.

1,298 changes: 1,298 additions & 0 deletions rest-apis/M23/entitlements_openapi.yaml

Large diffs are not rendered by default.

796 changes: 796 additions & 0 deletions rest-apis/M23/file_service_openapi.yaml

Large diffs are not rendered by default.

518 changes: 518 additions & 0 deletions rest-apis/M23/indexer_openapi.yaml

Large diffs are not rendered by default.

730 changes: 730 additions & 0 deletions rest-apis/M23/ingestion_worflow_openapi.yaml

Large diffs are not rendered by default.

164 changes: 164 additions & 0 deletions rest-apis/M23/notification_openapi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,164 @@
components:
schemas:
AppError:
properties:
code:
format: int32
type: integer
message:
type: string
reason:
type: string
type: object
ConnectedOuterService:
properties:
name:
type: string
version:
type: string
type: object
VersionInfo:
properties:
artifactId:
type: string
branch:
type: string
buildTime:
type: string
commitId:
type: string
commitMessage:
type: string
connectedOuterServices:
items:
$ref: '#/components/schemas/ConnectedOuterService'
type: array
groupId:
type: string
version:
type: string
type: object
securitySchemes:
Authorization:
bearerFormat: Authorization
scheme: bearer
type: http
info:
contact:
email: [email protected]
name: OSDU Data Platform Team
description: The Notification service, with Register service, allow interested consumers
to subscribe to data and metadata changes using a publisher/subscriber pattern
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
title: Notification Service
version: 1.0.0
openapi: 3.0.1
paths:
/_ah/warmup:
get:
description: For deployment available public `/_ah` endpoint.
operationId: warmup
responses:
'200':
content:
'*/*':
schema:
type: string
description: OK
summary: Liveness Check endpoint
tags:
- health-checks-api
/info:
get:
description: For deployment available public `/info` endpoint, which provides
build and git related information.
operationId: info
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/VersionInfo'
description: Version info.
summary: Version info
tags:
- info
/push-handlers/records-changed:
post:
description: 'Record Changed. Required Roles: `users.datalake.ops` or `notification.pubsub`'
operationId: recordChanged
responses:
'200':
content:
'*/*':
schema:
type: string
description: OK
'201':
content:
'*/*':
schema:
type: string
description: Created
'400':
content:
'*/*':
schema:
$ref: '#/components/schemas/AppError'
description: Bad user input. Mandatory fields missing or unacceptable value
passed to API
'401':
content:
'*/*':
schema:
$ref: '#/components/schemas/AppError'
description: Unauthorized
'403':
content:
'*/*':
schema:
$ref: '#/components/schemas/AppError'
description: User not authorized to perform the action.
'404':
content:
'*/*':
schema:
$ref: '#/components/schemas/AppError'
description: Not Found
'500':
content:
'*/*':
schema:
$ref: '#/components/schemas/AppError'
description: Internal Server Error
'502':
content:
'*/*':
schema:
$ref: '#/components/schemas/AppError'
description: Bad Gateway
'503':
content:
'*/*':
schema:
$ref: '#/components/schemas/AppError'
description: Service Unavailable
security:
- Authorization: []
summary: Record Changed
tags:
- pubsub-endpoint-api
security:
- Authorization: []
servers:
- description: Generated server url
url: https://m23epsilon.oep.ppe.azure-int.net/api/notification/v1
tags:
- description: Health Checks API
name: health-checks-api
- description: PubSub Endpoint API
name: pubsub-endpoint-api
- description: Version info endpoint
name: info
Loading