Skip to content
Branch: master
Find file History
dilipkrish Merge pull request #3069 from springfox/dependabot/npm_and_yarn/sprin…

Bump lodash from 4.17.11 to 4.17.15 in /springfox-swagger-ui/src/web
Latest commit fb14aa8 Aug 4, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Merge pull request #3069 from springfox/dependabot/npm_and_yarn/sprin… Aug 4, 2019 fix fmt Jan 9, 2018
build.gradle Update swagger-ui Aug 4, 2019

  • Creates a webjar containing the swagger-ui static content.
  • Adds a JSON endpoint /swagger-resources which lists all of the swagger resources and versions configured for a given application.

Prior versions of this library included sdoc.jsp which caused all kinds of problems on spring boot. This latest version now bundles a html (swagger-ui.html) instead.

The swagger ui version is specified in ./build.gradle where swaggerUiVersion is a git tag on the [swagger-ui repo] (

  • All content is served from a webjar convention, relative url taking the following form: webjars/${}/${project.version} e.g: /webjars/springfox-swagger-ui/<YOUR-SPRINGFOX-VERSION>/swagger-ui.html

By default Spring Boot has sensible defaults for serving content from webjars. To configure vanilla spring web mvc apps to serve webjar content see the [webjar documentation] (

You can’t perform that action at this time.