Skip to content

Commit 4af1e6f

Browse files
committed
Do not prefix first prop
1 parent 2d84aaa commit 4af1e6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/qdesrame/openapi/diff/output/ConsoleRender.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ private void incompatibility(
187187
.append(StringUtils.repeat(' ', 10))
188188
.append("Missing property: ")
189189
.append(propPrefix)
190-
.append(".")
190+
.append(propPrefix.isEmpty() ? "" : ".")
191191
.append(propName)
192192
.append(System.lineSeparator());
193193
});

0 commit comments

Comments
 (0)