There is an issue with the exporting and importing functionality in ApiDOg. Specifically, markdown (MD) files with the same name under different folders are not imported correctly.
Steps to Reproduce
-
Create the following folder structure in ApiDOg
Module-1
├── Signup
├── Overview
└── Document-1
Module-2
├── Signup
├── Overview
└── Document-2 -
Export this structure using the ApiDOg export feature.
-
Import the exported data into a different ApiDOg account.
Expected Result
The folder structure should be imported exactly as it was exported, maintaining the integrity of all markdown files under their respective folders:
Module-1
├── Signup
├── Overview
└── Document-1
Module-2
├── Signup
├── Overview
└── Document-2
Actual Result
Upon import, markdown files with the same name in different folders are not imported correctly. The result is as follows:
Module-1
└── Document-1
Module-2
├── Signup
├── Overview
└── Document-2
The MD files under the Signup and Overview folders in Module-1 are lost.
Impact
This bug causes loss of data and structure, leading to potential confusion and inefficiencies when trying to manage documentation across different accounts.
Suggested Fix
Ensure that the import function correctly handles files with the same name under different folders, preserving the original folder structure and file integrity.
Additional Information
Please let me know if further information or clarification is needed to resolve this issue.
Thank you for your attention to this matter.