|
4 | 4 | [](https://github.com/dwickern/swagger-play/actions) |
5 | 5 | [](https://maven-badges.herokuapp.com/maven-central/com.github.dwickern/swagger-play2.8_2.13) |
6 | 6 |
|
7 | | -This fork is cross-compiled for Play 2.7 and 2.8 with Scala 2.12 and 2.13. |
| 7 | +This fork is cross-compiled for Play 2.7 - 3.0 |
8 | 8 |
|
9 | 9 | ```sbt |
10 | 10 | // for Play 2.7.3 - 2.7.9: |
11 | | -libraryDependencies += "com.github.dwickern" %% "swagger-play2.7" % "3.1.0" |
| 11 | +libraryDependencies += "com.github.dwickern" %% "swagger-play2.7" % "4.0.0" |
12 | 12 |
|
13 | 13 | // for Play 2.8.0 - 2.8.7: |
14 | | -libraryDependencies += "com.github.dwickern" %% "swagger-play2.8" % "3.1.0" |
| 14 | +libraryDependencies += "com.github.dwickern" %% "swagger-play2.8" % "4.0.0" |
15 | 15 |
|
16 | | -// for Play 2.8.8 or later: |
| 16 | +// for Play 2.8.8 - 2.8.x: |
17 | 17 | libraryDependencies ++= Seq( |
18 | | - "com.github.dwickern" %% "swagger-play2.8" % "3.1.0", |
| 18 | + "com.github.dwickern" %% "swagger-play2.8" % "4.0.0", |
19 | 19 | "io.swagger" % "swagger-core" % "1.6.2", |
20 | 20 | "com.fasterxml.jackson.module" %% "jackson-module-scala" % "2.11.1" |
21 | 21 | ) |
| 22 | + |
| 23 | +// for Play 2.9: |
| 24 | +libraryDependencies += "com.github.dwickern" %% "swagger-play2.9" % "4.0.0" |
| 25 | + |
| 26 | +// for Play 3.0: |
| 27 | +libraryDependencies += "com.github.dwickern" %% "swagger-play3.0" % "4.0.0" |
22 | 28 | ``` |
23 | 29 |
|
| 30 | +Note that Jackson is generally not binary compatible between minor releases. |
24 | 31 | Make sure all of your dependencies (including other third-party libraries) use a compatible version of Jackson: |
25 | 32 |
|
26 | | -| playframework | jackson | swagger-core | |
27 | | -|---------------|---------|--------------| |
28 | | -| 2.7 | 2.9.x | 1.5.24 | |
29 | | -| 2.8.0-2.8.7 | 2.10.x | 1.6.0-1.6.1 | |
30 | | -| 2.8.8 | 2.11.x | 1.6.2 | |
| 33 | +| playframework | jackson | swagger-core | |
| 34 | +|---------------|---------|----------------| |
| 35 | +| 2.7 | 2.9.x | 1.5.24 | |
| 36 | +| 2.8.0 - 2.8.7 | 2.10.x | 1.6.0 - 1.6.1 | |
| 37 | +| 2.8.8 - 2.8.x | 2.11.x | 1.6.2 - 1.6.5 | |
| 38 | +| N/A | 2.12.x | N/A | |
| 39 | +| N/A | 2.13.x | 1.6.6 - 1.6.8 | |
| 40 | +| 2.9.0 - 3.0.0 | 2.14.x | 1.6.9 - 1.6.11 | |
| 41 | +| N/A | 2.15.x | 1.6.12 | |
31 | 42 |
|
32 | 43 | This library is also available as a SBT plugin: [sbt-swagger-play](https://github.com/dwickern/sbt-swagger-play) |
33 | 44 |
|
|
0 commit comments