From 8a1036b23788d7d3fb75555c5c5101e55ff2a5c4 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Sat, 25 Feb 2023 17:05:03 +0530 Subject: [PATCH] fix: hook request schema correction Signed-off-by: Pranav C --- scripts/sdk/swagger.json | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/scripts/sdk/swagger.json b/scripts/sdk/swagger.json index 508afd9112..001a99292d 100644 --- a/scripts/sdk/swagger.json +++ b/scripts/sdk/swagger.json @@ -9815,13 +9815,34 @@ }, "payload": {}, "url": { - "type": "string" + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "headers": { - "type": "string" + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "condition": { - "type": "boolean" + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] }, "notification": { "type": "object"