Can I merge an API Version into the main branch?

I have a question about API version management in Apidog.

Question:
Is it possible to merge an API Version back into the main branch?

Background:
We no longer want to maintain multiple API versions. However, we’re facing an issue where a specific API Version has become our most up-to-date version, while the main branch has become outdated.

What we want to achieve:

  • Stop using the API versioning feature
  • Make the current API Version become the new main branch
  • Continue development on a single main branch going forward

Is there a built-in feature to handle this situation? If not, what would be the recommended approach?

Thank you for your help!

Here’s the response based on the core points:

Thank you for your question about API version management in Apidog. Currently, we don’t support merging API Versions back into the main branch, as API Versioning is primarily designed for maintaining older versions. However, we’ll evaluate this feature request.

Here’s a workaround to achieve your goal:

  1. First, export your main branch data in Apidog format as a backup
  2. Switch to your target API Version and export its data in Apidog format
  3. Switch back to main branch, import the API Version data from step 2, and select “Overwrite” for all matching resources
  4. Verify the main branch contains your desired state after import