@@ -825,8 +825,7 @@ open class IngestionClient {
825825
826826 var resourcePath = " /2/tasks/{taskID} "
827827 let taskIDPreEscape = " \( APIHelper . mapValueToPathItem ( taskID) ) "
828- let taskIDPostEscape = taskIDPreEscape
829- . addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
828+ let taskIDPostEscape = taskIDPreEscape. addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
830829 resourcePath = resourcePath. replacingOccurrences (
831830 of: " {taskID} " ,
832831 with: taskIDPostEscape,
@@ -885,8 +884,7 @@ open class IngestionClient {
885884
886885 var resourcePath = " /1/tasks/{taskID} "
887886 let taskIDPreEscape = " \( APIHelper . mapValueToPathItem ( taskID) ) "
888- let taskIDPostEscape = taskIDPreEscape
889- . addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
887+ let taskIDPostEscape = taskIDPreEscape. addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
890888 resourcePath = resourcePath. replacingOccurrences (
891889 of: " {taskID} " ,
892890 with: taskIDPostEscape,
@@ -1007,8 +1005,7 @@ open class IngestionClient {
10071005
10081006 var resourcePath = " /2/tasks/{taskID}/disable "
10091007 let taskIDPreEscape = " \( APIHelper . mapValueToPathItem ( taskID) ) "
1010- let taskIDPostEscape = taskIDPreEscape
1011- . addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
1008+ let taskIDPostEscape = taskIDPreEscape. addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
10121009 resourcePath = resourcePath. replacingOccurrences (
10131010 of: " {taskID} " ,
10141011 with: taskIDPostEscape,
@@ -1070,8 +1067,7 @@ open class IngestionClient {
10701067
10711068 var resourcePath = " /1/tasks/{taskID}/disable "
10721069 let taskIDPreEscape = " \( APIHelper . mapValueToPathItem ( taskID) ) "
1073- let taskIDPostEscape = taskIDPreEscape
1074- . addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
1070+ let taskIDPostEscape = taskIDPreEscape. addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
10751071 resourcePath = resourcePath. replacingOccurrences (
10761072 of: " {taskID} " ,
10771073 with: taskIDPostEscape,
@@ -1131,8 +1127,7 @@ open class IngestionClient {
11311127
11321128 var resourcePath = " /2/tasks/{taskID}/enable "
11331129 let taskIDPreEscape = " \( APIHelper . mapValueToPathItem ( taskID) ) "
1134- let taskIDPostEscape = taskIDPreEscape
1135- . addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
1130+ let taskIDPostEscape = taskIDPreEscape. addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
11361131 resourcePath = resourcePath. replacingOccurrences (
11371132 of: " {taskID} " ,
11381133 with: taskIDPostEscape,
@@ -1194,8 +1189,7 @@ open class IngestionClient {
11941189
11951190 var resourcePath = " /1/tasks/{taskID}/enable "
11961191 let taskIDPreEscape = " \( APIHelper . mapValueToPathItem ( taskID) ) "
1197- let taskIDPostEscape = taskIDPreEscape
1198- . addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
1192+ let taskIDPostEscape = taskIDPreEscape. addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
11991193 resourcePath = resourcePath. replacingOccurrences (
12001194 of: " {taskID} " ,
12011195 with: taskIDPostEscape,
@@ -1580,8 +1574,7 @@ open class IngestionClient {
15801574
15811575 var resourcePath = " /2/tasks/{taskID} "
15821576 let taskIDPreEscape = " \( APIHelper . mapValueToPathItem ( taskID) ) "
1583- let taskIDPostEscape = taskIDPreEscape
1584- . addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
1577+ let taskIDPostEscape = taskIDPreEscape. addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
15851578 resourcePath = resourcePath. replacingOccurrences (
15861579 of: " {taskID} " ,
15871580 with: taskIDPostEscape,
@@ -1640,8 +1633,7 @@ open class IngestionClient {
16401633
16411634 var resourcePath = " /1/tasks/{taskID} "
16421635 let taskIDPreEscape = " \( APIHelper . mapValueToPathItem ( taskID) ) "
1643- let taskIDPostEscape = taskIDPreEscape
1644- . addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
1636+ let taskIDPostEscape = taskIDPreEscape. addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
16451637 resourcePath = resourcePath. replacingOccurrences (
16461638 of: " {taskID} " ,
16471639 with: taskIDPostEscape,
@@ -2703,8 +2695,7 @@ open class IngestionClient {
27032695
27042696 var resourcePath = " /2/tasks/{taskID}/push "
27052697 let taskIDPreEscape = " \( APIHelper . mapValueToPathItem ( taskID) ) "
2706- let taskIDPostEscape = taskIDPreEscape
2707- . addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
2698+ let taskIDPostEscape = taskIDPreEscape. addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
27082699 resourcePath = resourcePath. replacingOccurrences (
27092700 of: " {taskID} " ,
27102701 with: taskIDPostEscape,
@@ -2848,8 +2839,7 @@ open class IngestionClient {
28482839
28492840 var resourcePath = " /2/tasks/{taskID}/run "
28502841 let taskIDPreEscape = " \( APIHelper . mapValueToPathItem ( taskID) ) "
2851- let taskIDPostEscape = taskIDPreEscape
2852- . addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
2842+ let taskIDPostEscape = taskIDPreEscape. addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
28532843 resourcePath = resourcePath. replacingOccurrences (
28542844 of: " {taskID} " ,
28552845 with: taskIDPostEscape,
@@ -2921,8 +2911,7 @@ open class IngestionClient {
29212911
29222912 var resourcePath = " /1/tasks/{taskID}/run "
29232913 let taskIDPreEscape = " \( APIHelper . mapValueToPathItem ( taskID) ) "
2924- let taskIDPostEscape = taskIDPreEscape
2925- . addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
2914+ let taskIDPostEscape = taskIDPreEscape. addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
29262915 resourcePath = resourcePath. replacingOccurrences (
29272916 of: " {taskID} " ,
29282917 with: taskIDPostEscape,
@@ -3691,8 +3680,7 @@ open class IngestionClient {
36913680
36923681 var resourcePath = " /2/tasks/{taskID} "
36933682 let taskIDPreEscape = " \( APIHelper . mapValueToPathItem ( taskID) ) "
3694- let taskIDPostEscape = taskIDPreEscape
3695- . addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
3683+ let taskIDPostEscape = taskIDPreEscape. addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
36963684 resourcePath = resourcePath. replacingOccurrences (
36973685 of: " {taskID} " ,
36983686 with: taskIDPostEscape,
@@ -3760,8 +3748,7 @@ open class IngestionClient {
37603748
37613749 var resourcePath = " /1/tasks/{taskID} "
37623750 let taskIDPreEscape = " \( APIHelper . mapValueToPathItem ( taskID) ) "
3763- let taskIDPostEscape = taskIDPreEscape
3764- . addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
3751+ let taskIDPostEscape = taskIDPreEscape. addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
37653752 resourcePath = resourcePath. replacingOccurrences (
37663753 of: " {taskID} " ,
37673754 with: taskIDPostEscape,
0 commit comments