During the first import, schema data is not updated - fields remain empty (null).
On the second import (with the same file), the schema data is updated correctly.
Additionally, imports from the same file generate new IDs for response examples.
Expected Behavior
Schema data should be updated correctly on the first import.
Question
If it is possible, IDs in response examples should remain stable between imports of the same file. Is there a way to prevent IDs from changing when importing the same file?
Please let me know if you need additional details or clarifications.
Thank you for your feedback. We’d like to know if the inconsistent IDs in response examples are causing any specific issues for your workflow. If necessary, could you please provide screenshots to illustrate the problem?
Thank you for your quick response. The inconsistent IDs in the response examples aren’t causing any specific issues, as they don’t appear in the export JSON. I just haven’t found any information about that. Much more important for my workflow is that I am experiencing non-consistent overwriting during import with Apidog JSON, as my workflow is based on importing/exporting using Git as the source of truth.
Option 1:
6. Do not select Security Schemas for the import → this leads to imported (overwritten) endpoints having null Security Schemas, because the Security Schemas won’t be found.
As I understand it, during the export of develop, its content will be merged with main, right? But at the moment of importing into develop, the endpoints don’t have access to the Security Schemas from main.
So the endpoints fail to find SS → they set SS to null → broken branch/docs
Option 2:
6. Import with Security Schemas → this leads to imported (overwritten) endpoints having Security Schemas, BUT they won’t be the same as in main.
Instead, new duplicates with different IDs will be created.
Why? Why? Why? Why does importing (or exporting) require changing IDs?
So I end up in a situation where each export/import creates another set of orphaned duplicate Security Schemas, which eventually grow with exponential complexity in my export files.
Looks like Apidogs imports can’t be used in this way and I’m forced to use Apidog’s built-in Git…
I don’t want to use Apidog’s built-in Git.
Can you suggest a solution for my problem or a workflow where I can primarily use Apidog as a docs-hosting tool, while keeping docs versions stored in my GitLab?
Do you want me to also make it shorter and more formal (so it’s ready to post as a bug report/feature request), or keep it as a more detailed explanation (like now)?
So, do I understand correctly that I can’t use Git for version control in my Apidog project at all? I’m fine with any reasonable workflow, even if it isn’t the easiest one, I just want it to be reliable.