From 5f63cc4ab4ec00e33e42565c4496520f2bf93295 Mon Sep 17 00:00:00 2001 From: pooja-bruno Date: Tue, 7 Jan 2025 14:27:13 +0530 Subject: [PATCH] fix: collection/folder docs when importing postman collection (#3745) * fix: collection/folder docs when importing postman collection * fix --- packages/bruno-app/src/utils/importers/postman-collection.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/bruno-app/src/utils/importers/postman-collection.js b/packages/bruno-app/src/utils/importers/postman-collection.js index 8dadf33b9..b5a685e71 100644 --- a/packages/bruno-app/src/utils/importers/postman-collection.js +++ b/packages/bruno-app/src/utils/importers/postman-collection.js @@ -199,6 +199,7 @@ const importPostmanV2CollectionItem = (brunoParent, item, parentAuth, options) = type: 'folder', items: [], root: { + docs: i.description || '', meta: { name: folderName }, @@ -226,6 +227,7 @@ const importPostmanV2CollectionItem = (brunoParent, item, parentAuth, options) = brunoParent.items.push(brunoFolderItem); folderMap[folderName] = brunoFolderItem; + } else { if (i.request) { const baseRequestName = i.name; @@ -483,6 +485,7 @@ const importPostmanV2Collection = (collection, options) => { items: [], environments: [], root: { + docs: collection.info.description || '', meta: { name: collection.info.name },