Solved
Forum Discussion
HKosova
Alumni
7 years agoThe issue might be Ubuntu-specific - which versions of Ubuntu and Chrome do you use? Could you please check if there are any errors on the Console tab in Chrome Developer Tools?
I'm asking because file import works fine for me, but I'm using Chrome on Windows 7.
I can only think of 2 cases where "Import URL" (not "Import File") may not work:
- Importing an HTTP (non-secure) URL into the HTTPS (secure) version of the editor. Browsers block HTTPS-to-HTTP requests for security reasons.
- The server that hosts the OpenAPI file does not support CORS, so the browser blocks cross-domain request from editor.swagger.io to that server.
Both cases are caused by browser security restrictions, and the workaround is to save the file locally, and use the "File > Import File" instead of "File > Import URL".
nmrao
Champion Level 1
7 years agoThank you. I will check and get back.