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

chore: continue openapi imports on error with a partial import #4535

Merged

Conversation

amk-dev
Copy link
Contributor

@amk-dev amk-dev commented Nov 13, 2024

Fixs HFE-659

Before

If validating an openapi failed, we abort the entire import and shows an error message.

After

If the validation failed, but there's a schema available with the error, we import that instead of entirely breaking the import

@amk-dev amk-dev changed the base branch from main to next November 13, 2024 17:29
jamesgeorge007
jamesgeorge007 previously approved these changes Nov 22, 2024
@jamesgeorge007 jamesgeorge007 dismissed their stale review November 22, 2024 13:46

Just noticed a change in behavior about permitting invalid OpenAPI documents although it won't result in new collection entries.

@jamesgeorge007 jamesgeorge007 force-pushed the fix/continue-import-on-error-openapi branch from c1333d5 to 668027d Compare November 25, 2024 07:16
@jamesgeorge007 jamesgeorge007 merged commit 2721fd9 into hoppscotch:next Nov 25, 2024
1 check passed
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.

2 participants