fix: parse schema in API, not engine (#233)

* no schema parsing in core engine

* fix: parse schema in api, not engine

* fix: parsing of input schema should not use json keys as field names
This commit is contained in:
abelanger5
2024-03-04 15:39:54 -08:00
committed by GitHub
parent c4fc355805
commit d3534edc4c
22 changed files with 1151 additions and 186 deletions
@@ -72,6 +72,44 @@ withWorkflow:
summary: Get workflow
tags:
- Workflow
delete:
x-resources: ["tenant", "workflow"]
description: Delete a workflow for a tenant
operationId: workflow:delete
parameters:
- description: The workflow id
in: path
name: workflow
required: true
schema:
type: string
format: uuid
minLength: 36
maxLength: 36
responses:
"204":
description: Successfully deleted the workflow
"400":
content:
application/json:
schema:
$ref: "../../components/schemas/_index.yaml#/APIErrors"
description: A malformed or bad request
"403":
content:
application/json:
schema:
$ref: "../../components/schemas/_index.yaml#/APIErrors"
description: Forbidden
"404":
content:
application/json:
schema:
$ref: "../../components/schemas/_index.yaml#/APIErrors"
description: Not found
summary: Delete workflow
tags:
- Workflow
workflowVersion:
get:
x-resources: ["tenant", "workflow"]