diff --git a/packages/bruno-app/src/utils/importers/openapi-collection.js b/packages/bruno-app/src/utils/importers/openapi-collection.js index 5fbccb8da..1ca6e25b7 100644 --- a/packages/bruno-app/src/utils/importers/openapi-collection.js +++ b/packages/bruno-app/src/utils/importers/openapi-collection.js @@ -328,7 +328,9 @@ const parseOpenApiCollection = (data) => { .map(([path, methods]) => { return Object.entries(methods) .filter(([method, op]) => { - ['get', 'put', 'post', 'delete', 'options', 'head', 'patch', 'trace'].includes(method.toLowerCase()); + return ['get', 'put', 'post', 'delete', 'options', 'head', 'patch', 'trace'].includes( + method.toLowerCase() + ); }) .map(([method, operationObject]) => { return {