Skip to content

Importing postman collection doesn't respect folder structure #879

@hafijulali

Description

@hafijulali

Describe the bug/problem

When trying to import postman v2.1 collection into apidash, the individual requests are imported without the folder hierarchy present in the import file. Thus, causing issues with properly organizing the api request definitions.

Steps to Reproduce the bug/problem

  • Export a postman v2.1 collection with multiple api requests neatly grouped with folder hierarchy.
  • Import the collection into apidash, you wouls notice, the requests get imported successfully without retaining the original folder hierarchy.

Expected behavior

  • Folders should also get created when importing the collection.

Device Info (The device where you encountered this issue)

  • OS: Android, MacOS; but should be reproducible on all platforms.
  • Version: v0.5.0 built locally from main branch
  • Browser: NA

Flutter Doctor

Please run the flutter doctor -v command and provide the details below:

❯ flutter doctor -v                
[✓] Flutter (Channel stable, 3.35.2, on macOS 15.6.1 24G90 darwin-arm64, locale en-US) [579ms]
    • Flutter version 3.35.2 on channel stable at /opt/homebrew/Caskroom/flutter/3.29.1/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 05db968908 (3 days ago), 2025-08-25 10:21:35 -0700
    • Engine revision a8bfdfc394
    • Dart version 3.9.0
    • DevTools version 2.48.0
    • Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios,
      cli-animations, enable-lldb-debugging

[✓] Android toolchain - develop for Android devices (Android SDK version 36.0.0) [1,339ms]
    • Android SDK at /opt/homebrew/Cellar/android-sdk
    • Emulator version 35.6.11.0 (build_id 13610412) (CL:N/A)
    • Platform android-36, build-tools 36.0.0
    • ANDROID_HOME = /opt/homebrew/Cellar/android-sdk/
    • ANDROID_SDK_ROOT = /opt/homebrew/Cellar/android-sdk/
    • Java binary at: /Library/Java/JavaVirtualMachines/temurin-17.jdk/Contents/Home/bin/java
      This JDK is specified in your Flutter configuration.
      To change the current JDK, run: `flutter config --jdk-dir="path/to/jdk"`.
    • Java version OpenJDK Runtime Environment Temurin-17.0.16+8 (build 17.0.16+8)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 16.4) [1,095ms]
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 16F6
    • CocoaPods version 1.16.2

[✓] Chrome - develop for the web [8ms]
    • CHROME_EXECUTABLE = /Applications/Chromium.app/Contents/MacOS/Chromium

[✓] Android Studio (version 2025.1) [7ms]
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 21.0.6+-13391695-b895.109)

[✓] Connected device (3 available) [6.4s]
    • sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64  • Android 16 (API 36) (emulator)
    • macOS (desktop)             • macos         • darwin-arm64   • macOS 15.6.1 24G90 darwin-arm64
    • Chrome (web)                • chrome        • web-javascript • Chromium 138.0.7204.157

[✓] Network resources [371ms]
    • All expected network resources are available.

• No issues found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions