Skip to content

Commit

Permalink
update content type for status api v2
Browse files Browse the repository at this point in the history
  • Loading branch information
Rwolfe-Nava committed Jun 12, 2024
1 parent 0850312 commit 1b8016c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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<JobCompletedResponse> getJobStatus(HttpServletRequest request,
@PathVariable @NotBlank String jobUuid) {
Expand Down

0 comments on commit 1b8016c

Please sign in to comment.