Skip to content

Commit a99f796

Browse files
authored
fix(specs): update discover endpoint (#3212)
1 parent 65775e4 commit a99f796

File tree

4 files changed

+4
-48
lines changed

4 files changed

+4
-48
lines changed

specs/ingestion/common/schemas/source.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ sourceShopifyBase:
525525
x-discriminator-fields:
526526
- shopURL
527527

528-
SourceValidateResponse:
528+
SourceWatchResponse:
529529
type: object
530530
additionalProperties: false
531531
properties:
Lines changed: 1 addition & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,3 @@
1-
get:
2-
tags:
3-
- sources
4-
summary: Retrieve a stream listing
5-
description: |
6-
Retrieves a stream listing for a source.
7-
8-
Listing streams only works with sources with `type: docker` and `imageType: singer`.
9-
operationId: getDockerSourceStreams
10-
x-acl:
11-
- addObject
12-
- deleteIndex
13-
- editSettings
14-
parameters:
15-
- $ref: '../../common/parameters.yml#/pathSourceID'
16-
responses:
17-
'200':
18-
description: OK
19-
content:
20-
application/json:
21-
schema:
22-
title: dockerSourceStreams
23-
type: object
24-
additionalProperties: false
25-
properties:
26-
streams:
27-
type: array
28-
items:
29-
$ref: '../../common/schemas/source.yml#/DockerSourceStream'
30-
required:
31-
- streams
32-
'400':
33-
$ref: '../../../common/responses/BadRequest.yml'
34-
351
post:
362
tags:
373
- sources
@@ -52,16 +18,6 @@ post:
5218
content:
5319
application/json:
5420
schema:
55-
title: dockerSourceDiscover
56-
type: object
57-
additionalProperties: false
58-
properties:
59-
runID:
60-
$ref: '../../common/schemas/common.yml#/runID'
61-
createdAt:
62-
$ref: '../../common/schemas/common.yml#/createdAt'
63-
required:
64-
- runID
65-
- createdAt
21+
$ref: '../../common/schemas/source.yml#/SourceWatchResponse'
6622
'400':
6723
$ref: '../../../common/responses/BadRequest.yml'

specs/ingestion/paths/sources/validate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ post:
2121
content:
2222
application/json:
2323
schema:
24-
$ref: '../../common/schemas/source.yml#/SourceValidateResponse'
24+
$ref: '../../common/schemas/source.yml#/SourceWatchResponse'
2525
'400':
2626
$ref: '../../../common/responses/BadRequest.yml'

specs/ingestion/paths/sources/validateID.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ post:
2323
content:
2424
application/json:
2525
schema:
26-
$ref: '../../common/schemas/source.yml#/SourceValidateResponse'
26+
$ref: '../../common/schemas/source.yml#/SourceWatchResponse'
2727
'400':
2828
$ref: '../../../common/responses/BadRequest.yml'

0 commit comments

Comments
 (0)