Skip to content

Commit

Permalink
Add endpoint to retrieve manifest template (#18578)
Browse files Browse the repository at this point in the history
* add endpoint to retrieve manifest template

* remove 400 error from endpoint
  • Loading branch information
lmossman authored Oct 29, 2022
1 parent 8a1f3e4 commit cd03c04
Showing 1 changed file with 12 additions and 2 deletions.
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

0 comments on commit cd03c04

Please sign in to comment.