Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ApiSpec when importing #6635

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

gatzjames
Copy link
Contributor

@gatzjames gatzjames commented Oct 3, 2023

In order to make imports deterministic and more reliable we had to avoid updating existing data.

This checks if the user is importing an ApiSpec and adds it to the workspace or replaces the existing one.

TODO:

  • Display that an ApiSpec is about to be imported (will overwrite the current one) on the import modal
  • If we import to a collection should it become a design document?

Explore:

  • Another approach is to only import the requests and not update the existing ApiSpec

Closes #6547

@gatzjames gatzjames requested a review from a team October 3, 2023 13:48
@gatzjames gatzjames self-assigned this Oct 3, 2023
@gatzjames gatzjames marked this pull request as draft October 4, 2023 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Debug Endpoints do not populate when importing new openapi collection
1 participant