scottie1984 / swagger-ui-express

Adds middleware to your express app to serve the Swagger UI bound to your Swagger document. This acts as living documentation for your API hosted from within your app.
MIT License
1.43k stars 228 forks source link

Trim req.url from query params #280

Closed dukvanduken closed 2 years ago

dukvanduken commented 2 years ago

It's posible when used webserver to send requests with query params or just "?" sign. Then expression do not match and we cannot get generated swagger-ui-init.js.