Swagger-editor: Import URL

Created on 23 Feb 2017  路  6Comments  路  Source: swagger-api/swagger-editor

It used to be possible to import a swagger doc directly from the URL. This seems to have broken over the past couple of days.

http://editor.swagger.io/#/?import=https://urlToSwaggerFile

Instead of loading the file from the URL, it displays either the default (Uber), or the last document that was edited (pulled from localStorage).

File -> Import URL seems unaffected, and still works as expected.

bug

All 6 comments

@saharj - can you take a look?

Same problem for me, this isn't working anymore

http://editor.swagger.io/#/?import=https://foo.bar.com/foo

My document is CORS compatible and is in JSON format

Using Chrome on Mac OSX

PS: Related to #161 and #370

Any movement on this @saharj @webron ?

This issue should be fixed now.

Does not work with current online editor neither with 3.0.10 hosted in the same hostname from the import url.

@ivanfmartinez seems working for me. If it still doesn't work for you, please file a new ticket and provide more details such as your browser.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

freak4pc picture freak4pc  路  3Comments

gnieutin picture gnieutin  路  4Comments

variable picture variable  路  4Comments

ClementVidal picture ClementVidal  路  6Comments

korenlev picture korenlev  路  4Comments