Thanks, that worked.

 

It looks like it’s a CORS issue. If you check the console, you’ll see something 
like this:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the 
remote resource at https://s3.amazonaws.com/st-swagger-docs/testschema.json. 
(Reason: CORS header ‘Access-Control-Allow-Origin’ missing).

 

Now, yes, the file is being fetched, but it’s not processed because of it.

 

 

 

From: <[email protected]> on behalf of Gregg Fiehler 
<[email protected]>
Reply-To: "[email protected]" 
<[email protected]>
Date: Tuesday, December 5, 2017 at 09:02
To: Swagger <[email protected]>
Subject: Re: Swagger Editor external reference local file vrs. remote

 

try this  

 

https://s3.amazonaws.com/st-swagger-docs/testschema.json#/definitions/PostalAddress
 

 

I had a typo in the URL I sent before, but that is not what is in my swagger 
document so I am unsure how I messed that up.

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to