Skip to content

Commit

Permalink
change to Boolean. the query is looking for a Boolean or String but N…
Browse files Browse the repository at this point in the history
…OT a boolean. #522
  • Loading branch information
julie-sullivan committed Feb 5, 2020
1 parent ebea718 commit f71d1ca
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public ClinicalWSServer(@PathParam("version")
value = "Retrieves all clinical variants", response = Variant.class, responseContainer = "QueryResponse")
@ApiImplicitParams({
@ApiImplicitParam(name = "count", value = ParamConstants.COUNT_DESCRIPTION,
required = false, dataType = "boolean", paramType = "query", defaultValue = "false",
required = false, dataType = "java.lang.Boolean", paramType = "query", defaultValue = "false",
allowableValues = "false,true"),
@ApiImplicitParam(name = "source", value = ParamConstants.SOURCE,
required = false, dataType = "java.util.List", paramType = "query"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -394,8 +394,7 @@ public Response getByEnsemblId(@PathParam("genes")

@GET
@Path("/{genes}/next")
@ApiOperation(httpMethod = "GET", value = "Get information about the specified gene(s) - Not yet implemented",
hidden = true)
@ApiOperation(httpMethod = "GET", value = "Get information about the specified gene(s) - Not yet implemented", hidden = true)
public Response getNextByEnsemblId(@PathParam("genes") String genes) {
try {
parseQueryParams();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public Response getInfoByEnsemblId(@PathParam("proteins")
value = "Get all proteins", response = Entry.class, responseContainer = "QueryResponse")
@ApiImplicitParams({
@ApiImplicitParam(name = "count", value = ParamConstants.COUNT_DESCRIPTION,
required = false, dataType = "boolean", paramType = "query", defaultValue = "false",
required = false, dataType = "java.lang.Boolean", paramType = "query", defaultValue = "false",
allowableValues = "false,true"),
@ApiImplicitParam(name = "accession", value = ParamConstants.PROTEIN_ACCESSIONS,
required = false, dataType = "java.util.List", paramType = "query"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public Response getModel() {
responseContainer = "QueryResponse")
@ApiImplicitParams({
@ApiImplicitParam(name = "count", value = ParamConstants.COUNT_DESCRIPTION,
required = false, dataType = "boolean", paramType = "query", defaultValue = "false",
required = false, dataType = "java.lang.Boolean", paramType = "query", defaultValue = "false",
allowableValues = "false,true")
})
public Response getAll(@QueryParam("exclude")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public TfWSServer(@PathParam("version")
response = RegulatoryFeature.class, responseContainer = "QueryResponse")
@ApiImplicitParams({
@ApiImplicitParam(name = "count", value = ParamConstants.COUNT_DESCRIPTION,
required = false, dataType = "boolean", paramType = "query", defaultValue = "false",
required = false, dataType = "java.lang.Boolean", paramType = "query", defaultValue = "false",
allowableValues = "false,true"),
@ApiImplicitParam(name = "region", value = ParamConstants.REGION_DESCRIPTION,
required = false, dataType = "java.util.List", paramType = "query")
Expand Down Expand Up @@ -102,7 +102,7 @@ public Response getAllByTfbs(@PathParam("tf")
responseContainer = "QueryResponse")
@ApiImplicitParams({
@ApiImplicitParam(name = "count", value = ParamConstants.COUNT_DESCRIPTION,
required = false, dataType = "boolean", paramType = "query", defaultValue = "false",
required = false, dataType = "java.lang.Boolean", paramType = "query", defaultValue = "false",
allowableValues = "false,true"),
@ApiImplicitParam(name = "transcripts.id", value = ParamConstants.TRANSCRIPT_ENSEMBL_IDS,
required = false, dataType = "java.util.List", paramType = "query"),
Expand Down

0 comments on commit f71d1ca

Please sign in to comment.