mirror of
https://github.com/hatchet-dev/hatchet.git
synced 2026-05-02 15:39:53 -05:00
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:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user