OAuth2 callback_url being reset to empty string on swagger reimport

I’ve imported a swagger doc which is using OAuth2. The auth_url ,access_token_url, scopes, etc are all defined with the swagger spec, however there isn’t a way to define the callback_url within swagger, which is expected, so I define this myself, by literally setting the value (environment variable).

Once I update the swagger spec with new endpoints etc, i reimport into apidog however each time the callback_url is removed.

I’ve set the:
“while matching the same Components” to “Merge” but it still removes the value.

Is there a way to prevent this from happening?

Hi @oster,

Thanks for bringing this up. Currently, this feature isn’t supported, but I’ll share your feedback with our product team for evaluation. If there are any updates, we’ll let you know as soon as possible.

Let me know if you have any other questions!