File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
modules/swagger-jaxrs/src/test/java/io/swagger Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 4444import io .swagger .util .Json ;
4545import org .testng .annotations .Test ;
4646
47- import javax .ws .rs .*;
47+ import javax .ws .rs .DELETE ;
48+ import javax .ws .rs .GET ;
49+ import javax .ws .rs .HEAD ;
50+ import javax .ws .rs .OPTIONS ;
51+ import javax .ws .rs .POST ;
52+ import javax .ws .rs .PUT ;
4853import javax .ws .rs .core .MediaType ;
4954import java .lang .annotation .Annotation ;
5055import java .lang .reflect .Method ;
@@ -232,7 +237,6 @@ public void scanImplicitParam() {
232237 Swagger swagger = getSwagger (ResourceWithImplicitParams .class );
233238 List <Parameter > params = swagger .getPath ("/testString" ).getPost ().getParameters ();
234239 assertNotNull (params );
235- assertEquals (params .size (), 8 );
236240 assertEquals (params .size (), 10 );
237241
238242 assertEquals (params .get (0 ).getName (), "sort" );
You can’t perform that action at this time.
0 commit comments