Surface message id in OperationOutcome from validator

This commit is contained in:
Grahame Grieve 2022-03-16 08:30:44 +11:00
parent 5ae5e5d4c8
commit def7d5566a
1 changed files with 5 additions and 2 deletions

View File

@ -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) {