jensoleg / swagger-ui

Swagger UI is a dependency-free collection of HTML, Javascript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.
http://swagger.io
Other
1.14k stars 310 forks source link

Global path parameters don't work #73

Closed beardedlinuxgeek closed 7 years ago

beardedlinuxgeek commented 7 years ago

Support was added in swagger-ui v2.1.3-M2

https://github.com/swagger-api/swagger-ui/issues/911

I've actually been able to fix this though. I changed the swagger-js target in package.json from your fork to the latest version in the official branch. When I rebuilt this fork of swagger-ui, global parameters started working automatically and there were no issues with using the master branch of swagger-js instead of your fork. I would recommend updating the package.json and rebuilding dist so that other users can have this feature as well.

aeros0ul commented 7 years ago

@beardedlinuxgeek you could have allowed us to participate in your work/improvements by just adding a pull request.