Skip to content

Commit

Permalink
#160 Change To Avoid Empty Type When Introduce a Object With String
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianLagartera committed Jun 2, 2023
1 parent f04e272 commit 61ed6d8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ private static void setFieldType(final SchemaFieldObject field, final JsonNode v
field.setImportClass(getImportClass(typeMap));*/

} else if (ApiTool.isObject(value)) {
var typeObject = "";
var typeObject = ApiTool.getType(value);
if (ApiTool.hasRef(value)) {
typeObject = getRef(schema, specFile);
}
Expand Down

0 comments on commit 61ed6d8

Please sign in to comment.