install dependency, express and swagger-ui-dist
npm install
start the server
node app.js
The server will listen port 3000.
You can now connect to localhost:3000/apiref. When connecting to localhost:3000/api, it will redirect to a GET example (?url=...) to input OpenAPI file