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 authored and jemacineiras committed Jun 5, 2023
1 parent ee991d2 commit f6bd580
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 f6bd580

Please sign in to comment.