Integrate with the Existing express Project
When i copied the dist folder of swagger-ui in my local directory where swagger.yaml exist, i didnt able to access it. I modified the app file with "app.use('/swagger', express.static(path.join(__dirname, 'api/swagger')));" to get the static content. And when i am trying to run my server not able to locate it. Also swagger is moved to react now and there is no index.html. so which file it run specifically now.
What you mean there is no index.html ?
Look again:
https://github.com/swagger-api/swagger-ui/tree/master/dist
sorry, i have taken the dist files from "node_module/swagger-ui/dist " folder which don't have the index file.
Questions like this I think you will be better off asking on StackOverflow...
Sure. Thank you for help