@@ -825,8 +825,7 @@ open class IngestionClient {
825
825
826
826
var resourcePath = " /2/tasks/{taskID} "
827
827
let taskIDPreEscape = " \( APIHelper . mapValueToPathItem ( taskID) ) "
828
- let taskIDPostEscape = taskIDPreEscape
829
- . addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
828
+ let taskIDPostEscape = taskIDPreEscape. addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
830
829
resourcePath = resourcePath. replacingOccurrences (
831
830
of: " {taskID} " ,
832
831
with: taskIDPostEscape,
@@ -885,8 +884,7 @@ open class IngestionClient {
885
884
886
885
var resourcePath = " /1/tasks/{taskID} "
887
886
let taskIDPreEscape = " \( APIHelper . mapValueToPathItem ( taskID) ) "
888
- let taskIDPostEscape = taskIDPreEscape
889
- . addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
887
+ let taskIDPostEscape = taskIDPreEscape. addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
890
888
resourcePath = resourcePath. replacingOccurrences (
891
889
of: " {taskID} " ,
892
890
with: taskIDPostEscape,
@@ -1007,8 +1005,7 @@ open class IngestionClient {
1007
1005
1008
1006
var resourcePath = " /2/tasks/{taskID}/disable "
1009
1007
let taskIDPreEscape = " \( APIHelper . mapValueToPathItem ( taskID) ) "
1010
- let taskIDPostEscape = taskIDPreEscape
1011
- . addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
1008
+ let taskIDPostEscape = taskIDPreEscape. addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
1012
1009
resourcePath = resourcePath. replacingOccurrences (
1013
1010
of: " {taskID} " ,
1014
1011
with: taskIDPostEscape,
@@ -1070,8 +1067,7 @@ open class IngestionClient {
1070
1067
1071
1068
var resourcePath = " /1/tasks/{taskID}/disable "
1072
1069
let taskIDPreEscape = " \( APIHelper . mapValueToPathItem ( taskID) ) "
1073
- let taskIDPostEscape = taskIDPreEscape
1074
- . addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
1070
+ let taskIDPostEscape = taskIDPreEscape. addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
1075
1071
resourcePath = resourcePath. replacingOccurrences (
1076
1072
of: " {taskID} " ,
1077
1073
with: taskIDPostEscape,
@@ -1131,8 +1127,7 @@ open class IngestionClient {
1131
1127
1132
1128
var resourcePath = " /2/tasks/{taskID}/enable "
1133
1129
let taskIDPreEscape = " \( APIHelper . mapValueToPathItem ( taskID) ) "
1134
- let taskIDPostEscape = taskIDPreEscape
1135
- . addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
1130
+ let taskIDPostEscape = taskIDPreEscape. addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
1136
1131
resourcePath = resourcePath. replacingOccurrences (
1137
1132
of: " {taskID} " ,
1138
1133
with: taskIDPostEscape,
@@ -1194,8 +1189,7 @@ open class IngestionClient {
1194
1189
1195
1190
var resourcePath = " /1/tasks/{taskID}/enable "
1196
1191
let taskIDPreEscape = " \( APIHelper . mapValueToPathItem ( taskID) ) "
1197
- let taskIDPostEscape = taskIDPreEscape
1198
- . addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
1192
+ let taskIDPostEscape = taskIDPreEscape. addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
1199
1193
resourcePath = resourcePath. replacingOccurrences (
1200
1194
of: " {taskID} " ,
1201
1195
with: taskIDPostEscape,
@@ -1580,8 +1574,7 @@ open class IngestionClient {
1580
1574
1581
1575
var resourcePath = " /2/tasks/{taskID} "
1582
1576
let taskIDPreEscape = " \( APIHelper . mapValueToPathItem ( taskID) ) "
1583
- let taskIDPostEscape = taskIDPreEscape
1584
- . addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
1577
+ let taskIDPostEscape = taskIDPreEscape. addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
1585
1578
resourcePath = resourcePath. replacingOccurrences (
1586
1579
of: " {taskID} " ,
1587
1580
with: taskIDPostEscape,
@@ -1640,8 +1633,7 @@ open class IngestionClient {
1640
1633
1641
1634
var resourcePath = " /1/tasks/{taskID} "
1642
1635
let taskIDPreEscape = " \( APIHelper . mapValueToPathItem ( taskID) ) "
1643
- let taskIDPostEscape = taskIDPreEscape
1644
- . addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
1636
+ let taskIDPostEscape = taskIDPreEscape. addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
1645
1637
resourcePath = resourcePath. replacingOccurrences (
1646
1638
of: " {taskID} " ,
1647
1639
with: taskIDPostEscape,
@@ -2703,8 +2695,7 @@ open class IngestionClient {
2703
2695
2704
2696
var resourcePath = " /2/tasks/{taskID}/push "
2705
2697
let taskIDPreEscape = " \( APIHelper . mapValueToPathItem ( taskID) ) "
2706
- let taskIDPostEscape = taskIDPreEscape
2707
- . addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
2698
+ let taskIDPostEscape = taskIDPreEscape. addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
2708
2699
resourcePath = resourcePath. replacingOccurrences (
2709
2700
of: " {taskID} " ,
2710
2701
with: taskIDPostEscape,
@@ -2848,8 +2839,7 @@ open class IngestionClient {
2848
2839
2849
2840
var resourcePath = " /2/tasks/{taskID}/run "
2850
2841
let taskIDPreEscape = " \( APIHelper . mapValueToPathItem ( taskID) ) "
2851
- let taskIDPostEscape = taskIDPreEscape
2852
- . addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
2842
+ let taskIDPostEscape = taskIDPreEscape. addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
2853
2843
resourcePath = resourcePath. replacingOccurrences (
2854
2844
of: " {taskID} " ,
2855
2845
with: taskIDPostEscape,
@@ -2921,8 +2911,7 @@ open class IngestionClient {
2921
2911
2922
2912
var resourcePath = " /1/tasks/{taskID}/run "
2923
2913
let taskIDPreEscape = " \( APIHelper . mapValueToPathItem ( taskID) ) "
2924
- let taskIDPostEscape = taskIDPreEscape
2925
- . addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
2914
+ let taskIDPostEscape = taskIDPreEscape. addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
2926
2915
resourcePath = resourcePath. replacingOccurrences (
2927
2916
of: " {taskID} " ,
2928
2917
with: taskIDPostEscape,
@@ -3691,8 +3680,7 @@ open class IngestionClient {
3691
3680
3692
3681
var resourcePath = " /2/tasks/{taskID} "
3693
3682
let taskIDPreEscape = " \( APIHelper . mapValueToPathItem ( taskID) ) "
3694
- let taskIDPostEscape = taskIDPreEscape
3695
- . addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
3683
+ let taskIDPostEscape = taskIDPreEscape. addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
3696
3684
resourcePath = resourcePath. replacingOccurrences (
3697
3685
of: " {taskID} " ,
3698
3686
with: taskIDPostEscape,
@@ -3760,8 +3748,7 @@ open class IngestionClient {
3760
3748
3761
3749
var resourcePath = " /1/tasks/{taskID} "
3762
3750
let taskIDPreEscape = " \( APIHelper . mapValueToPathItem ( taskID) ) "
3763
- let taskIDPostEscape = taskIDPreEscape
3764
- . addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
3751
+ let taskIDPostEscape = taskIDPreEscape. addingPercentEncoding ( withAllowedCharacters: . urlPathAlgoliaAllowed) ?? " "
3765
3752
resourcePath = resourcePath. replacingOccurrences (
3766
3753
of: " {taskID} " ,
3767
3754
with: taskIDPostEscape,
0 commit comments