Hello, I think I’m using the solution incorrectly, but I can’t find the solution. I configured an import from an OpenAPI/Swagger source, and everything works fine. However, if I change schemas, the next time I import, I lose the information, even though I configured APIDOG in merge mode.
If anyone has a solution, I’d appreciate it and thank you in advance.
Hi sebCashmag, could you please confirm if you’re using version 2.7.23 or the web version? If so, try disabling this option to prevent overwriting your existing APIs.
Hello, thank you for your reply, I am using the application with version 2.7.23. I just made the modification as you recommended but it does not work. When importing I always lose my modifications.
By “lose information,” do you mean that the updated data was not imported and that Apidog retained its original data?
I made changes to the schema, added a JSON field, and indicated that a field was required. All this information in the schema is lost with each import.
Does this problem only occur with automatic imports?
No
Have you tried a manual import with the same data?
Yes, the result is the same.
Is this a recent problem or has it always existed?
I can’t answer because I’ve never used this feature.
Hello, when you re-import, the system fetches the content from your import source file. Smart merge only works on existing fields, so if you add a new field but it gets deleted, this is expected behavior.