Skip to content

Commit

Permalink
fix(swift): prefix Task and LogLevel models with the client names (
Browse files Browse the repository at this point in the history
  • Loading branch information
Fluf22 authored Nov 19, 2024
1 parent f8a1da7 commit 989a727
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ public class AlgoliaSwiftGenerator extends Swift5ClientCodegen {
"indexsettingsassearchparams",
"insideboundingbox",
"languages",
"loglevel",
"matchedgeolocation",
"matchlevel",
"mode",
Expand Down Expand Up @@ -111,6 +112,7 @@ public class AlgoliaSwiftGenerator extends Swift5ClientCodegen {
"status",
"supportedlanguage",
"tagfilters",
"task",
"taskstatus",
"timerange",
"typotolerance",
Expand Down Expand Up @@ -241,7 +243,6 @@ public void processOpts() {
file.getTemplateFile().equals("Podspec.mustache")
);

reservedWords.add("LogLevel");
nameMapping.put("appId", "appID");

setProjectName(getClientName(CLIENT));
Expand Down

0 comments on commit 989a727

Please sign in to comment.