From 6e2cd8e7d29319dc1f10e35a7f63154fb0e44243 Mon Sep 17 00:00:00 2001 From: Andy Lowry Date: Wed, 15 Aug 2018 07:32:47 -0400 Subject: [PATCH] [#180] Add position info accessor --- .../com/reprezen/kaizen/oasparser/val/ValidationResults.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kaizen-openapi-parser/src/main/java/com/reprezen/kaizen/oasparser/val/ValidationResults.java b/kaizen-openapi-parser/src/main/java/com/reprezen/kaizen/oasparser/val/ValidationResults.java index d019e350..c8bbafdd 100755 --- a/kaizen-openapi-parser/src/main/java/com/reprezen/kaizen/oasparser/val/ValidationResults.java +++ b/kaizen-openapi-parser/src/main/java/com/reprezen/kaizen/oasparser/val/ValidationResults.java @@ -170,6 +170,10 @@ public List getCrumbs() { return crumbs; } + public PositionInfo getPositionInfo() { + return pos; + } + @Override public String toString() { String posString = pos != null ? pos.toString(true) + " " : "";