From 746fa80a574d9c90679cbd6b2f79270bc67ab0f8 Mon Sep 17 00:00:00 2001 From: Sebastian Frank Date: Wed, 2 Nov 2022 11:16:18 +0000 Subject: [PATCH] validate hook --- schemas/api-config/hooks.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/schemas/api-config/hooks.json b/schemas/api-config/hooks.json index 7abcbd2..30b3206 100644 --- a/schemas/api-config/hooks.json +++ b/schemas/api-config/hooks.json @@ -34,6 +34,10 @@ "description": "hook before binding data from post request", "$ref": "#/definitions/hookDef" }, + "validate": { + "description": "hook before validation data", + "$ref": "#/definitions/hookDef" + }, "create": { "description": "hook before creating entry in database", "$ref": "#/definitions/hookDef" @@ -53,6 +57,10 @@ "description": "hook before binding data from put request", "$ref": "#/definitions/hookDef" }, + "validate": { + "description": "hook before validation data", + "$ref": "#/definitions/hookDef" + }, "update": { "description": "hook before updating entry in database", "$ref": "#/definitions/hookDef"