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
[Bug] No importers found for file (swagger 2.0) #1354
Comments
👋 Thanks for opening your first issue! If you're reporting a 🐞 bug, please make sure To help make this a smooth process, please be sure you have first read the |
Can you post an example |
Yes of course, @gschier
|
Same here on the latest version |
We're facing the same issue. We have been supplied three swagger.json files and only one of them can get imported. |
any progress? 🙄 |
I have tried to import the following Swagger 2.0 spec without success: "No importes found for file" |
A lot of people experiencing with bug, me too. Will you provide further info? |
Just took a look at this and it seems like @alxpsr's example file returns the following error:
@dominik-lekse's example returns the following error:
It looks like $refs are only for linking to documentation reference so there errors probably should be ignored. I just refactored the import module to try continuing if the Swagger validation fails. This should fix the problem I think. |
Also, thank you @alxpsr and @dominik-lekse for the test case files. I've included @alxpsr's example in the test suite fixtures |
I figured out that there is the same bug in OpenAPI importer (
I guess we could apply the same fix ? |
Here is my patch for OpenAPI3: #1515 |
Details
I'm trying to import my
swagger.json
into Insomnia, but got an error:No importers found for file
. Swagger version is 2.0. What i'm doing wrong?The text was updated successfully, but these errors were encountered: