From d843c433cf969103c2cecaed5b34083483e03d15 Mon Sep 17 00:00:00 2001 From: sfreeman422 Date: Wed, 10 Jul 2024 01:49:12 -0400 Subject: [PATCH] Import Bruno Collection fails - ValidationError: headers are required #2583 (#2598) * Removed headers key on folderRootSchema as it seems unlikely that headers are actually required here * Removed launch.json * Added back package-locks * reverted package-lock * removed only the .required --- packages/bruno-schema/src/collections/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/bruno-schema/src/collections/index.js b/packages/bruno-schema/src/collections/index.js index 64a2b98fb1..57eafa2f68 100644 --- a/packages/bruno-schema/src/collections/index.js +++ b/packages/bruno-schema/src/collections/index.js @@ -233,7 +233,7 @@ const requestSchema = Yup.object({ const folderRootSchema = Yup.object({ request: Yup.object({ - headers: Yup.array().of(keyValueSchema).required('headers are required'), + headers: Yup.array().of(keyValueSchema), auth: authSchema, script: Yup.object({ req: Yup.string().nullable(),