Skip to content
Branch: master
Find file History
dilipkrish Merge pull request #3069 from springfox/dependabot/npm_and_yarn/sprin…
…gfox-swagger-ui/src/web/lodash-4.17.15

Bump lodash from 4.17.11 to 4.17.15 in /springfox-swagger-ui/src/web
Latest commit fb14aa8 Aug 4, 2019
Permalink
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
README.md fix fmt Jan 9, 2018
build.gradle Update swagger-ui Aug 4, 2019

README.md

springfox-swagger-ui
  • 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] (https://github.com/swagger-api/swagger-ui).

  • All content is served from a webjar convention, relative url taking the following form: webjars/${project.name}/${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] (http://www.webjars.org/documentation#springmvc)

You can’t perform that action at this time.