Skip to content

Commit 9ed248b

Browse files
committed
Check for null
1 parent b0638b5 commit 9ed248b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/apiflows/parser/OpenAPIWorkflowValidator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ public boolean isValidJsonPointer(String jsonPointerString) {
585585
}
586586

587587
boolean isRuntimeExpression(String name) {
588-
return name.startsWith("$");
588+
return name != null && name.startsWith("$");
589589
}
590590

591591
}

0 commit comments

Comments
 (0)