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
This commit is contained in:
sfreeman422 2024-07-10 01:49:12 -04:00 committed by GitHub
parent f1e0b112ae
commit e5425299a2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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(),