Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refs #1636, applies Option 4 scanning model
- Loading branch information
Showing
3 changed files
with
33 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
modules/swagger-jaxrs/src/test/java/io/swagger/resources/NotValidRootResource.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package io.swagger.resources; | ||
|
||
import io.swagger.annotations.ApiOperation; | ||
import io.swagger.annotations.ApiParam; | ||
|
||
import javax.ws.rs.GET; | ||
import javax.ws.rs.Path; | ||
import javax.ws.rs.core.Response; | ||
import java.util.ArrayList; | ||
|
||
@Path("fun") | ||
public class NotValidRootResource { | ||
@GET | ||
@ApiOperation(value = "this", tags = "tag1") | ||
@Path("/this") | ||
public Response getThis(@ApiParam(value = "test") ArrayList<String> tenantId) { | ||
return Response.ok().build(); | ||
} | ||
} |