Skip to content
This repository has been archived by the owner on Sep 15, 2023. It is now read-only.

Commit

Permalink
Merge branch 'feature/dcga-valuesets-produces-json'
Browse files Browse the repository at this point in the history
  • Loading branch information
ubhaller committed Sep 17, 2021
2 parents 2d0381f + 02695c8 commit 20b08af
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import java.security.NoSuchAlgorithmException;
import org.springframework.http.CacheControl;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
Expand All @@ -43,7 +44,7 @@ public DcgaController(ValueSetDataService valueSetDataService) {
"404 => no value sets found for given valueSetId"
},
responseHeaders = {"ETag:etag to set for next request:string"})
@GetMapping(value = "/valueSets")
@GetMapping(value = "/valueSets", produces = MediaType.APPLICATION_JSON_VALUE)
public @ResponseBody ResponseEntity<String> getValueSets(
WebRequest request,
@RequestParam(
Expand Down

0 comments on commit 20b08af

Please sign in to comment.