File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
modules/swagger-jaxrs/src/test/scala Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ class SimpleScannerTest extends FlatSpec with Matchers {
6464
6565 it should " scan a resource with generics per 653" in {
6666 val swagger = new Reader (new Swagger ()).read(classOf [Resource653 ])
67- val path = swagger.getPaths().get(" external/info" )
67+ val path = swagger.getPaths().get(" / external/info" )
6868 val get = path.getGet()
6969 get should not be (null )
7070
@@ -82,7 +82,7 @@ class SimpleScannerTest extends FlatSpec with Matchers {
8282
8383 it should " scan a resource with Response.Status return type per 877" in {
8484 val swagger = new Reader (new Swagger ()).read(classOf [Resource877 ])
85- val path = swagger.getPaths().get(" external/info" )
85+ val path = swagger.getPaths().get(" / external/info" )
8686
8787 swagger.getTags() should not be (null )
8888 swagger.getTags().size() should be (1 )
@@ -95,7 +95,7 @@ class SimpleScannerTest extends FlatSpec with Matchers {
9595
9696 it should " scan a resource with tags" in {
9797 val swagger = new Reader (new Swagger ()).read(classOf [TaggedResource ])
98- Json .prettyPrint(swagger )
98+ swagger.getTags().size() should be ( 2 )
9999 }
100100}
101101
You can’t perform that action at this time.
0 commit comments