Skip to content

Commit c290272

Browse files
committed
fixed typo on method
1 parent 44a5c4e commit c290272

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/swagger/codegen/v3/generators/DefaultCodegenConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4143,7 +4143,7 @@ public boolean isObjectSchema (Schema schema) {
41434143
if (schema.getType() == null && schema.getProperties() != null && !schema.getProperties().isEmpty()) {
41444144
return true;
41454145
}
4146-
if (StringUtils.isNoneEmpty(schema.get$ref())) {
4146+
if (StringUtils.isNotBlank(schema.get$ref())) {
41474147
Schema refSchema = OpenAPIUtil.getSchemaFromRefSchema(schema, openAPI);
41484148
if (refSchema != null) {
41494149
return isObjectSchema(refSchema);

0 commit comments

Comments
 (0)