Skip to content

Commit 2a693c4

Browse files
committed
updated to swagger-core-1.3.2
1 parent 8abf03c commit 2a693c4

File tree

4 files changed

+19
-8
lines changed

4 files changed

+19
-8
lines changed

modules/swagger-play2-utils/project/Build.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import play.Project._
44

55
object ApplicationBuild extends Build {
66
val appName = "swagger-play2-utils"
7-
val appVersion = "1.3.2"
7+
val appVersion = "1.3.3"
88

99
val appDependencies: Seq[sbt.ModuleID] = Seq(
1010
"org.slf4j" % "slf4j-api" % "1.6.4",

modules/swagger-play2-utils/project/plugins.sbt

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
11
// Comment to get more information during initialization
2-
logLevel := Level.Warn
2+
// logLevel := Level.Warn
33

4-
// The Typesafe repository
5-
resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/"
4+
resolvers ++= Seq(
5+
"Local Maven Repository" at "file://"+Path.userHome.absolutePath+"/.m2/repository",
6+
DefaultMavenRepository,
7+
"Typesafe Repository" at "http://repo.typesafe.com/typesafe/releases/",
8+
"Typesafe Snapshots" at "http://repo.typesafe.com/typesafe/snapshots/",
9+
Resolver.url("Play", url("http://download.playframework.org/ivy-releases/"))(Resolver.ivyStylePatterns)
10+
)
11+
12+
resolvers += "Typesafe Snapshots" at "http://repo.typesafe.com/typesafe/snapshots/"
13+
14+
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.2.0")
15+
16+
addSbtPlugin("com.typesafe.sbt" % "sbt-pgp" % "0.8.1")
617

7-
// Use the Play sbt plugin for Play projects
8-
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.2.0")

modules/swagger-play2/app/play/modules/swagger/PlayApiReader.scala

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,8 @@ class PlayApiReader(val routes: Option[Routes]) extends JaxrsApiReader {
359359
null
360360
}
361361

362-
362+
def findSubresourceType(method: Method): Class[_] = {
363+
method.getReturnType
364+
}
363365
}
364366

modules/swagger-play2/project/Build.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import play.Project._
44

55
object ApplicationBuild extends Build {
66
val appName = "swagger-play2"
7-
val appVersion = "1.3.2"
7+
val appVersion = "1.3.3"
88

99
checksums in update := Nil
1010

0 commit comments

Comments
 (0)