From a8f2fa1f92c4bfcee3fa77fdfc2e36965a9f9ccc Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Mon, 13 Mar 2023 16:44:52 +0800 Subject: [PATCH] fix(nocodb): FormReq -> FormUpdateReq --- packages/nocodb/src/schema/swagger.json | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/packages/nocodb/src/schema/swagger.json b/packages/nocodb/src/schema/swagger.json index 247a6a2576..d69c96ab09 100644 --- a/packages/nocodb/src/schema/swagger.json +++ b/packages/nocodb/src/schema/swagger.json @@ -6021,7 +6021,26 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/FormReq" + "$ref": "#/components/schemas/FormUpdateReq" + }, + "examples": { + "Example 1": { + "value": { + "banner_image_url": null, + "email": "user@example.com", + "heading": "My Form", + "lock_type": "collaborative", + "logo_url": null, + "meta": null, + "redirect_after_secs": null, + "redirect_url": null, + "show_blank_form": 0, + "subheading": "My Form Subheading", + "submit_another_form": 0, + "success_msg": "Thank you for the submission.", + "title": "Form View 1" + } + } } } }