Re-Import breaks Data Schema markdown widget

Hello,

I’m trying to write some external processing of Apidog “json schema” - I want to export the project in Apidog format, do some magic with it (to automate some refactoring and stuff) and reimport it again.

But I decided to make sure tthat Apidog is compatible with Apidog :slightly_smiling_face:
And, unfortunately, it seems it isn’t, at least not fully.

I have run export of full project and imported it again (without making any changes) to a new project. I immediately noticed that those widgets lost references to schemas after the import.

Apparently Apidog generates new IDs for objects during the import. And while it updates the IDs in references of APIs, widgets markdown doesn’t seem to be updated.

The issue doesn’t occur when doing “partial” import with just APIs to project with existing Schemas (as their ID doesn’t get updated, obviously).

I were using the most recent version, 2.5.17

Thank you for your feedback. We will fix the bug as soon as possible

I’ve also discovered that same issue happens with markdown links - they’re also not updated with the IDs.

This is a blocker-type issue for me as I can’t migrate our docs to apidog format without a way to keep the links

We will release a version at the end of this month to fix this issue

Great, thanks

By the way, what kind of scenario do you use to export data and then import it into another project?

  1. Created a “dummy” project and manually inserted some APIs
  2. Made export to apidog-format json
  3. Removed those dummy APIs from the app
  4. Imported the json

I’m doing this as a research before I start working on a script that would migrate our APIs (which have our internal format) to apidog format.

I’ve also discovered that same issue happens with markdown links - they’re also not updated with the IDs.

This is a blocker-type issue for me as I can’t migrate our docs to apidog format without a way to keep the links

We will release a version at the end of this month to fix this issue

By the way, what kind of scenario do you use to export data and then import it into another project?

  1. Created a “dummy” project and manually inserted some APIs
  2. Made export to apidog-format json
  3. Removed those dummy APIs from the app
  4. Imported the json

I’m doing this as a research before I start working on a script that would migrate our APIs (which have our internal format) to apidog format.