First I would like to Thanks for reply,

I am using Tomcat 7 as a web server.
For json i am using url *http://localhost:8080/SwaggerRestAPI 
<http://localhost:8080/SwaggerRestAPI>/rest/api-docs*
For swagger-ui - http://localhost:8080/*SwaggerRestAPI 
<http://localhost:8080/SwaggerRestAPI>*/apidocs/

Where should be the dist folder location ? webapp\WEB-INF or under webapp 
folder?


On Thursday, 4 August 2016 04:38:55 UTC+5:30, Ron wrote:
>
> You don’t provide enough details to point you in the right direction as it 
> depends on how which application server you use (among other things) – this 
> issue has nothing to do with Swagger.
>
> Based on what you mentioned, the UI could potentially be accessible via 
> *http://localhost:8080/ 
> <http://localhost:8080/> *or *http://localhost:8080/SwaggerRestAPI 
> <http://localhost:8080/SwaggerRestAPI>* or 
> *http://localhost:8080/SwaggerRestAPI/rest/ 
> <http://localhost:8080/SwaggerRestAPI/rest/>*.
>
> As another troubleshooting step, you might consider putting the contents 
> of swagger-ui under a directory and not directly at the root.
>
>  
>
>  
>
> *From: *<[email protected] <javascript:>> on behalf of 
> Sandip Mangale <[email protected] <javascript:>>
> *Reply-To: *"[email protected] <javascript:>" <
> [email protected] <javascript:>>
> *Date: *Monday, 1 August 2016 at 06:52
> *To: *Swagger <[email protected] <javascript:>>
> *Subject: *Swagger UI integration.
>
>  
>
> Hello everyone, 
>
>  
>
> I am trying to integrate Swagger UI for Rest easy API. I am able to see 
> swagger.json at *http://localhost:8080/SwaggerRestAPI/rest/swagger.json 
> <http://localhost:8080/SwaggerRestAPI/rest/swagger.json>*. I have copied 
> dist folder in WEB-INF folder and changed the url in index.html to 
> http://localhost:8080/SwaggerRestAPI/rest/swagger.json and tried to fetch 
> UI by using URL http://localhost:8080/SwaggerRestAPI but it is returning 
> 404 response. Can anybody help me?
>
> -- 
> 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] <javascript:>.
> 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