Skip to content

Commit

Permalink
fix: fix parameter builder at document
Browse files Browse the repository at this point in the history
Signed-off-by: Otavio Santana <otaviopolianasantana@gmail.com>
  • Loading branch information
otaviojava committed Dec 4, 2023
1 parent 882dabe commit 82c8ec7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ private static ParameterConverter validateCollection(ParameterMetaData parameter
GenericParameterMetaData genericParameter = (GenericParameterMetaData) parameter;
Class<?> type = genericParameter.elementType();
if (entities.findByClassName(type.getName()).isPresent()) {
return ENTITY;
return COLLECTION;
}
return DEFAULT;
}
Expand Down

0 comments on commit 82c8ec7

Please sign in to comment.