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

Add endpoint to retrieve manifest template #18578

Merged
merged 2 commits into from
Oct 29, 2022
Merged
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
14 changes: 12 additions & 2 deletions connector-builder-server/src/main/openapi/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,18 @@ paths:
$ref: "#/components/responses/ExceptionResponse"
"422":
$ref: "#/components/responses/InvalidInputResponse"
/v1/manifest_template:
get:
summary: Return a connector manifest template to use as the default value for the yaml editor
operationId: template
responses:
"200":
description: Successful operation
content:
application/json:
schema:
type: string
description: Connector manifest template string

components:
schemas:
Expand Down Expand Up @@ -87,8 +99,6 @@ components:
type: object
required:
- records
- request
- response
properties:
records:
type: array
Expand Down