From 13ddb6025e3ad1c16fe22af1cf8f6400e074315b Mon Sep 17 00:00:00 2001 From: Denis Arh Date: Wed, 9 Nov 2022 16:58:09 +0100 Subject: [PATCH] Remove required flag from workflow handle rest endpoints --- automation/rest.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/automation/rest.yaml b/automation/rest.yaml index 4d011586a..4f2253c34 100644 --- a/automation/rest.yaml +++ b/automation/rest.yaml @@ -37,7 +37,7 @@ endpoints: path: "/" parameters: post: - - { name: handle, type: string, required: true, title: "Workflow name" } + - { name: handle, type: string, title: "Workflow name" } - { name: labels, type: "map[string]string", title: "Labels", parser: "label.ParseStrings" } - { name: meta, type: "*types.WorkflowMeta", title: "Workflow meta data", parser: "types.ParseWorkflowMeta" } - { name: enabled, type: bool, title: "Is workflow enabled" } @@ -55,7 +55,7 @@ endpoints: parameters: path: [ { name: workflowID, type: uint64, required: true, title: "Workflow ID" } ] post: - - { name: handle, type: string, required: true, title: "Workflow name" } + - { name: handle, type: string, title: "Workflow name" } - { name: labels, type: "map[string]string", title: "Labels", parser: "label.ParseStrings" } - { name: meta, type: "*types.WorkflowMeta", title: "Workflow meta data", parser: "types.ParseWorkflowMeta" } - { name: enabled, type: bool, title: "Is workflow enabled" }