Surface message id in OperationOutcome from validator
This commit is contained in:
parent
5ae5e5d4c8
commit
def7d5566a
|
@ -114,9 +114,12 @@ public class OperationOutcomeUtilities {
|
||||||
case TIMEOUT: return IssueType.TIMEOUT;
|
case TIMEOUT: return IssueType.TIMEOUT;
|
||||||
case THROTTLED: return IssueType.THROTTLED;
|
case THROTTLED: return IssueType.THROTTLED;
|
||||||
case INFORMATIONAL: return IssueType.INFORMATIONAL;
|
case INFORMATIONAL: return IssueType.INFORMATIONAL;
|
||||||
case NULL: return IssueType.NULL;
|
case NULL: return IssueType.NULL;
|
||||||
|
case DELETED: return IssueType.DELETED;
|
||||||
|
case MULTIPLEMATCHES: return IssueType.MULTIPLEMATCHES;
|
||||||
|
default:
|
||||||
|
return IssueType.NULL;
|
||||||
}
|
}
|
||||||
return IssueType.NULL;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static OperationOutcome createOutcome(List<ValidationMessage> messages) {
|
public static OperationOutcome createOutcome(List<ValidationMessage> messages) {
|
||||||
|
|
Loading…
Reference in New Issue