From 1b8016cab532344b1aed0e3279282cdfe10cfca0 Mon Sep 17 00:00:00 2001 From: Rwolfe-Nava Date: Wed, 12 Jun 2024 13:48:49 -0400 Subject: [PATCH] update content type for status api v2 --- .../main/java/gov/cms/ab2d/api/controller/v2/StatusAPIV2.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/src/main/java/gov/cms/ab2d/api/controller/v2/StatusAPIV2.java b/api/src/main/java/gov/cms/ab2d/api/controller/v2/StatusAPIV2.java index c9c52e817..63dd1e5a1 100644 --- a/api/src/main/java/gov/cms/ab2d/api/controller/v2/StatusAPIV2.java +++ b/api/src/main/java/gov/cms/ab2d/api/controller/v2/StatusAPIV2.java @@ -42,6 +42,7 @@ import static gov.cms.ab2d.api.util.SwaggerConstants.BULK_CANCEL; import static gov.cms.ab2d.common.util.Constants.API_PREFIX_V2; import static gov.cms.ab2d.common.util.Constants.FHIR_PREFIX; +import static gov.cms.ab2d.common.util.Constants.FHIR_JSON_CONTENT_TYPE; import static org.springframework.http.HttpHeaders.EXPIRES; import static org.springframework.http.HttpHeaders.RETRY_AFTER; @@ -74,7 +75,7 @@ public class StatusAPIV2 { ) } ) - @GetMapping(value = "/Job/{jobUuid}/$status", produces = APPLICATION_JSON) + @GetMapping(value = "/Job/{jobUuid}/$status", produces = { APPLICATION_JSON, FHIR_JSON_CONTENT_TYPE }) @ResponseStatus(value = HttpStatus.OK) public ResponseEntity getJobStatus(HttpServletRequest request, @PathVariable @NotBlank String jobUuid) {