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/ or http://localhost:8080/SwaggerRestAPI or 
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]> on behalf of Sandip Mangale 
<[email protected]>
Reply-To: "[email protected]" 
<[email protected]>
Date: Monday, 1 August 2016 at 06:52
To: Swagger <[email protected]>
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. 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].
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