Skip to content

Commit

Permalink
field is required #522
Browse files Browse the repository at this point in the history
  • Loading branch information
julie-sullivan committed Feb 6, 2020
1 parent e7a3e37 commit 9c69da0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -482,8 +482,8 @@ public Response getTranscriptsByGenes(@PathParam("genes") @ApiParam(name = "gene
@ApiImplicitParam(name = "annotation.drugs.gene", value = ParamConstants.ANNOTATION_DRUGS_GENE,
required = false, dataType = "java.util.List", paramType = "query")
})
public Response getUniqueValues(@QueryParam("field") @ApiParam(name = "field", value = "Name of column to return, e.g. biotype")
String field) {
public Response getUniqueValues(@QueryParam("field") @ApiParam(name = "field", required = true,
value = "Name of column to return, e.g. biotype") String field) {
try {
parseQueryParams();
GeneDBAdaptor geneDBAdaptor = dbAdaptorFactory.getGeneDBAdaptor(this.species, this.assembly);
Expand Down

0 comments on commit 9c69da0

Please sign in to comment.