Skip to content

Commit

Permalink
openapi: add delete endpoints (#2099)
Browse files Browse the repository at this point in the history
Signed-off-by: Maciej Obuchowski <obuchowski.maciej@gmail.com>

Signed-off-by: Maciej Obuchowski <obuchowski.maciej@gmail.com>
Co-authored-by: Willy Lulciuc <willy@datakin.com>
  • Loading branch information
mobuchowski and wslulciuc committed Sep 8, 2022
1 parent 4b09c74 commit 54d0e58
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions spec/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,19 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/Dataset'
delete:
operationId: deleteDataset
summary: Soft deletes dataset.
description: Soft deletes dataset. It will be un-deleted if new OpenLineage event containing this dataset comes.
tags:
- Datasets
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/Dataset'

/namespaces/{namespace}/datasets/{dataset}/versions/{version}:
parameters:
Expand Down Expand Up @@ -301,6 +314,19 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/Job'
delete:
operationId: deleteJob
summary: Soft deletes job.
description: Soft deletes job. It will be un-deleted if new OpenLineage event containing this job comes.
tags:
- Datasets
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/Dataset'

/namespaces/{namespace}/jobs:
parameters:
Expand Down

0 comments on commit 54d0e58

Please sign in to comment.