fastify-swagger-ui
fastify-swagger-ui copied to clipboard
Serve Swagger-UI for Fastify
This PR is related to #117. I like the suggestion, and it would be beneficial to me to have this feature, so I've implemented it. #### Checklist - [x] run...
Bumps [fastify/workflows](https://github.com/fastify/workflows) from 4.1.0 to 4.2.1. Release notes Sourced from fastify/workflows's releases. v4.2.1 What's Changed add node-versions to elastic ci by @gurgunday in fastify/workflows#126 chore: exclude Node 14 and 16...
### Prerequisites - [X] I have written a descriptive issue title - [X] I have searched existing issues to ensure the feature has not already been requested ### 🚀 Feature...
### Prerequisites - [X] I have written a descriptive issue title - [X] I have searched existing issues to ensure the bug has not already been reported ### Fastify version...
> I'm concerned this is a breaking change in behaviour and needs to be highlighted as such when it gets published - but would like a second opinion. > >...
### Prerequisites - [X] I have written a descriptive issue title - [X] I have searched existing issues to ensure the bug has not already been reported ### Fastify version...
### Prerequisites - [X] I have written a descriptive issue title - [X] I have searched existing issues to ensure the feature has not already been requested ### 🚀 Feature...
#### Checklist - [x] run `npm run test` and `npm run benchmark` - [x] tests and/or benchmarks are included - [x] documentation is changed or added - [x] commit message...
See https://github.com/fastify/fastify/issues/5585 #### Checklist - [x] commit message and code follows the [Developer's Certification of Origin](https://github.com/fastify/.github/blob/master/CONTRIBUTING.md#developers-certificate-of-origin-11) and the [Code of conduct](https://github.com/fastify/.github/blob/master/CODE_OF_CONDUCT.md)
This fixes https://github.com/fastify/fastify-swagger-ui/issues/165, where having a subpath in `routePrefix` breaks static content loading due to changes in https://github.com/fastify/fastify-swagger-ui/pull/164. Now the static content urls are relative only with a trailing slash,...