How would you like to change the default port of the swagger-ui dist version ?
By default, it listens for port requests 8080
. I want him to listen to some other port. The use case is that we want several runs to be launched on our hosting, but listen to different ports.
Is this possible, or do you really need to do more complex setup?
We run it through the node js package by default:
{
"name": "dist",
"version": "1.0.0",
"description": "",
"main": "swagger-ui-bundle.js",
"scripts": {
"start": "http-server"
},
"keywords": [],
"author": "",
"license": "ISC"
}
source
share