Also, I'm not ready to set up a REST client at this point. I'm just hoping 
to write a reference manual with pretty HTML. So if there's a JSON to HTML 
converter, that would suffice for me at this stage.

Rebecca

On Thursday, December 14, 2017 at 4:07:38 PM UTC-8, [email protected] 
wrote:
>
> Hello,
>
> I successfully used git clone to load Swagger UI onto my machine. Then I 
> loaded the index.html file in the dist directory into my browser. The 
> documentation says I can refer to another spec using the top navigation 
> bar. So I typed a path like this:
>
> file:///c:/Users/me/Documents/REST/MySpec.json
>
> I tested the JSON and it's valid, with no errors such as missing commas or 
> braces. I tested the path in the browser and it's correct. I don't think I 
> left out any required fields. But when I try to load the spec, I get this 
> error:
>
> {"schemaValidationMessages": [{"level": "error","message": "Can't read 
> from file file:///c:/Users/me/Documents/REST/MySpec.json"}]}
>
> I even get this error when I copy the pet store JSON file onto my machine 
> and try the same thing.
>
> This error message isn't particularly helpful. Any suggestions?
>
> Rebecca
>

-- 
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