springfox-swagger-ui-rfc6570

A swagger-ui mod that supports rfc6570 compliant urls

License

License

Apache-2.0
Categories

Categories

Swagger Program Interface REST Frameworks
GroupId

GroupId

io.springfox
ArtifactId

ArtifactId

springfox-swagger-ui-rfc6570
Last Version

Last Version

0.9.6
Release Date

Release Date

Type

Type

jar
Description

Description

springfox-swagger-ui-rfc6570
A swagger-ui mod that supports rfc6570 compliant urls
Project URL

Project URL

https://github.com/springfox/springfox-swagger-ui-rfc6570

Download springfox-swagger-ui-rfc6570

How to add to project

<!-- https://jarcasting.com/artifacts/io.springfox/springfox-swagger-ui-rfc6570/ -->
<dependency>
    <groupId>io.springfox</groupId>
    <artifactId>springfox-swagger-ui-rfc6570</artifactId>
    <version>0.9.6</version>
</dependency>
// https://jarcasting.com/artifacts/io.springfox/springfox-swagger-ui-rfc6570/
implementation 'io.springfox:springfox-swagger-ui-rfc6570:0.9.6'
// https://jarcasting.com/artifacts/io.springfox/springfox-swagger-ui-rfc6570/
implementation ("io.springfox:springfox-swagger-ui-rfc6570:0.9.6")
'io.springfox:springfox-swagger-ui-rfc6570:jar:0.9.6'
<dependency org="io.springfox" name="springfox-swagger-ui-rfc6570" rev="0.9.6">
  <artifact name="springfox-swagger-ui-rfc6570" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.springfox', module='springfox-swagger-ui-rfc6570', version='0.9.6')
)
libraryDependencies += "io.springfox" % "springfox-swagger-ui-rfc6570" % "0.9.6"
[io.springfox/springfox-swagger-ui-rfc6570 "0.9.6"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.
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)

Releasing swagger-ui
./gradlew clean build bintrayUpload -PbintrayUsername=<user> -PbintrayApiKey=<key> -PossUser=<sonatype-user> -PossPassword=<sonatype-pwd>
io.springfox

Versions

Version
0.9.6
0.9.5
0.9.4
0.9.3
0.9.2