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 44a5c4e commit c290272Copy full SHA for c290272
src/main/java/io/swagger/codegen/v3/generators/DefaultCodegenConfig.java
@@ -4143,7 +4143,7 @@ public boolean isObjectSchema (Schema schema) {
4143
if (schema.getType() == null && schema.getProperties() != null && !schema.getProperties().isEmpty()) {
4144
return true;
4145
}
4146
- if (StringUtils.isNoneEmpty(schema.get$ref())) {
+ if (StringUtils.isNotBlank(schema.get$ref())) {
4147
Schema refSchema = OpenAPIUtil.getSchemaFromRefSchema(schema, openAPI);
4148
if (refSchema != null) {
4149
return isObjectSchema(refSchema);
0 commit comments