We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ab2e8a commit 79cb03bCopy full SHA for 79cb03b
modules/swagger-parser-v3/src/main/java/io/swagger/v3/parser/util/InlineModelResolver.java
@@ -5,6 +5,7 @@
5
import java.util.List;
6
import java.util.Map;
7
8
+import org.apache.commons.lang3.StringUtils;
9
import org.slf4j.Logger;
10
import org.slf4j.LoggerFactory;
11
@@ -416,7 +417,7 @@ private static String normalize(String pathPart)
416
417
}
418
419
private String resolveModelName(String title, String key) {
- if (title == null) {
420
+ if (StringUtils.isBlank(title)) {
421
return uniqueName(key);
422
} else {
423
return uniqueName(title);
0 commit comments