Skip to content

Commit 765a4ef

Browse files
Merge pull request #703 from commercetools/gen-sdk-updates
Update generated SDKs
2 parents 5fdde6c + 63d35d2 commit 765a4ef

File tree

725 files changed

+1280
-851
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

725 files changed

+1280
-851
lines changed

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyApiClientsByIDDelete.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ public ByProjectKeyApiClientsByIDDelete(ByProjectKeyApiClientsByIDDelete t) {
6060
@Override
6161
protected ApiHttpRequest buildHttpRequest() {
6262
List<String> params = new ArrayList<>(getQueryParamUriStrings());
63-
String httpRequestPath = String.format("%s/api-clients/%s", this.projectKey, this.ID);
63+
String httpRequestPath = String.format("%s/api-clients/%s", encodePathParam(this.projectKey),
64+
encodePathParam(this.ID));
6465
if (!params.isEmpty()) {
6566
httpRequestPath += "?" + String.join("&", params);
6667
}

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyApiClientsByIDGet.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ public ByProjectKeyApiClientsByIDGet(ByProjectKeyApiClientsByIDGet t) {
6060
@Override
6161
protected ApiHttpRequest buildHttpRequest() {
6262
List<String> params = new ArrayList<>(getQueryParamUriStrings());
63-
String httpRequestPath = String.format("%s/api-clients/%s", this.projectKey, this.ID);
63+
String httpRequestPath = String.format("%s/api-clients/%s", encodePathParam(this.projectKey),
64+
encodePathParam(this.ID));
6465
if (!params.isEmpty()) {
6566
httpRequestPath += "?" + String.join("&", params);
6667
}

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyApiClientsByIDHead.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ public ByProjectKeyApiClientsByIDHead(ByProjectKeyApiClientsByIDHead t) {
6060
@Override
6161
protected ApiHttpRequest buildHttpRequest() {
6262
List<String> params = new ArrayList<>(getQueryParamUriStrings());
63-
String httpRequestPath = String.format("%s/api-clients/%s", this.projectKey, this.ID);
63+
String httpRequestPath = String.format("%s/api-clients/%s", encodePathParam(this.projectKey),
64+
encodePathParam(this.ID));
6465
if (!params.isEmpty()) {
6566
httpRequestPath += "?" + String.join("&", params);
6667
}

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyApiClientsGet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public ByProjectKeyApiClientsGet(ByProjectKeyApiClientsGet t) {
6565
@Override
6666
protected ApiHttpRequest buildHttpRequest() {
6767
List<String> params = new ArrayList<>(getQueryParamUriStrings());
68-
String httpRequestPath = String.format("%s/api-clients", this.projectKey);
68+
String httpRequestPath = String.format("%s/api-clients", encodePathParam(this.projectKey));
6969
if (!params.isEmpty()) {
7070
httpRequestPath += "?" + String.join("&", params);
7171
}

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyApiClientsHead.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public ByProjectKeyApiClientsHead(ByProjectKeyApiClientsHead t) {
6060
@Override
6161
protected ApiHttpRequest buildHttpRequest() {
6262
List<String> params = new ArrayList<>(getQueryParamUriStrings());
63-
String httpRequestPath = String.format("%s/api-clients", this.projectKey);
63+
String httpRequestPath = String.format("%s/api-clients", encodePathParam(this.projectKey));
6464
if (!params.isEmpty()) {
6565
httpRequestPath += "?" + String.join("&", params);
6666
}

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyApiClientsPost.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public ByProjectKeyApiClientsPost(ByProjectKeyApiClientsPost t) {
6666
@Override
6767
protected ApiHttpRequest buildHttpRequest() {
6868
List<String> params = new ArrayList<>(getQueryParamUriStrings());
69-
String httpRequestPath = String.format("%s/api-clients", this.projectKey);
69+
String httpRequestPath = String.format("%s/api-clients", encodePathParam(this.projectKey));
7070
if (!params.isEmpty()) {
7171
httpRequestPath += "?" + String.join("&", params);
7272
}

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDGet.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ public ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDGet(
7373
@Override
7474
protected ApiHttpRequest buildHttpRequest() {
7575
List<String> params = new ArrayList<>(getQueryParamUriStrings());
76-
String httpRequestPath = String.format("%s/as-associate/%s/business-units/%s", this.projectKey,
77-
this.associateId, this.ID);
76+
String httpRequestPath = String.format("%s/as-associate/%s/business-units/%s", encodePathParam(this.projectKey),
77+
encodePathParam(this.associateId), encodePathParam(this.ID));
7878
if (!params.isEmpty()) {
7979
httpRequestPath += "?" + String.join("&", params);
8080
}

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDHead.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ public ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDHead(
6868
@Override
6969
protected ApiHttpRequest buildHttpRequest() {
7070
List<String> params = new ArrayList<>(getQueryParamUriStrings());
71-
String httpRequestPath = String.format("%s/as-associate/%s/business-units/%s", this.projectKey,
72-
this.associateId, this.ID);
71+
String httpRequestPath = String.format("%s/as-associate/%s/business-units/%s", encodePathParam(this.projectKey),
72+
encodePathParam(this.associateId), encodePathParam(this.ID));
7373
if (!params.isEmpty()) {
7474
httpRequestPath += "?" + String.join("&", params);
7575
}

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDPost.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ public ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDPost(
7979
@Override
8080
protected ApiHttpRequest buildHttpRequest() {
8181
List<String> params = new ArrayList<>(getQueryParamUriStrings());
82-
String httpRequestPath = String.format("%s/as-associate/%s/business-units/%s", this.projectKey,
83-
this.associateId, this.ID);
82+
String httpRequestPath = String.format("%s/as-associate/%s/business-units/%s", encodePathParam(this.projectKey),
83+
encodePathParam(this.associateId), encodePathParam(this.ID));
8484
if (!params.isEmpty()) {
8585
httpRequestPath += "?" + String.join("&", params);
8686
}

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsGet.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ public ByProjectKeyAsAssociateByAssociateIdBusinessUnitsGet(
7272
@Override
7373
protected ApiHttpRequest buildHttpRequest() {
7474
List<String> params = new ArrayList<>(getQueryParamUriStrings());
75-
String httpRequestPath = String.format("%s/as-associate/%s/business-units", this.projectKey, this.associateId);
75+
String httpRequestPath = String.format("%s/as-associate/%s/business-units", encodePathParam(this.projectKey),
76+
encodePathParam(this.associateId));
7677
if (!params.isEmpty()) {
7778
httpRequestPath += "?" + String.join("&", params);
7879
}

0 commit comments

Comments
 (0)