Skip to content

Commit 74f35aa

Browse files
committed
chore: review
1 parent 5a56f82 commit 74f35aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generators/src/main/java/com/algolia/codegen/utils/ModelPruner.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public static Map<String, Object> removeOrphanFromModels(CodegenConfig config, M
134134

135135
List<String> toRemove = getOrphanModelNames(
136136
config,
137-
(OperationsMap) ((Map<String, List>) data.get("apiInfo")).get("apis").get(0),
137+
((Map<String, List<OperationsMap>>) data.get("apiInfo")).get("apis").get(0),
138138
models
139139
);
140140

0 commit comments

Comments
 (0)