fix: collection/folder docs when importing postman collection (#3745)

* fix: collection/folder docs when importing postman collection

* fix
This commit is contained in:
pooja-bruno 2025-01-07 14:27:13 +05:30 committed by GitHub
parent 539d22125c
commit 5f63cc4ab4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
},