Skip to content

Commit 5c9c19f

Browse files
author
PJ Fanning
committed
jackson 2.10.0
1 parent ef9a5c0 commit 5c9c19f

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

build.sbt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ pomIncludeRepository := { x => false }
2323
libraryDependencies ++= Seq(
2424
"org.scala-lang" % "scala-reflect" % scalaVersion.value,
2525
"io.swagger.core.v3" % "swagger-core" % "2.0.9",
26-
"com.fasterxml.jackson.module" %% "jackson-module-scala" % "2.10.0.pr3",
27-
"com.fasterxml.jackson.core" % "jackson-databind" % "2.10.0.pr3",
26+
"com.fasterxml.jackson.module" %% "jackson-module-scala" % "2.10.0",
2827
"org.scalatest" %% "scalatest" % "3.0.8" % Test,
2928
"org.slf4j" % "slf4j-simple" % "1.7.28" % Test
3029
)

src/test/scala/com/github/swagger/scala/converter/ModelPropertyParserTest.scala

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class ModelPropertyParserTest extends FlatSpec with Matchers {
2525
val converter = ModelConverters.getInstance()
2626
val schemas = converter.readAll(classOf[ModelWOptionString]).asScala.toMap
2727
val model = schemas.get("ModelWOptionString")
28-
model should be('defined)
28+
model should be(defined)
2929
model.get.getProperties should not be(null)
3030
val stringOpt = model.get.getProperties().get("stringOpt")
3131
stringOpt should not be (null)
@@ -41,7 +41,7 @@ class ModelPropertyParserTest extends FlatSpec with Matchers {
4141
val converter = ModelConverters.getInstance()
4242
val schemas = converter.readAll(classOf[ModelWOptionModel]).asScala.toMap
4343
val model = schemas.get("ModelWOptionModel")
44-
model should be ('defined)
44+
model should be (defined)
4545
model.get.getProperties should not be (null)
4646
val modelOpt = model.get.getProperties().get("modelOpt")
4747
modelOpt should not be (null)
@@ -54,7 +54,7 @@ class ModelPropertyParserTest extends FlatSpec with Matchers {
5454
val converter = ModelConverters.getInstance()
5555
val schemas = converter.readAll(classOf[TestModelWithBigDecimal]).asScala.toMap
5656
val model = findModel(schemas, "TestModelWithBigDecimal")
57-
model should be ('defined)
57+
model should be (defined)
5858
model.get.getProperties should not be (null)
5959
val field = model.get.getProperties().get("field")
6060
field shouldBe a [NumberSchema]
@@ -67,7 +67,7 @@ class ModelPropertyParserTest extends FlatSpec with Matchers {
6767
val converter = ModelConverters.getInstance()
6868
val schemas = converter.readAll(classOf[TestModelWithBigInt]).asScala.toMap
6969
val model = findModel(schemas, "TestModelWithBigInt")
70-
model should be ('defined)
70+
model should be (defined)
7171
model.get.getProperties should not be (null)
7272
val field = model.get.getProperties().get("field")
7373
field shouldBe a [IntegerSchema]
@@ -78,7 +78,7 @@ class ModelPropertyParserTest extends FlatSpec with Matchers {
7878
val converter = ModelConverters.getInstance()
7979
val schemas = converter.readAll(classOf[ModelWOptionBigDecimal]).asScala.toMap
8080
val model = schemas.get("ModelWOptionBigDecimal")
81-
model should be ('defined)
81+
model should be (defined)
8282
model.get.getProperties should not be (null)
8383
val optBigDecimal = model.get.getProperties().get("optBigDecimal")
8484
optBigDecimal should not be (null)
@@ -90,7 +90,7 @@ class ModelPropertyParserTest extends FlatSpec with Matchers {
9090
val converter = ModelConverters.getInstance()
9191
val schemas = converter.readAll(classOf[ModelWOptionBigInt]).asScala.toMap
9292
val model = schemas.get("ModelWOptionBigInt")
93-
model should be ('defined)
93+
model should be (defined)
9494
model.get.getProperties should not be (null)
9595
val optBigInt = model.get.getProperties().get("optBigInt")
9696
optBigInt should not be (null)
@@ -102,7 +102,7 @@ class ModelPropertyParserTest extends FlatSpec with Matchers {
102102
val converter = ModelConverters.getInstance()
103103
val schemas = converter.readAll(classOf[ModelWOptionInt]).asScala.toMap
104104
val model = schemas.get("ModelWOptionInt")
105-
model should be ('defined)
105+
model should be (defined)
106106
model.get.getProperties should not be (null)
107107
val optInt = model.get.getProperties().get("optInt")
108108
optInt should not be (null)
@@ -114,7 +114,7 @@ class ModelPropertyParserTest extends FlatSpec with Matchers {
114114
val converter = ModelConverters.getInstance()
115115
val schemas = converter.readAll(classOf[ModelWOptionIntSchemaOverride]).asScala.toMap
116116
val model = schemas.get("ModelWOptionIntSchemaOverride")
117-
model should be ('defined)
117+
model should be (defined)
118118
model.get.getProperties should not be (null)
119119
val optInt = model.get.getProperties().get("optInt")
120120
optInt should not be (null)
@@ -126,7 +126,7 @@ class ModelPropertyParserTest extends FlatSpec with Matchers {
126126
val converter = ModelConverters.getInstance()
127127
val schemas = converter.readAll(classOf[ModelWOptionBoolean]).asScala.toMap
128128
val model = schemas.get("ModelWOptionBoolean")
129-
model should be ('defined)
129+
model should be (defined)
130130
model.get.getProperties should not be (null)
131131
val optBoolean = model.get.getProperties().get("optBoolean")
132132
optBoolean should not be (null)
@@ -138,7 +138,7 @@ class ModelPropertyParserTest extends FlatSpec with Matchers {
138138
val converter = ModelConverters.getInstance()
139139
val schemas = converter.readAll(classOf[ModelWOptionBooleanSchemaOverride]).asScala.toMap
140140
val model = schemas.get("ModelWOptionBooleanSchemaOverride")
141-
model should be ('defined)
141+
model should be (defined)
142142
model.get.getProperties should not be (null)
143143
val optBoolean = model.get.getProperties().get("optBoolean")
144144
optBoolean should not be (null)

0 commit comments

Comments
 (0)