Skip to content

Commit

Permalink
Import Bruno Collection fails - ValidationError: headers are required
Browse files Browse the repository at this point in the history
…usebruno#2583  (usebruno#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
  • Loading branch information
sfreeman422 authored and jwetzell committed Aug 2, 2024
1 parent e1de188 commit d843c43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/bruno-schema/src/collections/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit d843c43

Please sign in to comment.