Skip to content

Commit cd03c04

Browse files
authored
Add endpoint to retrieve manifest template (#18578)
* add endpoint to retrieve manifest template * remove 400 error from endpoint
1 parent 8a1f3e4 commit cd03c04

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

connector-builder-server/src/main/openapi/openapi.yaml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,18 @@ paths:
5757
$ref: "#/components/responses/ExceptionResponse"
5858
"422":
5959
$ref: "#/components/responses/InvalidInputResponse"
60+
/v1/manifest_template:
61+
get:
62+
summary: Return a connector manifest template to use as the default value for the yaml editor
63+
operationId: template
64+
responses:
65+
"200":
66+
description: Successful operation
67+
content:
68+
application/json:
69+
schema:
70+
type: string
71+
description: Connector manifest template string
6072

6173
components:
6274
schemas:
@@ -87,8 +99,6 @@ components:
8799
type: object
88100
required:
89101
- records
90-
- request
91-
- response
92102
properties:
93103
records:
94104
type: array

0 commit comments

Comments
 (0)