diff --git a/src/main/java/gov/cms/madie/resources/PackageController.java b/src/main/java/gov/cms/madie/resources/PackageController.java index 515061d..588256f 100644 --- a/src/main/java/gov/cms/madie/resources/PackageController.java +++ b/src/main/java/gov/cms/madie/resources/PackageController.java @@ -69,7 +69,8 @@ public ResponseEntity getMeasureSimpleXml( MediaType.APPLICATION_XML_VALUE, }, consumes = {MediaType.APPLICATION_JSON_VALUE}) - public ResponseEntity generateHqmf(@RequestBody Measure measure) throws Exception { + public ResponseEntity generateHqmf( + @RequestBody @Validated(Measure.ValidationSequence.class) Measure measure) throws Exception { // generate HQMF if the model type is QDM if (measure != null && measure.getModel() != null && measure.getModel().contains("QDM")) { return ResponseEntity.ok()