From 63d35d2ca772433edc4a55dfd2380e0aa49b60e3 Mon Sep 17 00:00:00 2001 From: "ct-sdks[bot]" <153784748+ct-sdks[bot]@users.noreply.github.com> Date: Tue, 6 Aug 2024 09:48:19 +0000 Subject: [PATCH] build(codegen): updating SDK --- .../api/client/ByProjectKeyApiClientsByIDDelete.java | 3 ++- .../api/client/ByProjectKeyApiClientsByIDGet.java | 3 ++- .../api/client/ByProjectKeyApiClientsByIDHead.java | 3 ++- .../commercetools/api/client/ByProjectKeyApiClientsGet.java | 2 +- .../commercetools/api/client/ByProjectKeyApiClientsHead.java | 2 +- .../commercetools/api/client/ByProjectKeyApiClientsPost.java | 2 +- ...ojectKeyAsAssociateByAssociateIdBusinessUnitsByIDGet.java | 4 ++-- ...jectKeyAsAssociateByAssociateIdBusinessUnitsByIDHead.java | 4 ++-- ...jectKeyAsAssociateByAssociateIdBusinessUnitsByIDPost.java | 4 ++-- ...ByProjectKeyAsAssociateByAssociateIdBusinessUnitsGet.java | 3 ++- ...yProjectKeyAsAssociateByAssociateIdBusinessUnitsHead.java | 3 ++- ...tKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyGet.java | 4 ++-- ...KeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyHead.java | 4 ++-- ...KeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyPost.java | 4 ++-- ...yProjectKeyAsAssociateByAssociateIdBusinessUnitsPost.java | 3 ++- ...BusinessUnitKeyByBusinessUnitKeyApprovalFlowsByIDGet.java | 3 ++- ...usinessUnitKeyByBusinessUnitKeyApprovalFlowsByIDPost.java | 3 ++- ...IdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsGet.java | 2 +- ...BusinessUnitKeyByBusinessUnitKeyApprovalRulesByIDGet.java | 3 ++- ...usinessUnitKeyByBusinessUnitKeyApprovalRulesByIDPost.java | 3 ++- ...IdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesGet.java | 2 +- ...nessUnitKeyByBusinessUnitKeyApprovalRulesKeyByKeyGet.java | 3 ++- ...essUnitKeyByBusinessUnitKeyApprovalRulesKeyByKeyPost.java | 3 ++- ...dInBusinessUnitKeyByBusinessUnitKeyApprovalRulesPost.java | 2 +- ...eIdInBusinessUnitKeyByBusinessUnitKeyCartsByIDDelete.java | 5 +++-- ...iateIdInBusinessUnitKeyByBusinessUnitKeyCartsByIDGet.java | 5 +++-- ...ateIdInBusinessUnitKeyByBusinessUnitKeyCartsByIDHead.java | 5 +++-- ...ateIdInBusinessUnitKeyByBusinessUnitKeyCartsByIDPost.java | 5 +++-- ...ssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsGet.java | 4 ++-- ...sociateIdInBusinessUnitKeyByBusinessUnitKeyCartsHead.java | 4 ++-- ...nBusinessUnitKeyByBusinessUnitKeyCartsKeyByKeyDelete.java | 3 ++- ...IdInBusinessUnitKeyByBusinessUnitKeyCartsKeyByKeyGet.java | 3 ++- ...dInBusinessUnitKeyByBusinessUnitKeyCartsKeyByKeyHead.java | 3 ++- ...dInBusinessUnitKeyByBusinessUnitKeyCartsKeyByKeyPost.java | 3 ++- ...sociateIdInBusinessUnitKeyByBusinessUnitKeyCartsPost.java | 4 ++-- ...InBusinessUnitKeyByBusinessUnitKeyCartsReplicatePost.java | 2 +- ...ateIdInBusinessUnitKeyByBusinessUnitKeyOrdersByIDGet.java | 5 +++-- ...teIdInBusinessUnitKeyByBusinessUnitKeyOrdersByIDHead.java | 5 +++-- ...teIdInBusinessUnitKeyByBusinessUnitKeyOrdersByIDPost.java | 5 +++-- ...sociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersGet.java | 4 ++-- ...ociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersHead.java | 4 ++-- ...eyByBusinessUnitKeyOrdersOrderNumberByOrderNumberGet.java | 3 ++- ...yByBusinessUnitKeyOrdersOrderNumberByOrderNumberHead.java | 3 ++- ...yByBusinessUnitKeyOrdersOrderNumberByOrderNumberPost.java | 3 ++- ...ociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersPost.java | 4 ++-- ...IdInBusinessUnitKeyByBusinessUnitKeyOrdersQuotesPost.java | 2 +- ...BusinessUnitKeyByBusinessUnitKeyQuoteRequestsByIDGet.java | 3 ++- ...usinessUnitKeyByBusinessUnitKeyQuoteRequestsByIDHead.java | 3 ++- ...usinessUnitKeyByBusinessUnitKeyQuoteRequestsByIDPost.java | 3 ++- ...IdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsGet.java | 2 +- ...dInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsHead.java | 2 +- ...nessUnitKeyByBusinessUnitKeyQuoteRequestsKeyByKeyGet.java | 3 ++- ...essUnitKeyByBusinessUnitKeyQuoteRequestsKeyByKeyHead.java | 3 ++- ...essUnitKeyByBusinessUnitKeyQuoteRequestsKeyByKeyPost.java | 3 ++- ...dInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsPost.java | 2 +- ...ateIdInBusinessUnitKeyByBusinessUnitKeyQuotesByIDGet.java | 5 +++-- ...teIdInBusinessUnitKeyByBusinessUnitKeyQuotesByIDHead.java | 5 +++-- ...teIdInBusinessUnitKeyByBusinessUnitKeyQuotesByIDPost.java | 5 +++-- ...sociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesGet.java | 4 ++-- ...ociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesHead.java | 4 ++-- ...dInBusinessUnitKeyByBusinessUnitKeyQuotesKeyByKeyGet.java | 3 ++- ...InBusinessUnitKeyByBusinessUnitKeyQuotesKeyByKeyHead.java | 3 ++- ...InBusinessUnitKeyByBusinessUnitKeyQuotesKeyByKeyPost.java | 3 ++- .../api/client/ByProjectKeyAssociateRolesByIDDelete.java | 3 ++- .../api/client/ByProjectKeyAssociateRolesByIDGet.java | 3 ++- .../api/client/ByProjectKeyAssociateRolesByIDHead.java | 3 ++- .../api/client/ByProjectKeyAssociateRolesByIDPost.java | 3 ++- .../api/client/ByProjectKeyAssociateRolesGet.java | 2 +- .../api/client/ByProjectKeyAssociateRolesHead.java | 2 +- .../api/client/ByProjectKeyAssociateRolesKeyByKeyDelete.java | 3 ++- .../api/client/ByProjectKeyAssociateRolesKeyByKeyGet.java | 3 ++- .../api/client/ByProjectKeyAssociateRolesKeyByKeyHead.java | 3 ++- .../api/client/ByProjectKeyAssociateRolesKeyByKeyPost.java | 3 ++- .../api/client/ByProjectKeyAssociateRolesPost.java | 2 +- .../api/client/ByProjectKeyAttributeGroupsByIDDelete.java | 3 ++- .../api/client/ByProjectKeyAttributeGroupsByIDGet.java | 3 ++- .../api/client/ByProjectKeyAttributeGroupsByIDHead.java | 3 ++- .../api/client/ByProjectKeyAttributeGroupsByIDPost.java | 3 ++- .../api/client/ByProjectKeyAttributeGroupsGet.java | 2 +- .../api/client/ByProjectKeyAttributeGroupsHead.java | 2 +- .../client/ByProjectKeyAttributeGroupsKeyByKeyDelete.java | 3 ++- .../api/client/ByProjectKeyAttributeGroupsKeyByKeyGet.java | 3 ++- .../api/client/ByProjectKeyAttributeGroupsKeyByKeyHead.java | 3 ++- .../api/client/ByProjectKeyAttributeGroupsKeyByKeyPost.java | 3 ++- .../api/client/ByProjectKeyAttributeGroupsPost.java | 2 +- .../api/client/ByProjectKeyBusinessUnitsByIDDelete.java | 3 ++- .../api/client/ByProjectKeyBusinessUnitsByIDGet.java | 3 ++- .../api/client/ByProjectKeyBusinessUnitsByIDHead.java | 3 ++- .../api/client/ByProjectKeyBusinessUnitsByIDPost.java | 3 ++- .../api/client/ByProjectKeyBusinessUnitsGet.java | 2 +- .../api/client/ByProjectKeyBusinessUnitsHead.java | 2 +- .../api/client/ByProjectKeyBusinessUnitsKeyByKeyDelete.java | 3 ++- .../api/client/ByProjectKeyBusinessUnitsKeyByKeyGet.java | 3 ++- .../api/client/ByProjectKeyBusinessUnitsKeyByKeyHead.java | 3 ++- .../api/client/ByProjectKeyBusinessUnitsKeyByKeyPost.java | 3 ++- .../api/client/ByProjectKeyBusinessUnitsPost.java | 2 +- .../api/client/ByProjectKeyCartDiscountsByIDDelete.java | 3 ++- .../api/client/ByProjectKeyCartDiscountsByIDGet.java | 3 ++- .../api/client/ByProjectKeyCartDiscountsByIDHead.java | 3 ++- .../api/client/ByProjectKeyCartDiscountsByIDPost.java | 3 ++- .../api/client/ByProjectKeyCartDiscountsGet.java | 2 +- .../api/client/ByProjectKeyCartDiscountsHead.java | 2 +- .../api/client/ByProjectKeyCartDiscountsKeyByKeyDelete.java | 3 ++- .../api/client/ByProjectKeyCartDiscountsKeyByKeyGet.java | 3 ++- .../api/client/ByProjectKeyCartDiscountsKeyByKeyHead.java | 3 ++- .../api/client/ByProjectKeyCartDiscountsKeyByKeyPost.java | 3 ++- .../api/client/ByProjectKeyCartDiscountsPost.java | 2 +- .../api/client/ByProjectKeyCartsByIDDelete.java | 3 ++- .../commercetools/api/client/ByProjectKeyCartsByIDGet.java | 3 ++- .../commercetools/api/client/ByProjectKeyCartsByIDHead.java | 3 ++- .../commercetools/api/client/ByProjectKeyCartsByIDPost.java | 3 ++- .../client/ByProjectKeyCartsCustomerIdByCustomerIdGet.java | 3 ++- .../client/ByProjectKeyCartsCustomerIdByCustomerIdHead.java | 3 ++- .../com/commercetools/api/client/ByProjectKeyCartsGet.java | 2 +- .../com/commercetools/api/client/ByProjectKeyCartsHead.java | 2 +- .../api/client/ByProjectKeyCartsKeyByKeyDelete.java | 3 ++- .../api/client/ByProjectKeyCartsKeyByKeyGet.java | 3 ++- .../api/client/ByProjectKeyCartsKeyByKeyHead.java | 3 ++- .../api/client/ByProjectKeyCartsKeyByKeyPost.java | 3 ++- .../com/commercetools/api/client/ByProjectKeyCartsPost.java | 2 +- .../api/client/ByProjectKeyCartsReplicatePost.java | 2 +- .../api/client/ByProjectKeyCategoriesByIDDelete.java | 3 ++- .../api/client/ByProjectKeyCategoriesByIDGet.java | 3 ++- .../api/client/ByProjectKeyCategoriesByIDHead.java | 3 ++- .../api/client/ByProjectKeyCategoriesByIDPost.java | 3 ++- .../commercetools/api/client/ByProjectKeyCategoriesGet.java | 2 +- .../commercetools/api/client/ByProjectKeyCategoriesHead.java | 2 +- .../api/client/ByProjectKeyCategoriesKeyByKeyDelete.java | 3 ++- .../api/client/ByProjectKeyCategoriesKeyByKeyGet.java | 3 ++- .../api/client/ByProjectKeyCategoriesKeyByKeyHead.java | 3 ++- .../api/client/ByProjectKeyCategoriesKeyByKeyPost.java | 3 ++- .../commercetools/api/client/ByProjectKeyCategoriesPost.java | 2 +- .../api/client/ByProjectKeyChannelsByIDDelete.java | 3 ++- .../api/client/ByProjectKeyChannelsByIDGet.java | 3 ++- .../api/client/ByProjectKeyChannelsByIDHead.java | 3 ++- .../api/client/ByProjectKeyChannelsByIDPost.java | 3 ++- .../commercetools/api/client/ByProjectKeyChannelsGet.java | 2 +- .../commercetools/api/client/ByProjectKeyChannelsHead.java | 2 +- .../commercetools/api/client/ByProjectKeyChannelsPost.java | 2 +- .../ByProjectKeyCustomObjectsByContainerByKeyDelete.java | 3 ++- .../client/ByProjectKeyCustomObjectsByContainerByKeyGet.java | 3 ++- .../api/client/ByProjectKeyCustomObjectsByContainerGet.java | 3 ++- .../api/client/ByProjectKeyCustomObjectsGet.java | 2 +- .../api/client/ByProjectKeyCustomObjectsHead.java | 2 +- .../api/client/ByProjectKeyCustomObjectsPost.java | 2 +- .../api/client/ByProjectKeyCustomerGroupsByIDDelete.java | 3 ++- .../api/client/ByProjectKeyCustomerGroupsByIDGet.java | 3 ++- .../api/client/ByProjectKeyCustomerGroupsByIDHead.java | 3 ++- .../api/client/ByProjectKeyCustomerGroupsByIDPost.java | 3 ++- .../api/client/ByProjectKeyCustomerGroupsGet.java | 2 +- .../api/client/ByProjectKeyCustomerGroupsHead.java | 2 +- .../api/client/ByProjectKeyCustomerGroupsKeyByKeyDelete.java | 3 ++- .../api/client/ByProjectKeyCustomerGroupsKeyByKeyGet.java | 3 ++- .../api/client/ByProjectKeyCustomerGroupsKeyByKeyHead.java | 3 ++- .../api/client/ByProjectKeyCustomerGroupsKeyByKeyPost.java | 3 ++- .../api/client/ByProjectKeyCustomerGroupsPost.java | 2 +- .../api/client/ByProjectKeyCustomersByIDDelete.java | 3 ++- .../api/client/ByProjectKeyCustomersByIDGet.java | 3 ++- .../api/client/ByProjectKeyCustomersByIDHead.java | 3 ++- .../api/client/ByProjectKeyCustomersByIDPost.java | 3 ++- .../api/client/ByProjectKeyCustomersEmailConfirmPost.java | 2 +- .../ByProjectKeyCustomersEmailTokenByEmailTokenGet.java | 3 ++- .../api/client/ByProjectKeyCustomersEmailTokenPost.java | 2 +- .../commercetools/api/client/ByProjectKeyCustomersGet.java | 2 +- .../commercetools/api/client/ByProjectKeyCustomersHead.java | 2 +- .../api/client/ByProjectKeyCustomersKeyByKeyDelete.java | 3 ++- .../api/client/ByProjectKeyCustomersKeyByKeyGet.java | 3 ++- .../api/client/ByProjectKeyCustomersKeyByKeyHead.java | 3 ++- .../api/client/ByProjectKeyCustomersKeyByKeyPost.java | 3 ++- .../api/client/ByProjectKeyCustomersPasswordPost.java | 2 +- .../api/client/ByProjectKeyCustomersPasswordResetPost.java | 2 +- ...ByProjectKeyCustomersPasswordTokenByPasswordTokenGet.java | 3 ++- .../api/client/ByProjectKeyCustomersPasswordTokenPost.java | 2 +- .../commercetools/api/client/ByProjectKeyCustomersPost.java | 2 +- .../api/client/ByProjectKeyCustomersSearchHead.java | 2 +- .../client/ByProjectKeyCustomersSearchIndexingStatusGet.java | 2 +- .../api/client/ByProjectKeyCustomersSearchPost.java | 2 +- .../api/client/ByProjectKeyDiscountCodesByIDDelete.java | 3 ++- .../api/client/ByProjectKeyDiscountCodesByIDGet.java | 3 ++- .../api/client/ByProjectKeyDiscountCodesByIDHead.java | 3 ++- .../api/client/ByProjectKeyDiscountCodesByIDPost.java | 3 ++- .../api/client/ByProjectKeyDiscountCodesGet.java | 2 +- .../api/client/ByProjectKeyDiscountCodesHead.java | 2 +- .../api/client/ByProjectKeyDiscountCodesKeyByKeyDelete.java | 3 ++- .../api/client/ByProjectKeyDiscountCodesKeyByKeyGet.java | 3 ++- .../api/client/ByProjectKeyDiscountCodesKeyByKeyHead.java | 3 ++- .../api/client/ByProjectKeyDiscountCodesKeyByKeyPost.java | 3 ++- .../api/client/ByProjectKeyDiscountCodesPost.java | 2 +- .../api/client/ByProjectKeyExtensionsByIDDelete.java | 3 ++- .../api/client/ByProjectKeyExtensionsByIDGet.java | 3 ++- .../api/client/ByProjectKeyExtensionsByIDHead.java | 3 ++- .../api/client/ByProjectKeyExtensionsByIDPost.java | 3 ++- .../commercetools/api/client/ByProjectKeyExtensionsGet.java | 2 +- .../commercetools/api/client/ByProjectKeyExtensionsHead.java | 2 +- .../api/client/ByProjectKeyExtensionsKeyByKeyDelete.java | 3 ++- .../api/client/ByProjectKeyExtensionsKeyByKeyGet.java | 3 ++- .../api/client/ByProjectKeyExtensionsKeyByKeyHead.java | 3 ++- .../api/client/ByProjectKeyExtensionsKeyByKeyPost.java | 3 ++- .../commercetools/api/client/ByProjectKeyExtensionsPost.java | 2 +- .../com/commercetools/api/client/ByProjectKeyGet.java | 2 +- .../commercetools/api/client/ByProjectKeyGraphqlPost.java | 2 +- .../com/commercetools/api/client/ByProjectKeyHead.java | 2 +- ...KeyInBusinessUnitKeyByBusinessUnitKeyMeCustomersPost.java | 4 ++-- ...rojectKeyInStoreKeyByStoreKeyCartDiscountsByIDDelete.java | 4 ++-- ...ByProjectKeyInStoreKeyByStoreKeyCartDiscountsByIDGet.java | 4 ++-- ...yProjectKeyInStoreKeyByStoreKeyCartDiscountsByIDHead.java | 4 ++-- ...yProjectKeyInStoreKeyByStoreKeyCartDiscountsByIDPost.java | 4 ++-- .../ByProjectKeyInStoreKeyByStoreKeyCartDiscountsGet.java | 3 ++- .../ByProjectKeyInStoreKeyByStoreKeyCartDiscountsHead.java | 3 ++- ...ctKeyInStoreKeyByStoreKeyCartDiscountsKeyByKeyDelete.java | 4 ++-- ...ojectKeyInStoreKeyByStoreKeyCartDiscountsKeyByKeyGet.java | 4 ++-- ...jectKeyInStoreKeyByStoreKeyCartDiscountsKeyByKeyHead.java | 4 ++-- ...jectKeyInStoreKeyByStoreKeyCartDiscountsKeyByKeyPost.java | 4 ++-- .../ByProjectKeyInStoreKeyByStoreKeyCartDiscountsPost.java | 3 ++- .../ByProjectKeyInStoreKeyByStoreKeyCartsByIDDelete.java | 3 ++- .../client/ByProjectKeyInStoreKeyByStoreKeyCartsByIDGet.java | 3 ++- .../ByProjectKeyInStoreKeyByStoreKeyCartsByIDHead.java | 3 ++- .../ByProjectKeyInStoreKeyByStoreKeyCartsByIDPost.java | 3 ++- ...eyInStoreKeyByStoreKeyCartsCustomerIdByCustomerIdGet.java | 4 ++-- ...yInStoreKeyByStoreKeyCartsCustomerIdByCustomerIdHead.java | 4 ++-- .../api/client/ByProjectKeyInStoreKeyByStoreKeyCartsGet.java | 3 ++- .../client/ByProjectKeyInStoreKeyByStoreKeyCartsHead.java | 3 ++- .../ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyDelete.java | 4 ++-- .../ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyGet.java | 4 ++-- .../ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyHead.java | 4 ++-- .../ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyPost.java | 4 ++-- .../client/ByProjectKeyInStoreKeyByStoreKeyCartsPost.java | 3 ++- .../ByProjectKeyInStoreKeyByStoreKeyCartsReplicatePost.java | 3 ++- .../ByProjectKeyInStoreKeyByStoreKeyCustomersByIDDelete.java | 4 ++-- .../ByProjectKeyInStoreKeyByStoreKeyCustomersByIDGet.java | 4 ++-- .../ByProjectKeyInStoreKeyByStoreKeyCustomersByIDHead.java | 4 ++-- .../ByProjectKeyInStoreKeyByStoreKeyCustomersByIDPost.java | 4 ++-- ...jectKeyInStoreKeyByStoreKeyCustomersEmailConfirmPost.java | 4 ++-- ...StoreKeyByStoreKeyCustomersEmailTokenByEmailTokenGet.java | 4 ++-- ...rojectKeyInStoreKeyByStoreKeyCustomersEmailTokenPost.java | 4 ++-- .../client/ByProjectKeyInStoreKeyByStoreKeyCustomersGet.java | 3 ++- .../ByProjectKeyInStoreKeyByStoreKeyCustomersHead.java | 3 ++- ...rojectKeyInStoreKeyByStoreKeyCustomersKeyByKeyDelete.java | 4 ++-- ...ByProjectKeyInStoreKeyByStoreKeyCustomersKeyByKeyGet.java | 4 ++-- ...yProjectKeyInStoreKeyByStoreKeyCustomersKeyByKeyHead.java | 4 ++-- ...yProjectKeyInStoreKeyByStoreKeyCustomersKeyByKeyPost.java | 4 ++-- ...yProjectKeyInStoreKeyByStoreKeyCustomersPasswordPost.java | 3 ++- ...ectKeyInStoreKeyByStoreKeyCustomersPasswordResetPost.java | 4 ++-- ...eyByStoreKeyCustomersPasswordTokenByPasswordTokenGet.java | 4 ++-- ...ectKeyInStoreKeyByStoreKeyCustomersPasswordTokenPost.java | 4 ++-- .../ByProjectKeyInStoreKeyByStoreKeyCustomersPost.java | 3 ++- .../client/ByProjectKeyInStoreKeyByStoreKeyLoginPost.java | 3 ++- .../ByProjectKeyInStoreKeyByStoreKeyMeActiveCartGet.java | 3 ++- .../ByProjectKeyInStoreKeyByStoreKeyMeActiveCartHead.java | 3 ++- .../ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDDelete.java | 4 ++-- .../ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDGet.java | 4 ++-- .../ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDHead.java | 4 ++-- .../ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDPost.java | 4 ++-- .../client/ByProjectKeyInStoreKeyByStoreKeyMeCartsGet.java | 3 ++- .../client/ByProjectKeyInStoreKeyByStoreKeyMeCartsHead.java | 3 ++- .../client/ByProjectKeyInStoreKeyByStoreKeyMeCartsPost.java | 3 ++- .../api/client/ByProjectKeyInStoreKeyByStoreKeyMeDelete.java | 3 ++- .../ByProjectKeyInStoreKeyByStoreKeyMeEmailConfirmPost.java | 3 ++- .../api/client/ByProjectKeyInStoreKeyByStoreKeyMeGet.java | 3 ++- .../client/ByProjectKeyInStoreKeyByStoreKeyMeLoginPost.java | 3 ++- .../ByProjectKeyInStoreKeyByStoreKeyMeOrdersByIDGet.java | 4 ++-- .../ByProjectKeyInStoreKeyByStoreKeyMeOrdersByIDHead.java | 4 ++-- .../client/ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet.java | 3 ++- .../client/ByProjectKeyInStoreKeyByStoreKeyMeOrdersHead.java | 3 ++- .../client/ByProjectKeyInStoreKeyByStoreKeyMeOrdersPost.java | 3 ++- .../ByProjectKeyInStoreKeyByStoreKeyMePasswordPost.java | 3 ++- .../ByProjectKeyInStoreKeyByStoreKeyMePasswordResetPost.java | 3 ++- .../api/client/ByProjectKeyInStoreKeyByStoreKeyMePost.java | 3 ++- ...jectKeyInStoreKeyByStoreKeyMeShoppingListsByIDDelete.java | 4 ++-- ...ProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDGet.java | 4 ++-- ...rojectKeyInStoreKeyByStoreKeyMeShoppingListsByIDHead.java | 4 ++-- ...rojectKeyInStoreKeyByStoreKeyMeShoppingListsByIDPost.java | 4 ++-- .../ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsGet.java | 3 ++- .../ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsHead.java | 3 ++- ...KeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyDelete.java | 4 ++-- ...ectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyGet.java | 4 ++-- ...ctKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyHead.java | 4 ++-- ...ctKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyPost.java | 4 ++-- .../ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsPost.java | 3 ++- .../client/ByProjectKeyInStoreKeyByStoreKeyMeSignupPost.java | 3 ++- .../ByProjectKeyInStoreKeyByStoreKeyOrdersByIDDelete.java | 3 ++- .../ByProjectKeyInStoreKeyByStoreKeyOrdersByIDGet.java | 3 ++- .../ByProjectKeyInStoreKeyByStoreKeyOrdersByIDHead.java | 3 ++- .../ByProjectKeyInStoreKeyByStoreKeyOrdersByIDPost.java | 3 ++- .../client/ByProjectKeyInStoreKeyByStoreKeyOrdersGet.java | 3 ++- .../client/ByProjectKeyInStoreKeyByStoreKeyOrdersHead.java | 3 ++- ...oreKeyByStoreKeyOrdersOrderNumberByOrderNumberDelete.java | 4 ++-- ...nStoreKeyByStoreKeyOrdersOrderNumberByOrderNumberGet.java | 4 ++-- ...StoreKeyByStoreKeyOrdersOrderNumberByOrderNumberHead.java | 4 ++-- ...StoreKeyByStoreKeyOrdersOrderNumberByOrderNumberPost.java | 4 ++-- .../client/ByProjectKeyInStoreKeyByStoreKeyOrdersPost.java | 3 ++- .../ByProjectKeyInStoreKeyByStoreKeyOrdersQuotesPost.java | 3 ++- ...jectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet.java | 4 ++-- ...ectKeyInStoreKeyByStoreKeyProductProjectionsByIDHead.java | 4 ++-- ...KeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet.java | 4 ++-- ...eyInStoreKeyByStoreKeyProductProjectionsKeyByKeyHead.java | 4 ++-- ...eyInStoreKeyByStoreKeyProductSelectionAssignmentsGet.java | 4 ++-- .../ByProjectKeyInStoreKeyByStoreKeyProductTailoringGet.java | 3 ++- ...ByProjectKeyInStoreKeyByStoreKeyProductTailoringPost.java | 3 ++- ...yByStoreKeyProductsByProductIDProductTailoringDelete.java | 4 ++-- ...eKeyByStoreKeyProductsByProductIDProductTailoringGet.java | 4 ++-- ...toreKeyProductsByProductIDProductTailoringImagesPost.java | 2 +- ...KeyByStoreKeyProductsByProductIDProductTailoringPost.java | 4 ++-- ...toreKeyProductsKeyByProductKeyProductTailoringDelete.java | 4 ++-- ...ByStoreKeyProductsKeyByProductKeyProductTailoringGet.java | 4 ++-- ...KeyProductsKeyByProductKeyProductTailoringImagesPost.java | 2 +- ...yStoreKeyProductsKeyByProductKeyProductTailoringPost.java | 4 ++-- ...rojectKeyInStoreKeyByStoreKeyQuoteRequestsByIDDelete.java | 4 ++-- ...ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsByIDGet.java | 4 ++-- ...yProjectKeyInStoreKeyByStoreKeyQuoteRequestsByIDHead.java | 4 ++-- ...yProjectKeyInStoreKeyByStoreKeyQuoteRequestsByIDPost.java | 4 ++-- .../ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsGet.java | 3 ++- .../ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsHead.java | 3 ++- ...ctKeyInStoreKeyByStoreKeyQuoteRequestsKeyByKeyDelete.java | 4 ++-- ...ojectKeyInStoreKeyByStoreKeyQuoteRequestsKeyByKeyGet.java | 4 ++-- ...jectKeyInStoreKeyByStoreKeyQuoteRequestsKeyByKeyHead.java | 4 ++-- ...jectKeyInStoreKeyByStoreKeyQuoteRequestsKeyByKeyPost.java | 4 ++-- .../ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsPost.java | 3 ++- .../ByProjectKeyInStoreKeyByStoreKeyQuotesByIDDelete.java | 3 ++- .../ByProjectKeyInStoreKeyByStoreKeyQuotesByIDGet.java | 3 ++- .../ByProjectKeyInStoreKeyByStoreKeyQuotesByIDHead.java | 3 ++- .../ByProjectKeyInStoreKeyByStoreKeyQuotesByIDPost.java | 3 ++- .../client/ByProjectKeyInStoreKeyByStoreKeyQuotesGet.java | 3 ++- .../client/ByProjectKeyInStoreKeyByStoreKeyQuotesHead.java | 3 ++- ...ByProjectKeyInStoreKeyByStoreKeyQuotesKeyByKeyDelete.java | 4 ++-- .../ByProjectKeyInStoreKeyByStoreKeyQuotesKeyByKeyGet.java | 4 ++-- .../ByProjectKeyInStoreKeyByStoreKeyQuotesKeyByKeyHead.java | 4 ++-- .../ByProjectKeyInStoreKeyByStoreKeyQuotesKeyByKeyPost.java | 4 ++-- .../client/ByProjectKeyInStoreKeyByStoreKeyQuotesPost.java | 3 ++- ...eyInStoreKeyByStoreKeyShippingMethodsMatchingCartGet.java | 4 ++-- ...yInStoreKeyByStoreKeyShippingMethodsMatchingCartHead.java | 4 ++-- ...rojectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete.java | 4 ++-- ...ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDGet.java | 4 ++-- ...yProjectKeyInStoreKeyByStoreKeyShoppingListsByIDHead.java | 4 ++-- ...yProjectKeyInStoreKeyByStoreKeyShoppingListsByIDPost.java | 4 ++-- .../ByProjectKeyInStoreKeyByStoreKeyShoppingListsGet.java | 3 ++- .../ByProjectKeyInStoreKeyByStoreKeyShoppingListsHead.java | 3 ++- ...ctKeyInStoreKeyByStoreKeyShoppingListsKeyByKeyDelete.java | 4 ++-- ...ojectKeyInStoreKeyByStoreKeyShoppingListsKeyByKeyGet.java | 4 ++-- ...jectKeyInStoreKeyByStoreKeyShoppingListsKeyByKeyHead.java | 4 ++-- ...jectKeyInStoreKeyByStoreKeyShoppingListsKeyByKeyPost.java | 4 ++-- .../ByProjectKeyInStoreKeyByStoreKeyShoppingListsPost.java | 3 ++- ...ProjectKeyInStoreKeyByStoreKeyStagedQuotesByIDDelete.java | 4 ++-- .../ByProjectKeyInStoreKeyByStoreKeyStagedQuotesByIDGet.java | 4 ++-- ...ByProjectKeyInStoreKeyByStoreKeyStagedQuotesByIDHead.java | 4 ++-- ...ByProjectKeyInStoreKeyByStoreKeyStagedQuotesByIDPost.java | 4 ++-- .../ByProjectKeyInStoreKeyByStoreKeyStagedQuotesGet.java | 3 ++- .../ByProjectKeyInStoreKeyByStoreKeyStagedQuotesHead.java | 3 ++- ...ectKeyInStoreKeyByStoreKeyStagedQuotesKeyByKeyDelete.java | 4 ++-- ...rojectKeyInStoreKeyByStoreKeyStagedQuotesKeyByKeyGet.java | 4 ++-- ...ojectKeyInStoreKeyByStoreKeyStagedQuotesKeyByKeyHead.java | 4 ++-- ...ojectKeyInStoreKeyByStoreKeyStagedQuotesKeyByKeyPost.java | 4 ++-- .../ByProjectKeyInStoreKeyByStoreKeyStagedQuotesPost.java | 3 ++- .../api/client/ByProjectKeyInventoryByIDDelete.java | 3 ++- .../api/client/ByProjectKeyInventoryByIDGet.java | 3 ++- .../api/client/ByProjectKeyInventoryByIDHead.java | 3 ++- .../api/client/ByProjectKeyInventoryByIDPost.java | 3 ++- .../commercetools/api/client/ByProjectKeyInventoryGet.java | 2 +- .../commercetools/api/client/ByProjectKeyInventoryHead.java | 2 +- .../api/client/ByProjectKeyInventoryKeyByKeyDelete.java | 3 ++- .../api/client/ByProjectKeyInventoryKeyByKeyGet.java | 3 ++- .../api/client/ByProjectKeyInventoryKeyByKeyHead.java | 3 ++- .../api/client/ByProjectKeyInventoryKeyByKeyPost.java | 3 ++- .../commercetools/api/client/ByProjectKeyInventoryPost.java | 2 +- .../com/commercetools/api/client/ByProjectKeyLoginPost.java | 2 +- .../api/client/ByProjectKeyMeActiveCartGet.java | 2 +- .../api/client/ByProjectKeyMeActiveCartHead.java | 2 +- .../api/client/ByProjectKeyMeBusinessUnitsByIDDelete.java | 3 ++- .../api/client/ByProjectKeyMeBusinessUnitsByIDGet.java | 3 ++- .../api/client/ByProjectKeyMeBusinessUnitsByIDHead.java | 3 ++- .../api/client/ByProjectKeyMeBusinessUnitsByIDPost.java | 3 ++- .../api/client/ByProjectKeyMeBusinessUnitsGet.java | 2 +- .../api/client/ByProjectKeyMeBusinessUnitsHead.java | 2 +- .../client/ByProjectKeyMeBusinessUnitsKeyByKeyDelete.java | 3 ++- .../api/client/ByProjectKeyMeBusinessUnitsKeyByKeyGet.java | 3 ++- .../api/client/ByProjectKeyMeBusinessUnitsKeyByKeyHead.java | 3 ++- .../api/client/ByProjectKeyMeBusinessUnitsKeyByKeyPost.java | 3 ++- .../api/client/ByProjectKeyMeBusinessUnitsPost.java | 2 +- .../api/client/ByProjectKeyMeCartsByIDDelete.java | 3 ++- .../commercetools/api/client/ByProjectKeyMeCartsByIDGet.java | 3 ++- .../api/client/ByProjectKeyMeCartsByIDHead.java | 3 ++- .../api/client/ByProjectKeyMeCartsByIDPost.java | 3 ++- .../com/commercetools/api/client/ByProjectKeyMeCartsGet.java | 2 +- .../commercetools/api/client/ByProjectKeyMeCartsHead.java | 2 +- .../commercetools/api/client/ByProjectKeyMeCartsPost.java | 2 +- .../api/client/ByProjectKeyMeCartsReplicatePost.java | 2 +- .../com/commercetools/api/client/ByProjectKeyMeDelete.java | 2 +- .../api/client/ByProjectKeyMeEmailConfirmPost.java | 2 +- .../com/commercetools/api/client/ByProjectKeyMeGet.java | 2 +- .../commercetools/api/client/ByProjectKeyMeLoginPost.java | 2 +- .../api/client/ByProjectKeyMeOrdersByIDGet.java | 3 ++- .../api/client/ByProjectKeyMeOrdersByIDHead.java | 3 ++- .../commercetools/api/client/ByProjectKeyMeOrdersGet.java | 2 +- .../commercetools/api/client/ByProjectKeyMeOrdersHead.java | 2 +- .../commercetools/api/client/ByProjectKeyMeOrdersPost.java | 2 +- .../api/client/ByProjectKeyMeOrdersQuotesPost.java | 2 +- .../commercetools/api/client/ByProjectKeyMePasswordPost.java | 2 +- .../api/client/ByProjectKeyMePasswordResetPost.java | 2 +- .../api/client/ByProjectKeyMePaymentsByIDDelete.java | 3 ++- .../api/client/ByProjectKeyMePaymentsByIDGet.java | 3 ++- .../api/client/ByProjectKeyMePaymentsByIDHead.java | 3 ++- .../api/client/ByProjectKeyMePaymentsByIDPost.java | 3 ++- .../commercetools/api/client/ByProjectKeyMePaymentsGet.java | 2 +- .../commercetools/api/client/ByProjectKeyMePaymentsHead.java | 2 +- .../commercetools/api/client/ByProjectKeyMePaymentsPost.java | 2 +- .../com/commercetools/api/client/ByProjectKeyMePost.java | 2 +- .../api/client/ByProjectKeyMeQuoteRequestsByIDGet.java | 3 ++- .../api/client/ByProjectKeyMeQuoteRequestsByIDHead.java | 3 ++- .../api/client/ByProjectKeyMeQuoteRequestsByIDPost.java | 3 ++- .../api/client/ByProjectKeyMeQuoteRequestsGet.java | 2 +- .../api/client/ByProjectKeyMeQuoteRequestsHead.java | 2 +- .../api/client/ByProjectKeyMeQuoteRequestsKeyByKeyGet.java | 3 ++- .../api/client/ByProjectKeyMeQuoteRequestsKeyByKeyHead.java | 3 ++- .../api/client/ByProjectKeyMeQuoteRequestsKeyByKeyPost.java | 3 ++- .../api/client/ByProjectKeyMeQuoteRequestsPost.java | 2 +- .../api/client/ByProjectKeyMeQuotesByIDGet.java | 3 ++- .../api/client/ByProjectKeyMeQuotesByIDHead.java | 3 ++- .../api/client/ByProjectKeyMeQuotesByIDPost.java | 3 ++- .../commercetools/api/client/ByProjectKeyMeQuotesGet.java | 2 +- .../commercetools/api/client/ByProjectKeyMeQuotesHead.java | 2 +- .../api/client/ByProjectKeyMeQuotesKeyByKeyGet.java | 3 ++- .../api/client/ByProjectKeyMeQuotesKeyByKeyHead.java | 3 ++- .../api/client/ByProjectKeyMeQuotesKeyByKeyPost.java | 3 ++- .../api/client/ByProjectKeyMeShoppingListsByIDDelete.java | 3 ++- .../api/client/ByProjectKeyMeShoppingListsByIDGet.java | 3 ++- .../api/client/ByProjectKeyMeShoppingListsByIDHead.java | 3 ++- .../api/client/ByProjectKeyMeShoppingListsByIDPost.java | 3 ++- .../api/client/ByProjectKeyMeShoppingListsGet.java | 2 +- .../api/client/ByProjectKeyMeShoppingListsHead.java | 2 +- .../client/ByProjectKeyMeShoppingListsKeyByKeyDelete.java | 3 ++- .../api/client/ByProjectKeyMeShoppingListsKeyByKeyGet.java | 3 ++- .../api/client/ByProjectKeyMeShoppingListsKeyByKeyHead.java | 3 ++- .../api/client/ByProjectKeyMeShoppingListsKeyByKeyPost.java | 3 ++- .../api/client/ByProjectKeyMeShoppingListsPost.java | 2 +- .../commercetools/api/client/ByProjectKeyMeSignupPost.java | 2 +- .../api/client/ByProjectKeyMessagesByIDGet.java | 3 ++- .../api/client/ByProjectKeyMessagesByIDHead.java | 3 ++- .../commercetools/api/client/ByProjectKeyMessagesGet.java | 2 +- .../commercetools/api/client/ByProjectKeyMessagesHead.java | 2 +- .../api/client/ByProjectKeyOrdersByIDDelete.java | 3 ++- .../commercetools/api/client/ByProjectKeyOrdersByIDGet.java | 3 ++- .../commercetools/api/client/ByProjectKeyOrdersByIDHead.java | 3 ++- .../commercetools/api/client/ByProjectKeyOrdersByIDPost.java | 3 ++- .../api/client/ByProjectKeyOrdersEditsByIDApplyPost.java | 3 ++- .../api/client/ByProjectKeyOrdersEditsByIDDelete.java | 3 ++- .../api/client/ByProjectKeyOrdersEditsByIDGet.java | 3 ++- .../api/client/ByProjectKeyOrdersEditsByIDHead.java | 3 ++- .../api/client/ByProjectKeyOrdersEditsByIDPost.java | 3 ++- .../commercetools/api/client/ByProjectKeyOrdersEditsGet.java | 2 +- .../api/client/ByProjectKeyOrdersEditsHead.java | 2 +- .../api/client/ByProjectKeyOrdersEditsKeyByKeyDelete.java | 3 ++- .../api/client/ByProjectKeyOrdersEditsKeyByKeyGet.java | 3 ++- .../api/client/ByProjectKeyOrdersEditsKeyByKeyHead.java | 3 ++- .../api/client/ByProjectKeyOrdersEditsKeyByKeyPost.java | 3 ++- .../api/client/ByProjectKeyOrdersEditsPost.java | 2 +- .../com/commercetools/api/client/ByProjectKeyOrdersGet.java | 2 +- .../com/commercetools/api/client/ByProjectKeyOrdersHead.java | 2 +- .../api/client/ByProjectKeyOrdersImportPost.java | 2 +- .../ByProjectKeyOrdersOrderNumberByOrderNumberDelete.java | 3 ++- .../ByProjectKeyOrdersOrderNumberByOrderNumberGet.java | 3 ++- .../ByProjectKeyOrdersOrderNumberByOrderNumberHead.java | 3 ++- .../ByProjectKeyOrdersOrderNumberByOrderNumberPost.java | 3 ++- .../com/commercetools/api/client/ByProjectKeyOrdersPost.java | 2 +- .../api/client/ByProjectKeyOrdersQuotesPost.java | 2 +- .../api/client/ByProjectKeyOrdersSearchHead.java | 2 +- .../api/client/ByProjectKeyOrdersSearchPost.java | 2 +- .../api/client/ByProjectKeyPaymentsByIDDelete.java | 3 ++- .../api/client/ByProjectKeyPaymentsByIDGet.java | 3 ++- .../api/client/ByProjectKeyPaymentsByIDHead.java | 3 ++- .../api/client/ByProjectKeyPaymentsByIDPost.java | 3 ++- .../commercetools/api/client/ByProjectKeyPaymentsGet.java | 2 +- .../commercetools/api/client/ByProjectKeyPaymentsHead.java | 2 +- .../api/client/ByProjectKeyPaymentsKeyByKeyDelete.java | 3 ++- .../api/client/ByProjectKeyPaymentsKeyByKeyGet.java | 3 ++- .../api/client/ByProjectKeyPaymentsKeyByKeyHead.java | 3 ++- .../api/client/ByProjectKeyPaymentsKeyByKeyPost.java | 3 ++- .../commercetools/api/client/ByProjectKeyPaymentsPost.java | 2 +- .../com/commercetools/api/client/ByProjectKeyPost.java | 2 +- .../api/client/ByProjectKeyProductDiscountsByIDDelete.java | 3 ++- .../api/client/ByProjectKeyProductDiscountsByIDGet.java | 3 ++- .../api/client/ByProjectKeyProductDiscountsByIDHead.java | 3 ++- .../api/client/ByProjectKeyProductDiscountsByIDPost.java | 3 ++- .../api/client/ByProjectKeyProductDiscountsGet.java | 2 +- .../api/client/ByProjectKeyProductDiscountsHead.java | 2 +- .../client/ByProjectKeyProductDiscountsKeyByKeyDelete.java | 3 ++- .../api/client/ByProjectKeyProductDiscountsKeyByKeyGet.java | 3 ++- .../api/client/ByProjectKeyProductDiscountsKeyByKeyHead.java | 3 ++- .../api/client/ByProjectKeyProductDiscountsKeyByKeyPost.java | 3 ++- .../api/client/ByProjectKeyProductDiscountsMatchingPost.java | 2 +- .../api/client/ByProjectKeyProductDiscountsPost.java | 2 +- .../api/client/ByProjectKeyProductProjectionsByIDGet.java | 3 ++- .../api/client/ByProjectKeyProductProjectionsByIDHead.java | 3 ++- .../api/client/ByProjectKeyProductProjectionsGet.java | 2 +- .../api/client/ByProjectKeyProductProjectionsHead.java | 2 +- .../client/ByProjectKeyProductProjectionsKeyByKeyGet.java | 3 ++- .../client/ByProjectKeyProductProjectionsKeyByKeyHead.java | 3 ++- .../api/client/ByProjectKeyProductProjectionsSearchGet.java | 2 +- .../api/client/ByProjectKeyProductProjectionsSearchPost.java | 2 +- .../api/client/ByProjectKeyProductProjectionsSuggestGet.java | 2 +- .../api/client/ByProjectKeyProductSelectionsByIDDelete.java | 3 ++- .../api/client/ByProjectKeyProductSelectionsByIDGet.java | 3 ++- .../api/client/ByProjectKeyProductSelectionsByIDHead.java | 3 ++- .../api/client/ByProjectKeyProductSelectionsByIDPost.java | 3 ++- .../client/ByProjectKeyProductSelectionsByIDProductsGet.java | 3 ++- .../api/client/ByProjectKeyProductSelectionsGet.java | 2 +- .../api/client/ByProjectKeyProductSelectionsHead.java | 2 +- .../client/ByProjectKeyProductSelectionsKeyByKeyDelete.java | 3 ++- .../api/client/ByProjectKeyProductSelectionsKeyByKeyGet.java | 3 ++- .../client/ByProjectKeyProductSelectionsKeyByKeyHead.java | 3 ++- .../client/ByProjectKeyProductSelectionsKeyByKeyPost.java | 3 ++- .../ByProjectKeyProductSelectionsKeyByKeyProductsGet.java | 3 ++- .../api/client/ByProjectKeyProductSelectionsPost.java | 2 +- .../api/client/ByProjectKeyProductTailoringByIDDelete.java | 3 ++- .../api/client/ByProjectKeyProductTailoringByIDGet.java | 3 ++- .../api/client/ByProjectKeyProductTailoringByIDPost.java | 3 ++- .../api/client/ByProjectKeyProductTailoringGet.java | 2 +- .../client/ByProjectKeyProductTailoringKeyByKeyDelete.java | 3 ++- .../api/client/ByProjectKeyProductTailoringKeyByKeyGet.java | 3 ++- .../api/client/ByProjectKeyProductTailoringKeyByKeyPost.java | 3 ++- .../api/client/ByProjectKeyProductTailoringPost.java | 2 +- .../api/client/ByProjectKeyProductTypesByIDDelete.java | 3 ++- .../api/client/ByProjectKeyProductTypesByIDGet.java | 3 ++- .../api/client/ByProjectKeyProductTypesByIDHead.java | 3 ++- .../api/client/ByProjectKeyProductTypesByIDPost.java | 3 ++- .../api/client/ByProjectKeyProductTypesGet.java | 2 +- .../api/client/ByProjectKeyProductTypesHead.java | 2 +- .../api/client/ByProjectKeyProductTypesKeyByKeyDelete.java | 3 ++- .../api/client/ByProjectKeyProductTypesKeyByKeyGet.java | 3 ++- .../api/client/ByProjectKeyProductTypesKeyByKeyHead.java | 3 ++- .../api/client/ByProjectKeyProductTypesKeyByKeyPost.java | 3 ++- .../api/client/ByProjectKeyProductTypesPost.java | 2 +- .../api/client/ByProjectKeyProductsByIDDelete.java | 3 ++- .../api/client/ByProjectKeyProductsByIDGet.java | 3 ++- .../api/client/ByProjectKeyProductsByIDHead.java | 3 ++- .../api/client/ByProjectKeyProductsByIDImagesPost.java | 3 ++- .../api/client/ByProjectKeyProductsByIDPost.java | 3 ++- .../client/ByProjectKeyProductsByIDProductSelectionsGet.java | 3 ++- .../commercetools/api/client/ByProjectKeyProductsGet.java | 2 +- .../commercetools/api/client/ByProjectKeyProductsHead.java | 2 +- .../api/client/ByProjectKeyProductsKeyByKeyDelete.java | 3 ++- .../api/client/ByProjectKeyProductsKeyByKeyGet.java | 3 ++- .../api/client/ByProjectKeyProductsKeyByKeyHead.java | 3 ++- .../api/client/ByProjectKeyProductsKeyByKeyPost.java | 3 ++- .../ByProjectKeyProductsKeyByKeyProductSelectionsGet.java | 3 ++- .../commercetools/api/client/ByProjectKeyProductsPost.java | 2 +- .../api/client/ByProjectKeyProductsSearchPost.java | 2 +- .../api/client/ByProjectKeyQuoteRequestsByIDDelete.java | 3 ++- .../api/client/ByProjectKeyQuoteRequestsByIDGet.java | 3 ++- .../api/client/ByProjectKeyQuoteRequestsByIDHead.java | 3 ++- .../api/client/ByProjectKeyQuoteRequestsByIDPost.java | 3 ++- .../api/client/ByProjectKeyQuoteRequestsGet.java | 2 +- .../api/client/ByProjectKeyQuoteRequestsHead.java | 2 +- .../api/client/ByProjectKeyQuoteRequestsKeyByKeyDelete.java | 3 ++- .../api/client/ByProjectKeyQuoteRequestsKeyByKeyGet.java | 3 ++- .../api/client/ByProjectKeyQuoteRequestsKeyByKeyHead.java | 3 ++- .../api/client/ByProjectKeyQuoteRequestsKeyByKeyPost.java | 3 ++- .../api/client/ByProjectKeyQuoteRequestsPost.java | 2 +- .../api/client/ByProjectKeyQuotesByIDDelete.java | 3 ++- .../commercetools/api/client/ByProjectKeyQuotesByIDGet.java | 3 ++- .../commercetools/api/client/ByProjectKeyQuotesByIDHead.java | 3 ++- .../commercetools/api/client/ByProjectKeyQuotesByIDPost.java | 3 ++- .../com/commercetools/api/client/ByProjectKeyQuotesGet.java | 2 +- .../com/commercetools/api/client/ByProjectKeyQuotesHead.java | 2 +- .../api/client/ByProjectKeyQuotesKeyByKeyDelete.java | 3 ++- .../api/client/ByProjectKeyQuotesKeyByKeyGet.java | 3 ++- .../api/client/ByProjectKeyQuotesKeyByKeyHead.java | 3 ++- .../api/client/ByProjectKeyQuotesKeyByKeyPost.java | 3 ++- .../com/commercetools/api/client/ByProjectKeyQuotesPost.java | 2 +- .../api/client/ByProjectKeyReviewsByIDDelete.java | 3 ++- .../commercetools/api/client/ByProjectKeyReviewsByIDGet.java | 3 ++- .../api/client/ByProjectKeyReviewsByIDHead.java | 3 ++- .../api/client/ByProjectKeyReviewsByIDPost.java | 3 ++- .../com/commercetools/api/client/ByProjectKeyReviewsGet.java | 2 +- .../commercetools/api/client/ByProjectKeyReviewsHead.java | 2 +- .../api/client/ByProjectKeyReviewsKeyByKeyDelete.java | 3 ++- .../api/client/ByProjectKeyReviewsKeyByKeyGet.java | 3 ++- .../api/client/ByProjectKeyReviewsKeyByKeyHead.java | 3 ++- .../api/client/ByProjectKeyReviewsKeyByKeyPost.java | 3 ++- .../commercetools/api/client/ByProjectKeyReviewsPost.java | 2 +- .../api/client/ByProjectKeyShippingMethodsByIDDelete.java | 3 ++- .../api/client/ByProjectKeyShippingMethodsByIDGet.java | 3 ++- .../api/client/ByProjectKeyShippingMethodsByIDHead.java | 3 ++- .../api/client/ByProjectKeyShippingMethodsByIDPost.java | 3 ++- .../api/client/ByProjectKeyShippingMethodsGet.java | 2 +- .../api/client/ByProjectKeyShippingMethodsHead.java | 2 +- .../client/ByProjectKeyShippingMethodsKeyByKeyDelete.java | 3 ++- .../api/client/ByProjectKeyShippingMethodsKeyByKeyGet.java | 3 ++- .../api/client/ByProjectKeyShippingMethodsKeyByKeyHead.java | 3 ++- .../api/client/ByProjectKeyShippingMethodsKeyByKeyPost.java | 3 ++- .../client/ByProjectKeyShippingMethodsMatchingCartGet.java | 2 +- .../client/ByProjectKeyShippingMethodsMatchingCartHead.java | 2 +- .../ByProjectKeyShippingMethodsMatchingCartLocationGet.java | 3 ++- .../ByProjectKeyShippingMethodsMatchingCartLocationHead.java | 3 ++- .../ByProjectKeyShippingMethodsMatchingLocationGet.java | 3 ++- .../ByProjectKeyShippingMethodsMatchingLocationHead.java | 3 ++- .../ByProjectKeyShippingMethodsMatchingOrdereditGet.java | 3 ++- .../ByProjectKeyShippingMethodsMatchingOrdereditHead.java | 3 ++- .../api/client/ByProjectKeyShippingMethodsPost.java | 2 +- .../api/client/ByProjectKeyShoppingListsByIDDelete.java | 3 ++- .../api/client/ByProjectKeyShoppingListsByIDGet.java | 3 ++- .../api/client/ByProjectKeyShoppingListsByIDHead.java | 3 ++- .../api/client/ByProjectKeyShoppingListsByIDPost.java | 3 ++- .../api/client/ByProjectKeyShoppingListsGet.java | 2 +- .../api/client/ByProjectKeyShoppingListsHead.java | 2 +- .../api/client/ByProjectKeyShoppingListsKeyByKeyDelete.java | 3 ++- .../api/client/ByProjectKeyShoppingListsKeyByKeyGet.java | 3 ++- .../api/client/ByProjectKeyShoppingListsKeyByKeyHead.java | 3 ++- .../api/client/ByProjectKeyShoppingListsKeyByKeyPost.java | 3 ++- .../api/client/ByProjectKeyShoppingListsPost.java | 2 +- .../api/client/ByProjectKeyStagedQuotesByIDDelete.java | 3 ++- .../api/client/ByProjectKeyStagedQuotesByIDGet.java | 3 ++- .../api/client/ByProjectKeyStagedQuotesByIDHead.java | 3 ++- .../api/client/ByProjectKeyStagedQuotesByIDPost.java | 3 ++- .../api/client/ByProjectKeyStagedQuotesGet.java | 2 +- .../api/client/ByProjectKeyStagedQuotesHead.java | 2 +- .../api/client/ByProjectKeyStagedQuotesKeyByKeyDelete.java | 3 ++- .../api/client/ByProjectKeyStagedQuotesKeyByKeyGet.java | 3 ++- .../api/client/ByProjectKeyStagedQuotesKeyByKeyHead.java | 3 ++- .../api/client/ByProjectKeyStagedQuotesKeyByKeyPost.java | 3 ++- .../api/client/ByProjectKeyStagedQuotesPost.java | 2 +- .../api/client/ByProjectKeyStandalonePricesByIDDelete.java | 3 ++- .../api/client/ByProjectKeyStandalonePricesByIDGet.java | 3 ++- .../api/client/ByProjectKeyStandalonePricesByIDHead.java | 3 ++- .../api/client/ByProjectKeyStandalonePricesByIDPost.java | 3 ++- .../api/client/ByProjectKeyStandalonePricesGet.java | 2 +- .../api/client/ByProjectKeyStandalonePricesHead.java | 2 +- .../client/ByProjectKeyStandalonePricesKeyByKeyDelete.java | 3 ++- .../api/client/ByProjectKeyStandalonePricesKeyByKeyGet.java | 3 ++- .../api/client/ByProjectKeyStandalonePricesKeyByKeyHead.java | 3 ++- .../api/client/ByProjectKeyStandalonePricesKeyByKeyPost.java | 3 ++- .../api/client/ByProjectKeyStandalonePricesPost.java | 2 +- .../api/client/ByProjectKeyStatesByIDDelete.java | 3 ++- .../commercetools/api/client/ByProjectKeyStatesByIDGet.java | 3 ++- .../commercetools/api/client/ByProjectKeyStatesByIDHead.java | 3 ++- .../commercetools/api/client/ByProjectKeyStatesByIDPost.java | 3 ++- .../com/commercetools/api/client/ByProjectKeyStatesGet.java | 2 +- .../com/commercetools/api/client/ByProjectKeyStatesHead.java | 2 +- .../api/client/ByProjectKeyStatesKeyByKeyDelete.java | 3 ++- .../api/client/ByProjectKeyStatesKeyByKeyGet.java | 3 ++- .../api/client/ByProjectKeyStatesKeyByKeyHead.java | 3 ++- .../api/client/ByProjectKeyStatesKeyByKeyPost.java | 3 ++- .../com/commercetools/api/client/ByProjectKeyStatesPost.java | 2 +- .../api/client/ByProjectKeyStoresByIDDelete.java | 3 ++- .../commercetools/api/client/ByProjectKeyStoresByIDGet.java | 3 ++- .../commercetools/api/client/ByProjectKeyStoresByIDHead.java | 3 ++- .../commercetools/api/client/ByProjectKeyStoresByIDPost.java | 3 ++- .../com/commercetools/api/client/ByProjectKeyStoresGet.java | 2 +- .../com/commercetools/api/client/ByProjectKeyStoresHead.java | 2 +- .../api/client/ByProjectKeyStoresKeyByKeyDelete.java | 3 ++- .../api/client/ByProjectKeyStoresKeyByKeyGet.java | 3 ++- .../api/client/ByProjectKeyStoresKeyByKeyHead.java | 3 ++- .../api/client/ByProjectKeyStoresKeyByKeyPost.java | 3 ++- .../com/commercetools/api/client/ByProjectKeyStoresPost.java | 2 +- .../api/client/ByProjectKeySubscriptionsByIDDelete.java | 3 ++- .../api/client/ByProjectKeySubscriptionsByIDGet.java | 3 ++- .../api/client/ByProjectKeySubscriptionsByIDHead.java | 3 ++- .../api/client/ByProjectKeySubscriptionsByIDHealthGet.java | 3 ++- .../api/client/ByProjectKeySubscriptionsByIDPost.java | 3 ++- .../api/client/ByProjectKeySubscriptionsGet.java | 2 +- .../api/client/ByProjectKeySubscriptionsHead.java | 2 +- .../api/client/ByProjectKeySubscriptionsKeyByKeyDelete.java | 3 ++- .../api/client/ByProjectKeySubscriptionsKeyByKeyGet.java | 3 ++- .../api/client/ByProjectKeySubscriptionsKeyByKeyHead.java | 3 ++- .../api/client/ByProjectKeySubscriptionsKeyByKeyPost.java | 3 ++- .../api/client/ByProjectKeySubscriptionsPost.java | 2 +- .../api/client/ByProjectKeyTaxCategoriesByIDDelete.java | 3 ++- .../api/client/ByProjectKeyTaxCategoriesByIDGet.java | 3 ++- .../api/client/ByProjectKeyTaxCategoriesByIDHead.java | 3 ++- .../api/client/ByProjectKeyTaxCategoriesByIDPost.java | 3 ++- .../api/client/ByProjectKeyTaxCategoriesGet.java | 2 +- .../api/client/ByProjectKeyTaxCategoriesHead.java | 2 +- .../api/client/ByProjectKeyTaxCategoriesKeyByKeyDelete.java | 3 ++- .../api/client/ByProjectKeyTaxCategoriesKeyByKeyGet.java | 3 ++- .../api/client/ByProjectKeyTaxCategoriesKeyByKeyHead.java | 3 ++- .../api/client/ByProjectKeyTaxCategoriesKeyByKeyPost.java | 3 ++- .../api/client/ByProjectKeyTaxCategoriesPost.java | 2 +- .../api/client/ByProjectKeyTypesByIDDelete.java | 3 ++- .../commercetools/api/client/ByProjectKeyTypesByIDGet.java | 3 ++- .../commercetools/api/client/ByProjectKeyTypesByIDHead.java | 3 ++- .../commercetools/api/client/ByProjectKeyTypesByIDPost.java | 3 ++- .../com/commercetools/api/client/ByProjectKeyTypesGet.java | 2 +- .../com/commercetools/api/client/ByProjectKeyTypesHead.java | 2 +- .../api/client/ByProjectKeyTypesKeyByKeyDelete.java | 3 ++- .../api/client/ByProjectKeyTypesKeyByKeyGet.java | 3 ++- .../api/client/ByProjectKeyTypesKeyByKeyHead.java | 3 ++- .../api/client/ByProjectKeyTypesKeyByKeyPost.java | 3 ++- .../com/commercetools/api/client/ByProjectKeyTypesPost.java | 2 +- .../api/client/ByProjectKeyZonesByIDDelete.java | 3 ++- .../commercetools/api/client/ByProjectKeyZonesByIDGet.java | 3 ++- .../commercetools/api/client/ByProjectKeyZonesByIDHead.java | 3 ++- .../commercetools/api/client/ByProjectKeyZonesByIDPost.java | 3 ++- .../com/commercetools/api/client/ByProjectKeyZonesGet.java | 2 +- .../com/commercetools/api/client/ByProjectKeyZonesHead.java | 2 +- .../api/client/ByProjectKeyZonesKeyByKeyDelete.java | 3 ++- .../api/client/ByProjectKeyZonesKeyByKeyGet.java | 3 ++- .../api/client/ByProjectKeyZonesKeyByKeyHead.java | 3 ++- .../api/client/ByProjectKeyZonesKeyByKeyPost.java | 3 ++- .../com/commercetools/api/client/ByProjectKeyZonesPost.java | 2 +- .../history/client/ByProjectKeyByResourceTypeByIDGet.java | 3 ++- .../history/client/ByProjectKeyByResourceTypeGet.java | 3 ++- .../com/commercetools/history/client/ByProjectKeyGet.java | 2 +- ...eyCategoriesImportContainersByImportContainerKeyPost.java | 4 ++-- ...KeyCustomersImportContainersByImportContainerKeyPost.java | 4 ++-- ...iscountCodesImportContainersByImportContainerKeyPost.java | 4 ++-- ...ProjectKeyImportContainersByImportContainerKeyDelete.java | 3 ++- .../ByProjectKeyImportContainersByImportContainerKeyGet.java | 3 ++- ...ortContainersByImportContainerKeyImportOperationsGet.java | 4 ++-- ...portContainersByImportContainerKeyImportSummariesGet.java | 4 ++-- .../ByProjectKeyImportContainersByImportContainerKeyPut.java | 3 ++- .../importapi/client/ByProjectKeyImportContainersGet.java | 2 +- .../importapi/client/ByProjectKeyImportContainersPost.java | 2 +- .../client/ByProjectKeyImportOperationsByIdGet.java | 3 ++- ...yInventoriesImportContainersByImportContainerKeyPost.java | 4 ++-- ...OrderPatchesImportContainersByImportContainerKeyPost.java | 4 ++-- ...ectKeyOrdersImportContainersByImportContainerKeyPost.java | 4 ++-- ...ectKeyPricesImportContainersByImportContainerKeyPost.java | 4 ++-- ...roductDraftsImportContainersByImportContainerKeyPost.java | 4 ++-- ...ProductTypesImportContainersByImportContainerKeyPost.java | 4 ++-- ...riantPatchesImportContainersByImportContainerKeyPost.java | 4 ++-- ...ductVariantsImportContainersByImportContainerKeyPost.java | 4 ++-- ...tKeyProductsImportContainersByImportContainerKeyPost.java | 4 ++-- ...dalonePricesImportContainersByImportContainerKeyPost.java | 4 ++-- ...jectKeyTypesImportContainersByImportContainerKeyPost.java | 4 ++-- reference.txt | 1 + references.txt | 1 + 725 files changed, 1280 insertions(+), 851 deletions(-) create mode 100644 reference.txt diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyApiClientsByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyApiClientsByIDDelete.java index a8c0ecce40b..8d003aaa855 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyApiClientsByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyApiClientsByIDDelete.java @@ -60,7 +60,8 @@ public ByProjectKeyApiClientsByIDDelete(ByProjectKeyApiClientsByIDDelete t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/api-clients/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/api-clients/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyApiClientsByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyApiClientsByIDGet.java index fb71a826b37..0c89fabea68 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyApiClientsByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyApiClientsByIDGet.java @@ -60,7 +60,8 @@ public ByProjectKeyApiClientsByIDGet(ByProjectKeyApiClientsByIDGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/api-clients/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/api-clients/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyApiClientsByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyApiClientsByIDHead.java index 09ff383a955..ea021f7038e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyApiClientsByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyApiClientsByIDHead.java @@ -60,7 +60,8 @@ public ByProjectKeyApiClientsByIDHead(ByProjectKeyApiClientsByIDHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/api-clients/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/api-clients/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyApiClientsGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyApiClientsGet.java index 89ee05bf358..77fe2a81f26 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyApiClientsGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyApiClientsGet.java @@ -65,7 +65,7 @@ public ByProjectKeyApiClientsGet(ByProjectKeyApiClientsGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/api-clients", this.projectKey); + String httpRequestPath = String.format("%s/api-clients", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyApiClientsHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyApiClientsHead.java index ab8b15a6189..0b005b21ec0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyApiClientsHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyApiClientsHead.java @@ -60,7 +60,7 @@ public ByProjectKeyApiClientsHead(ByProjectKeyApiClientsHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/api-clients", this.projectKey); + String httpRequestPath = String.format("%s/api-clients", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyApiClientsPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyApiClientsPost.java index 698054f68e1..913cf6ed090 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyApiClientsPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyApiClientsPost.java @@ -66,7 +66,7 @@ public ByProjectKeyApiClientsPost(ByProjectKeyApiClientsPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/api-clients", this.projectKey); + String httpRequestPath = String.format("%s/api-clients", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDGet.java index ba003c5ea4d..5eec49538e5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDGet.java @@ -73,8 +73,8 @@ public ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDGet( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/as-associate/%s/business-units/%s", this.projectKey, - this.associateId, this.ID); + String httpRequestPath = String.format("%s/as-associate/%s/business-units/%s", encodePathParam(this.projectKey), + encodePathParam(this.associateId), encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDHead.java index 33f8699d693..36b20cc3d5b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDHead.java @@ -68,8 +68,8 @@ public ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDHead( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/as-associate/%s/business-units/%s", this.projectKey, - this.associateId, this.ID); + String httpRequestPath = String.format("%s/as-associate/%s/business-units/%s", encodePathParam(this.projectKey), + encodePathParam(this.associateId), encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDPost.java index dd2ad73c5fe..c1c7b2c8457 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDPost.java @@ -79,8 +79,8 @@ public ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDPost( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/as-associate/%s/business-units/%s", this.projectKey, - this.associateId, this.ID); + String httpRequestPath = String.format("%s/as-associate/%s/business-units/%s", encodePathParam(this.projectKey), + encodePathParam(this.associateId), encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsGet.java index 8274937d772..2885fd789d5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsGet.java @@ -72,7 +72,8 @@ public ByProjectKeyAsAssociateByAssociateIdBusinessUnitsGet( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/as-associate/%s/business-units", this.projectKey, this.associateId); + String httpRequestPath = String.format("%s/as-associate/%s/business-units", encodePathParam(this.projectKey), + encodePathParam(this.associateId)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsHead.java index 2174113e919..d9bb1e3eea9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsHead.java @@ -67,7 +67,8 @@ public ByProjectKeyAsAssociateByAssociateIdBusinessUnitsHead( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/as-associate/%s/business-units", this.projectKey, this.associateId); + String httpRequestPath = String.format("%s/as-associate/%s/business-units", encodePathParam(this.projectKey), + encodePathParam(this.associateId)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyGet.java index 75ba21405fa..1d803264b2c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyGet.java @@ -73,8 +73,8 @@ public ByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyGet( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/as-associate/%s/business-units/key=%s", this.projectKey, - this.associateId, this.key); + String httpRequestPath = String.format("%s/as-associate/%s/business-units/key=%s", + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyHead.java index eee0d21810a..c70edc112c7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyHead.java @@ -68,8 +68,8 @@ public ByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyHead( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/as-associate/%s/business-units/key=%s", this.projectKey, - this.associateId, this.key); + String httpRequestPath = String.format("%s/as-associate/%s/business-units/key=%s", + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyPost.java index 3bd891337f1..f6b1a10515a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyPost.java @@ -79,8 +79,8 @@ public ByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyPost( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/as-associate/%s/business-units/key=%s", this.projectKey, - this.associateId, this.key); + String httpRequestPath = String.format("%s/as-associate/%s/business-units/key=%s", + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsPost.java index 335b3fa4324..5ff1939e4a9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdBusinessUnitsPost.java @@ -72,7 +72,8 @@ public ByProjectKeyAsAssociateByAssociateIdBusinessUnitsPost( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/as-associate/%s/business-units", this.projectKey, this.associateId); + String httpRequestPath = String.format("%s/as-associate/%s/business-units", encodePathParam(this.projectKey), + encodePathParam(this.associateId)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsByIDGet.java index 1cdb341379d..ab038fdfe95 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsByIDGet.java @@ -79,7 +79,8 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApp protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/approval-flows/%s", - this.projectKey, this.associateId, this.businessUnitKey, this.ID); + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsByIDPost.java index df1287abc88..21042888484 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsByIDPost.java @@ -84,7 +84,8 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApp protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/approval-flows/%s", - this.projectKey, this.associateId, this.businessUnitKey, this.ID); + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsGet.java index b868e993c69..3637dd4f380 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsGet.java @@ -77,7 +77,7 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApp protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/approval-flows", - this.projectKey, this.associateId, this.businessUnitKey); + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesByIDGet.java index 430e24dc5ac..b16cfde9f14 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesByIDGet.java @@ -79,7 +79,8 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApp protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/approval-rules/%s", - this.projectKey, this.associateId, this.businessUnitKey, this.ID); + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesByIDPost.java index e284f034680..ec36373f936 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesByIDPost.java @@ -84,7 +84,8 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApp protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/approval-rules/%s", - this.projectKey, this.associateId, this.businessUnitKey, this.ID); + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesGet.java index 3afdf5e985e..45c3b79cf82 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesGet.java @@ -77,7 +77,7 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApp protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/approval-rules", - this.projectKey, this.associateId, this.businessUnitKey); + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesKeyByKeyGet.java index 7905950bd55..f4316b24c82 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesKeyByKeyGet.java @@ -79,7 +79,8 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApp protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/approval-rules/key=%s", - this.projectKey, this.associateId, this.businessUnitKey, this.key); + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesKeyByKeyPost.java index bd73ce51ecf..f0213a49633 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesKeyByKeyPost.java @@ -84,7 +84,8 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApp protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/approval-rules/key=%s", - this.projectKey, this.associateId, this.businessUnitKey, this.key); + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesPost.java index be2c3763cec..8e92f2bd7af 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesPost.java @@ -79,7 +79,7 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApp protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/approval-rules", - this.projectKey, this.associateId, this.businessUnitKey); + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsByIDDelete.java index c4f49beee37..385865fa702 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsByIDDelete.java @@ -82,8 +82,9 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCar @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/carts/%s", this.projectKey, - this.associateId, this.businessUnitKey, this.ID); + String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/carts/%s", + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsByIDGet.java index ea5f282adff..48862ef59c3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsByIDGet.java @@ -78,8 +78,9 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCar @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/carts/%s", this.projectKey, - this.associateId, this.businessUnitKey, this.ID); + String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/carts/%s", + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsByIDHead.java index b4a8ef0c544..0fc2654869f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsByIDHead.java @@ -73,8 +73,9 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCar @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/carts/%s", this.projectKey, - this.associateId, this.businessUnitKey, this.ID); + String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/carts/%s", + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsByIDPost.java index faede18218c..5bf6744d32e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsByIDPost.java @@ -83,8 +83,9 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCar @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/carts/%s", this.projectKey, - this.associateId, this.businessUnitKey, this.ID); + String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/carts/%s", + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsGet.java index 1577e480070..63e2ce8ce64 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsGet.java @@ -76,8 +76,8 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCar @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/carts", this.projectKey, - this.associateId, this.businessUnitKey); + String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/carts", + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsHead.java index 51d1a4c42a3..715718e0f42 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsHead.java @@ -72,8 +72,8 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCar @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/carts", this.projectKey, - this.associateId, this.businessUnitKey); + String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/carts", + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsKeyByKeyDelete.java index 2478c63e199..13b97427559 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsKeyByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsKeyByKeyDelete.java @@ -83,7 +83,8 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCar protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/carts/key=%s", - this.projectKey, this.associateId, this.businessUnitKey, this.key); + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsKeyByKeyGet.java index f1ebeae1d71..c6cdd4b0cac 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsKeyByKeyGet.java @@ -79,7 +79,8 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCar protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/carts/key=%s", - this.projectKey, this.associateId, this.businessUnitKey, this.key); + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsKeyByKeyHead.java index 2b7c4c7fcdd..7ca174c9095 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsKeyByKeyHead.java @@ -74,7 +74,8 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCar protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/carts/key=%s", - this.projectKey, this.associateId, this.businessUnitKey, this.key); + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsKeyByKeyPost.java index 15fad358a19..56ef547d38a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsKeyByKeyPost.java @@ -84,7 +84,8 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCar protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/carts/key=%s", - this.projectKey, this.associateId, this.businessUnitKey, this.key); + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsPost.java index acf6cac8993..f2dc7a2d91e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsPost.java @@ -85,8 +85,8 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCar @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/carts", this.projectKey, - this.associateId, this.businessUnitKey); + String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/carts", + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsReplicatePost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsReplicatePost.java index 6bd2ae27470..687e2b87f6e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsReplicatePost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsReplicatePost.java @@ -82,7 +82,7 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCar protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/carts/replicate", - this.projectKey, this.associateId, this.businessUnitKey); + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersByIDGet.java index 28ed8e726ae..04191381109 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersByIDGet.java @@ -78,8 +78,9 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrd @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/orders/%s", this.projectKey, - this.associateId, this.businessUnitKey, this.ID); + String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/orders/%s", + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersByIDHead.java index ae1e429e291..ab94e48df3c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersByIDHead.java @@ -73,8 +73,9 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrd @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/orders/%s", this.projectKey, - this.associateId, this.businessUnitKey, this.ID); + String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/orders/%s", + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersByIDPost.java index f6493a59813..ecef5739913 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersByIDPost.java @@ -83,8 +83,9 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrd @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/orders/%s", this.projectKey, - this.associateId, this.businessUnitKey, this.ID); + String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/orders/%s", + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersGet.java index cb2edc7b848..a6a1d7d96ad 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersGet.java @@ -76,8 +76,8 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrd @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/orders", this.projectKey, - this.associateId, this.businessUnitKey); + String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/orders", + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersHead.java index d3b183b9cc1..c1cc41304dd 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersHead.java @@ -72,8 +72,8 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrd @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/orders", this.projectKey, - this.associateId, this.businessUnitKey); + String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/orders", + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersOrderNumberByOrderNumberGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersOrderNumberByOrderNumberGet.java index 86fb50aa5ab..615ad80e677 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersOrderNumberByOrderNumberGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersOrderNumberByOrderNumberGet.java @@ -80,7 +80,8 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrd protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/orders/order-number=%s", - this.projectKey, this.associateId, this.businessUnitKey, this.orderNumber); + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey), + encodePathParam(this.orderNumber)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersOrderNumberByOrderNumberHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersOrderNumberByOrderNumberHead.java index 3aefaf418f4..9e70b044ef1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersOrderNumberByOrderNumberHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersOrderNumberByOrderNumberHead.java @@ -75,7 +75,8 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrd protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/orders/order-number=%s", - this.projectKey, this.associateId, this.businessUnitKey, this.orderNumber); + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey), + encodePathParam(this.orderNumber)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersOrderNumberByOrderNumberPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersOrderNumberByOrderNumberPost.java index d96f45533f0..32e6b9f4386 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersOrderNumberByOrderNumberPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersOrderNumberByOrderNumberPost.java @@ -85,7 +85,8 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrd protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/orders/order-number=%s", - this.projectKey, this.associateId, this.businessUnitKey, this.orderNumber); + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey), + encodePathParam(this.orderNumber)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersPost.java index 6edd738fdc6..2cf589f24a8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersPost.java @@ -88,8 +88,8 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrd @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/orders", this.projectKey, - this.associateId, this.businessUnitKey); + String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/orders", + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersQuotesPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersQuotesPost.java index a2a3ee0b9cc..a3090d4312d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersQuotesPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersQuotesPost.java @@ -79,7 +79,7 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrd protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/orders/quotes", - this.projectKey, this.associateId, this.businessUnitKey); + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsByIDGet.java index 8993966978e..32880737842 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsByIDGet.java @@ -79,7 +79,8 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuo protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/quote-requests/%s", - this.projectKey, this.associateId, this.businessUnitKey, this.ID); + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsByIDHead.java index 3ebb07320c1..132f66b73a6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsByIDHead.java @@ -74,7 +74,8 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuo protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/quote-requests/%s", - this.projectKey, this.associateId, this.businessUnitKey, this.ID); + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsByIDPost.java index 32bd6c4e269..ef776bafb37 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsByIDPost.java @@ -84,7 +84,8 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuo protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/quote-requests/%s", - this.projectKey, this.associateId, this.businessUnitKey, this.ID); + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsGet.java index 77fae5a81e9..3fbe9ceadb6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsGet.java @@ -77,7 +77,7 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuo protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/quote-requests", - this.projectKey, this.associateId, this.businessUnitKey); + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsHead.java index 6d33f060885..ada4270078e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsHead.java @@ -73,7 +73,7 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuo protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/quote-requests", - this.projectKey, this.associateId, this.businessUnitKey); + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsKeyByKeyGet.java index d4e603cb84a..791300bdcfe 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsKeyByKeyGet.java @@ -79,7 +79,8 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuo protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/quote-requests/key=%s", - this.projectKey, this.associateId, this.businessUnitKey, this.key); + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsKeyByKeyHead.java index a259dde935c..1c1ae7840f5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsKeyByKeyHead.java @@ -74,7 +74,8 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuo protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/quote-requests/key=%s", - this.projectKey, this.associateId, this.businessUnitKey, this.key); + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsKeyByKeyPost.java index 121a5496635..ac318cad3b4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsKeyByKeyPost.java @@ -84,7 +84,8 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuo protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/quote-requests/key=%s", - this.projectKey, this.associateId, this.businessUnitKey, this.key); + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsPost.java index 42a1e770929..084e3bc4881 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsPost.java @@ -79,7 +79,7 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuo protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/quote-requests", - this.projectKey, this.associateId, this.businessUnitKey); + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesByIDGet.java index 910bc263811..52ee46f6a16 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesByIDGet.java @@ -78,8 +78,9 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuo @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/quotes/%s", this.projectKey, - this.associateId, this.businessUnitKey, this.ID); + String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/quotes/%s", + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesByIDHead.java index 1efb3d8daba..85a8849adb2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesByIDHead.java @@ -73,8 +73,9 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuo @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/quotes/%s", this.projectKey, - this.associateId, this.businessUnitKey, this.ID); + String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/quotes/%s", + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesByIDPost.java index 78704be1d64..8e0aaa5e355 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesByIDPost.java @@ -83,8 +83,9 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuo @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/quotes/%s", this.projectKey, - this.associateId, this.businessUnitKey, this.ID); + String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/quotes/%s", + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesGet.java index 8645b5204ac..b252a35f12c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesGet.java @@ -76,8 +76,8 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuo @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/quotes", this.projectKey, - this.associateId, this.businessUnitKey); + String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/quotes", + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesHead.java index 97fcea3714b..1082dea3e50 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesHead.java @@ -72,8 +72,8 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuo @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/quotes", this.projectKey, - this.associateId, this.businessUnitKey); + String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/quotes", + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesKeyByKeyGet.java index 492c71bf37a..611003171ee 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesKeyByKeyGet.java @@ -79,7 +79,8 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuo protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/quotes/key=%s", - this.projectKey, this.associateId, this.businessUnitKey, this.key); + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesKeyByKeyHead.java index f36697224c8..8469370efab 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesKeyByKeyHead.java @@ -74,7 +74,8 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuo protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/quotes/key=%s", - this.projectKey, this.associateId, this.businessUnitKey, this.key); + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesKeyByKeyPost.java index 3ac805d478d..db691e50049 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesKeyByKeyPost.java @@ -84,7 +84,8 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuo protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/quotes/key=%s", - this.projectKey, this.associateId, this.businessUnitKey, this.key); + encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAssociateRolesByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAssociateRolesByIDDelete.java index c22b4cda24b..979b5a425bf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAssociateRolesByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAssociateRolesByIDDelete.java @@ -68,7 +68,8 @@ public ByProjectKeyAssociateRolesByIDDelete(ByProjectKeyAssociateRolesByIDDelete @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/associate-roles/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/associate-roles/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAssociateRolesByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAssociateRolesByIDGet.java index 6561e439937..f94b641f133 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAssociateRolesByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAssociateRolesByIDGet.java @@ -65,7 +65,8 @@ public ByProjectKeyAssociateRolesByIDGet(ByProjectKeyAssociateRolesByIDGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/associate-roles/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/associate-roles/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAssociateRolesByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAssociateRolesByIDHead.java index ccbaff16629..6d9ee421d84 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAssociateRolesByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAssociateRolesByIDHead.java @@ -60,7 +60,8 @@ public ByProjectKeyAssociateRolesByIDHead(ByProjectKeyAssociateRolesByIDHead t) @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/associate-roles/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/associate-roles/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAssociateRolesByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAssociateRolesByIDPost.java index 609522c9f3f..184f31d354e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAssociateRolesByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAssociateRolesByIDPost.java @@ -71,7 +71,8 @@ public ByProjectKeyAssociateRolesByIDPost(ByProjectKeyAssociateRolesByIDPost t) @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/associate-roles/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/associate-roles/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAssociateRolesGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAssociateRolesGet.java index 4c79c1dd8ad..bcd0d6d7a95 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAssociateRolesGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAssociateRolesGet.java @@ -65,7 +65,7 @@ public ByProjectKeyAssociateRolesGet(ByProjectKeyAssociateRolesGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/associate-roles", this.projectKey); + String httpRequestPath = String.format("%s/associate-roles", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAssociateRolesHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAssociateRolesHead.java index 1ec411d7f7e..30dabebfa47 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAssociateRolesHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAssociateRolesHead.java @@ -60,7 +60,7 @@ public ByProjectKeyAssociateRolesHead(ByProjectKeyAssociateRolesHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/associate-roles", this.projectKey); + String httpRequestPath = String.format("%s/associate-roles", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAssociateRolesKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAssociateRolesKeyByKeyDelete.java index 4caac4834b9..fc666aa21a1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAssociateRolesKeyByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAssociateRolesKeyByKeyDelete.java @@ -68,7 +68,8 @@ public ByProjectKeyAssociateRolesKeyByKeyDelete(ByProjectKeyAssociateRolesKeyByK @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/associate-roles/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/associate-roles/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAssociateRolesKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAssociateRolesKeyByKeyGet.java index 1fddf7facfd..6e3d5b08537 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAssociateRolesKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAssociateRolesKeyByKeyGet.java @@ -65,7 +65,8 @@ public ByProjectKeyAssociateRolesKeyByKeyGet(ByProjectKeyAssociateRolesKeyByKeyG @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/associate-roles/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/associate-roles/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAssociateRolesKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAssociateRolesKeyByKeyHead.java index 6ba05dcb1d7..481f5147dba 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAssociateRolesKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAssociateRolesKeyByKeyHead.java @@ -60,7 +60,8 @@ public ByProjectKeyAssociateRolesKeyByKeyHead(ByProjectKeyAssociateRolesKeyByKey @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/associate-roles/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/associate-roles/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAssociateRolesKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAssociateRolesKeyByKeyPost.java index bd1a0f62472..fce3cda3297 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAssociateRolesKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAssociateRolesKeyByKeyPost.java @@ -71,7 +71,8 @@ public ByProjectKeyAssociateRolesKeyByKeyPost(ByProjectKeyAssociateRolesKeyByKey @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/associate-roles/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/associate-roles/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAssociateRolesPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAssociateRolesPost.java index 6bdd5a107b6..43488103b85 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAssociateRolesPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAssociateRolesPost.java @@ -66,7 +66,7 @@ public ByProjectKeyAssociateRolesPost(ByProjectKeyAssociateRolesPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/associate-roles", this.projectKey); + String httpRequestPath = String.format("%s/associate-roles", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAttributeGroupsByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAttributeGroupsByIDDelete.java index 98d20abe5a5..41c6c98b108 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAttributeGroupsByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAttributeGroupsByIDDelete.java @@ -70,7 +70,8 @@ public ByProjectKeyAttributeGroupsByIDDelete(ByProjectKeyAttributeGroupsByIDDele @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/attribute-groups/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/attribute-groups/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAttributeGroupsByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAttributeGroupsByIDGet.java index b9f55f6c8f1..d0a69771345 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAttributeGroupsByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAttributeGroupsByIDGet.java @@ -65,7 +65,8 @@ public ByProjectKeyAttributeGroupsByIDGet(ByProjectKeyAttributeGroupsByIDGet t) @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/attribute-groups/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/attribute-groups/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAttributeGroupsByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAttributeGroupsByIDHead.java index 339fd168825..564153e8a4a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAttributeGroupsByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAttributeGroupsByIDHead.java @@ -60,7 +60,8 @@ public ByProjectKeyAttributeGroupsByIDHead(ByProjectKeyAttributeGroupsByIDHead t @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/attribute-groups/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/attribute-groups/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAttributeGroupsByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAttributeGroupsByIDPost.java index 329bcbb74ee..aba55ea4e70 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAttributeGroupsByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAttributeGroupsByIDPost.java @@ -71,7 +71,8 @@ public ByProjectKeyAttributeGroupsByIDPost(ByProjectKeyAttributeGroupsByIDPost t @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/attribute-groups/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/attribute-groups/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAttributeGroupsGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAttributeGroupsGet.java index ee99abe524e..fd4e6f947d4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAttributeGroupsGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAttributeGroupsGet.java @@ -65,7 +65,7 @@ public ByProjectKeyAttributeGroupsGet(ByProjectKeyAttributeGroupsGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/attribute-groups", this.projectKey); + String httpRequestPath = String.format("%s/attribute-groups", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAttributeGroupsHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAttributeGroupsHead.java index 6ad2b052260..0c037b0ee9c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAttributeGroupsHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAttributeGroupsHead.java @@ -60,7 +60,7 @@ public ByProjectKeyAttributeGroupsHead(ByProjectKeyAttributeGroupsHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/attribute-groups", this.projectKey); + String httpRequestPath = String.format("%s/attribute-groups", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAttributeGroupsKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAttributeGroupsKeyByKeyDelete.java index b76bbc60712..d88fc61ecd3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAttributeGroupsKeyByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAttributeGroupsKeyByKeyDelete.java @@ -70,7 +70,8 @@ public ByProjectKeyAttributeGroupsKeyByKeyDelete(ByProjectKeyAttributeGroupsKeyB @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/attribute-groups/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/attribute-groups/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAttributeGroupsKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAttributeGroupsKeyByKeyGet.java index adde9807068..51ab926b9ed 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAttributeGroupsKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAttributeGroupsKeyByKeyGet.java @@ -65,7 +65,8 @@ public ByProjectKeyAttributeGroupsKeyByKeyGet(ByProjectKeyAttributeGroupsKeyByKe @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/attribute-groups/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/attribute-groups/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAttributeGroupsKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAttributeGroupsKeyByKeyHead.java index 350e8aa169b..a1faa732692 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAttributeGroupsKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAttributeGroupsKeyByKeyHead.java @@ -60,7 +60,8 @@ public ByProjectKeyAttributeGroupsKeyByKeyHead(ByProjectKeyAttributeGroupsKeyByK @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/attribute-groups/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/attribute-groups/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAttributeGroupsKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAttributeGroupsKeyByKeyPost.java index 448124ae792..549e3720904 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAttributeGroupsKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAttributeGroupsKeyByKeyPost.java @@ -71,7 +71,8 @@ public ByProjectKeyAttributeGroupsKeyByKeyPost(ByProjectKeyAttributeGroupsKeyByK @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/attribute-groups/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/attribute-groups/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAttributeGroupsPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAttributeGroupsPost.java index 995df4be95f..f1aa0396b7d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAttributeGroupsPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyAttributeGroupsPost.java @@ -66,7 +66,7 @@ public ByProjectKeyAttributeGroupsPost(ByProjectKeyAttributeGroupsPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/attribute-groups", this.projectKey); + String httpRequestPath = String.format("%s/attribute-groups", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyBusinessUnitsByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyBusinessUnitsByIDDelete.java index 977664ed1b8..242384de608 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyBusinessUnitsByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyBusinessUnitsByIDDelete.java @@ -68,7 +68,8 @@ public ByProjectKeyBusinessUnitsByIDDelete(ByProjectKeyBusinessUnitsByIDDelete t @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/business-units/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/business-units/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyBusinessUnitsByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyBusinessUnitsByIDGet.java index 225350bab3a..c148ca77c1a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyBusinessUnitsByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyBusinessUnitsByIDGet.java @@ -65,7 +65,8 @@ public ByProjectKeyBusinessUnitsByIDGet(ByProjectKeyBusinessUnitsByIDGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/business-units/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/business-units/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyBusinessUnitsByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyBusinessUnitsByIDHead.java index c0bfd1ec5e9..26f89b29569 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyBusinessUnitsByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyBusinessUnitsByIDHead.java @@ -60,7 +60,8 @@ public ByProjectKeyBusinessUnitsByIDHead(ByProjectKeyBusinessUnitsByIDHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/business-units/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/business-units/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyBusinessUnitsByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyBusinessUnitsByIDPost.java index 61fc95b6f3e..2f11b11f7b3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyBusinessUnitsByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyBusinessUnitsByIDPost.java @@ -71,7 +71,8 @@ public ByProjectKeyBusinessUnitsByIDPost(ByProjectKeyBusinessUnitsByIDPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/business-units/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/business-units/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyBusinessUnitsGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyBusinessUnitsGet.java index a1785135f1c..2afadf91960 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyBusinessUnitsGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyBusinessUnitsGet.java @@ -65,7 +65,7 @@ public ByProjectKeyBusinessUnitsGet(ByProjectKeyBusinessUnitsGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/business-units", this.projectKey); + String httpRequestPath = String.format("%s/business-units", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyBusinessUnitsHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyBusinessUnitsHead.java index 90684a4bc6f..5351bc78342 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyBusinessUnitsHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyBusinessUnitsHead.java @@ -60,7 +60,7 @@ public ByProjectKeyBusinessUnitsHead(ByProjectKeyBusinessUnitsHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/business-units", this.projectKey); + String httpRequestPath = String.format("%s/business-units", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyBusinessUnitsKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyBusinessUnitsKeyByKeyDelete.java index a9685179cc3..dd149ee126d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyBusinessUnitsKeyByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyBusinessUnitsKeyByKeyDelete.java @@ -68,7 +68,8 @@ public ByProjectKeyBusinessUnitsKeyByKeyDelete(ByProjectKeyBusinessUnitsKeyByKey @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/business-units/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/business-units/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyBusinessUnitsKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyBusinessUnitsKeyByKeyGet.java index 0997a2f6a7e..acc524f0c8b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyBusinessUnitsKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyBusinessUnitsKeyByKeyGet.java @@ -65,7 +65,8 @@ public ByProjectKeyBusinessUnitsKeyByKeyGet(ByProjectKeyBusinessUnitsKeyByKeyGet @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/business-units/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/business-units/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyBusinessUnitsKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyBusinessUnitsKeyByKeyHead.java index 4b7f0515641..d2d00a4fd6a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyBusinessUnitsKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyBusinessUnitsKeyByKeyHead.java @@ -60,7 +60,8 @@ public ByProjectKeyBusinessUnitsKeyByKeyHead(ByProjectKeyBusinessUnitsKeyByKeyHe @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/business-units/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/business-units/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyBusinessUnitsKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyBusinessUnitsKeyByKeyPost.java index 6e7bc7d97fc..aa62dcbc5c4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyBusinessUnitsKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyBusinessUnitsKeyByKeyPost.java @@ -71,7 +71,8 @@ public ByProjectKeyBusinessUnitsKeyByKeyPost(ByProjectKeyBusinessUnitsKeyByKeyPo @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/business-units/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/business-units/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyBusinessUnitsPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyBusinessUnitsPost.java index 2273cef0a7d..dea91af106b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyBusinessUnitsPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyBusinessUnitsPost.java @@ -66,7 +66,7 @@ public ByProjectKeyBusinessUnitsPost(ByProjectKeyBusinessUnitsPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/business-units", this.projectKey); + String httpRequestPath = String.format("%s/business-units", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartDiscountsByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartDiscountsByIDDelete.java index 69db3c5ca93..3019d540241 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartDiscountsByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartDiscountsByIDDelete.java @@ -71,7 +71,8 @@ public ByProjectKeyCartDiscountsByIDDelete(ByProjectKeyCartDiscountsByIDDelete t @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/cart-discounts/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/cart-discounts/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartDiscountsByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartDiscountsByIDGet.java index 724d5f47bf9..95c456fba72 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartDiscountsByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartDiscountsByIDGet.java @@ -66,7 +66,8 @@ public ByProjectKeyCartDiscountsByIDGet(ByProjectKeyCartDiscountsByIDGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/cart-discounts/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/cart-discounts/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartDiscountsByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartDiscountsByIDHead.java index 5a203b8d385..c4f1d94443d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartDiscountsByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartDiscountsByIDHead.java @@ -60,7 +60,8 @@ public ByProjectKeyCartDiscountsByIDHead(ByProjectKeyCartDiscountsByIDHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/cart-discounts/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/cart-discounts/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartDiscountsByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartDiscountsByIDPost.java index d3d2211497f..858ecb9da9f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartDiscountsByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartDiscountsByIDPost.java @@ -72,7 +72,8 @@ public ByProjectKeyCartDiscountsByIDPost(ByProjectKeyCartDiscountsByIDPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/cart-discounts/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/cart-discounts/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartDiscountsGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartDiscountsGet.java index 3837f2b195d..cac20aff237 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartDiscountsGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartDiscountsGet.java @@ -65,7 +65,7 @@ public ByProjectKeyCartDiscountsGet(ByProjectKeyCartDiscountsGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/cart-discounts", this.projectKey); + String httpRequestPath = String.format("%s/cart-discounts", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartDiscountsHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartDiscountsHead.java index 7fdcb1f135a..d0d1daef756 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartDiscountsHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartDiscountsHead.java @@ -60,7 +60,7 @@ public ByProjectKeyCartDiscountsHead(ByProjectKeyCartDiscountsHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/cart-discounts", this.projectKey); + String httpRequestPath = String.format("%s/cart-discounts", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartDiscountsKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartDiscountsKeyByKeyDelete.java index 256f058cf27..6062aba413c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartDiscountsKeyByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartDiscountsKeyByKeyDelete.java @@ -71,7 +71,8 @@ public ByProjectKeyCartDiscountsKeyByKeyDelete(ByProjectKeyCartDiscountsKeyByKey @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/cart-discounts/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/cart-discounts/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartDiscountsKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartDiscountsKeyByKeyGet.java index 2da05a624b7..64f2c95313e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartDiscountsKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartDiscountsKeyByKeyGet.java @@ -66,7 +66,8 @@ public ByProjectKeyCartDiscountsKeyByKeyGet(ByProjectKeyCartDiscountsKeyByKeyGet @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/cart-discounts/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/cart-discounts/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartDiscountsKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartDiscountsKeyByKeyHead.java index 1ae24bf2512..ff6e542c45d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartDiscountsKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartDiscountsKeyByKeyHead.java @@ -60,7 +60,8 @@ public ByProjectKeyCartDiscountsKeyByKeyHead(ByProjectKeyCartDiscountsKeyByKeyHe @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/cart-discounts/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/cart-discounts/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartDiscountsKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartDiscountsKeyByKeyPost.java index 2a12a3b8366..f63e6a3a611 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartDiscountsKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartDiscountsKeyByKeyPost.java @@ -72,7 +72,8 @@ public ByProjectKeyCartDiscountsKeyByKeyPost(ByProjectKeyCartDiscountsKeyByKeyPo @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/cart-discounts/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/cart-discounts/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartDiscountsPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartDiscountsPost.java index f5c79236c24..98f04a55f07 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartDiscountsPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartDiscountsPost.java @@ -66,7 +66,7 @@ public ByProjectKeyCartDiscountsPost(ByProjectKeyCartDiscountsPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/cart-discounts", this.projectKey); + String httpRequestPath = String.format("%s/cart-discounts", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsByIDDelete.java index 72f6034fa1c..b5ae9194f7f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsByIDDelete.java @@ -71,7 +71,8 @@ public ByProjectKeyCartsByIDDelete(ByProjectKeyCartsByIDDelete t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/carts/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/carts/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsByIDGet.java index 507710ae7ab..8313db487ea 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsByIDGet.java @@ -66,7 +66,8 @@ public ByProjectKeyCartsByIDGet(ByProjectKeyCartsByIDGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/carts/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/carts/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsByIDHead.java index 776a95e9a02..6c67c46a89b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsByIDHead.java @@ -60,7 +60,8 @@ public ByProjectKeyCartsByIDHead(ByProjectKeyCartsByIDHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/carts/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/carts/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsByIDPost.java index 44d111b7063..a7caf2ea693 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsByIDPost.java @@ -72,7 +72,8 @@ public ByProjectKeyCartsByIDPost(ByProjectKeyCartsByIDPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/carts/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/carts/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsCustomerIdByCustomerIdGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsCustomerIdByCustomerIdGet.java index 3fb3deb52ec..dcc61fa8000 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsCustomerIdByCustomerIdGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsCustomerIdByCustomerIdGet.java @@ -67,7 +67,8 @@ public ByProjectKeyCartsCustomerIdByCustomerIdGet(ByProjectKeyCartsCustomerIdByC @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/carts/customer-id=%s", this.projectKey, this.customerId); + String httpRequestPath = String.format("%s/carts/customer-id=%s", encodePathParam(this.projectKey), + encodePathParam(this.customerId)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsCustomerIdByCustomerIdHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsCustomerIdByCustomerIdHead.java index f847dbeacd5..343a229f2a4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsCustomerIdByCustomerIdHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsCustomerIdByCustomerIdHead.java @@ -61,7 +61,8 @@ public ByProjectKeyCartsCustomerIdByCustomerIdHead(ByProjectKeyCartsCustomerIdBy @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/carts/customer-id=%s", this.projectKey, this.customerId); + String httpRequestPath = String.format("%s/carts/customer-id=%s", encodePathParam(this.projectKey), + encodePathParam(this.customerId)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsGet.java index a17bbf10ef8..d3a23c3c1f8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsGet.java @@ -65,7 +65,7 @@ public ByProjectKeyCartsGet(ByProjectKeyCartsGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/carts", this.projectKey); + String httpRequestPath = String.format("%s/carts", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsHead.java index 5ca8f4dfbd4..c9ca59d8b4f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsHead.java @@ -59,7 +59,7 @@ public ByProjectKeyCartsHead(ByProjectKeyCartsHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/carts", this.projectKey); + String httpRequestPath = String.format("%s/carts", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsKeyByKeyDelete.java index 50fbdeedbef..8231af1c12d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsKeyByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsKeyByKeyDelete.java @@ -71,7 +71,8 @@ public ByProjectKeyCartsKeyByKeyDelete(ByProjectKeyCartsKeyByKeyDelete t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/carts/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/carts/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsKeyByKeyGet.java index 39d73060c0e..cab0faa57c9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsKeyByKeyGet.java @@ -66,7 +66,8 @@ public ByProjectKeyCartsKeyByKeyGet(ByProjectKeyCartsKeyByKeyGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/carts/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/carts/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsKeyByKeyHead.java index 86b9f149f64..7f1ab0f0fc4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsKeyByKeyHead.java @@ -60,7 +60,8 @@ public ByProjectKeyCartsKeyByKeyHead(ByProjectKeyCartsKeyByKeyHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/carts/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/carts/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsKeyByKeyPost.java index a00b94c4c72..701aa345740 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsKeyByKeyPost.java @@ -72,7 +72,8 @@ public ByProjectKeyCartsKeyByKeyPost(ByProjectKeyCartsKeyByKeyPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/carts/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/carts/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsPost.java index e1bdb00ae8a..52b237e3cfa 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsPost.java @@ -73,7 +73,7 @@ public ByProjectKeyCartsPost(ByProjectKeyCartsPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/carts", this.projectKey); + String httpRequestPath = String.format("%s/carts", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsReplicatePost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsReplicatePost.java index 25854ad25aa..300c04c7374 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsReplicatePost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCartsReplicatePost.java @@ -68,7 +68,7 @@ public ByProjectKeyCartsReplicatePost(ByProjectKeyCartsReplicatePost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/carts/replicate", this.projectKey); + String httpRequestPath = String.format("%s/carts/replicate", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesByIDDelete.java index d40412f039c..e7ec714f77f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesByIDDelete.java @@ -70,7 +70,8 @@ public ByProjectKeyCategoriesByIDDelete(ByProjectKeyCategoriesByIDDelete t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/categories/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/categories/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesByIDGet.java index f6bddc82877..9dde0472cd7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesByIDGet.java @@ -66,7 +66,8 @@ public ByProjectKeyCategoriesByIDGet(ByProjectKeyCategoriesByIDGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/categories/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/categories/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesByIDHead.java index 17bd83822e1..560a4008612 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesByIDHead.java @@ -60,7 +60,8 @@ public ByProjectKeyCategoriesByIDHead(ByProjectKeyCategoriesByIDHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/categories/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/categories/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesByIDPost.java index 7ff1a1c9025..7d95bbdfe72 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesByIDPost.java @@ -72,7 +72,8 @@ public ByProjectKeyCategoriesByIDPost(ByProjectKeyCategoriesByIDPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/categories/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/categories/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesGet.java index cd1ca16cae3..0c48bea044d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesGet.java @@ -65,7 +65,7 @@ public ByProjectKeyCategoriesGet(ByProjectKeyCategoriesGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/categories", this.projectKey); + String httpRequestPath = String.format("%s/categories", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesHead.java index a56f25ab2bb..3bf53d3c98d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesHead.java @@ -60,7 +60,7 @@ public ByProjectKeyCategoriesHead(ByProjectKeyCategoriesHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/categories", this.projectKey); + String httpRequestPath = String.format("%s/categories", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesKeyByKeyDelete.java index ce3e2f65a2e..27ebda06ee4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesKeyByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesKeyByKeyDelete.java @@ -70,7 +70,8 @@ public ByProjectKeyCategoriesKeyByKeyDelete(ByProjectKeyCategoriesKeyByKeyDelete @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/categories/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/categories/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesKeyByKeyGet.java index 80dd6586f37..04f19ea207e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesKeyByKeyGet.java @@ -66,7 +66,8 @@ public ByProjectKeyCategoriesKeyByKeyGet(ByProjectKeyCategoriesKeyByKeyGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/categories/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/categories/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesKeyByKeyHead.java index 177e27ebe35..ce98448e1f1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesKeyByKeyHead.java @@ -60,7 +60,8 @@ public ByProjectKeyCategoriesKeyByKeyHead(ByProjectKeyCategoriesKeyByKeyHead t) @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/categories/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/categories/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesKeyByKeyPost.java index eb09a40269f..14b90ba1c6c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesKeyByKeyPost.java @@ -72,7 +72,8 @@ public ByProjectKeyCategoriesKeyByKeyPost(ByProjectKeyCategoriesKeyByKeyPost t) @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/categories/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/categories/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesPost.java index 73a7ed13ae1..76f0da1de55 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCategoriesPost.java @@ -67,7 +67,7 @@ public ByProjectKeyCategoriesPost(ByProjectKeyCategoriesPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/categories", this.projectKey); + String httpRequestPath = String.format("%s/categories", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyChannelsByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyChannelsByIDDelete.java index bb9b152f66e..467f7144a09 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyChannelsByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyChannelsByIDDelete.java @@ -69,7 +69,8 @@ public ByProjectKeyChannelsByIDDelete(ByProjectKeyChannelsByIDDelete t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/channels/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/channels/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyChannelsByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyChannelsByIDGet.java index e2812b53967..08d38b2e3e2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyChannelsByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyChannelsByIDGet.java @@ -65,7 +65,8 @@ public ByProjectKeyChannelsByIDGet(ByProjectKeyChannelsByIDGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/channels/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/channels/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyChannelsByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyChannelsByIDHead.java index 44a60a6e38e..4584a680752 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyChannelsByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyChannelsByIDHead.java @@ -60,7 +60,8 @@ public ByProjectKeyChannelsByIDHead(ByProjectKeyChannelsByIDHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/channels/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/channels/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyChannelsByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyChannelsByIDPost.java index d27bdd18725..7bd285d8ee1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyChannelsByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyChannelsByIDPost.java @@ -71,7 +71,8 @@ public ByProjectKeyChannelsByIDPost(ByProjectKeyChannelsByIDPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/channels/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/channels/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyChannelsGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyChannelsGet.java index 5e1f8526946..ceeaf205c7a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyChannelsGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyChannelsGet.java @@ -65,7 +65,7 @@ public ByProjectKeyChannelsGet(ByProjectKeyChannelsGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/channels", this.projectKey); + String httpRequestPath = String.format("%s/channels", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyChannelsHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyChannelsHead.java index ea5bcb2c97f..2f70fec6328 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyChannelsHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyChannelsHead.java @@ -60,7 +60,7 @@ public ByProjectKeyChannelsHead(ByProjectKeyChannelsHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/channels", this.projectKey); + String httpRequestPath = String.format("%s/channels", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyChannelsPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyChannelsPost.java index b1948a762ea..be861bc6f9b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyChannelsPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyChannelsPost.java @@ -66,7 +66,7 @@ public ByProjectKeyChannelsPost(ByProjectKeyChannelsPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/channels", this.projectKey); + String httpRequestPath = String.format("%s/channels", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomObjectsByContainerByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomObjectsByContainerByKeyDelete.java index fef0e45ff9a..c385164af78 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomObjectsByContainerByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomObjectsByContainerByKeyDelete.java @@ -71,7 +71,8 @@ public ByProjectKeyCustomObjectsByContainerByKeyDelete(ByProjectKeyCustomObjects @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/custom-objects/%s/%s", this.projectKey, this.container, this.key); + String httpRequestPath = String.format("%s/custom-objects/%s/%s", encodePathParam(this.projectKey), + encodePathParam(this.container), encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomObjectsByContainerByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomObjectsByContainerByKeyGet.java index 7f487afbf9c..fc2460d5110 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomObjectsByContainerByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomObjectsByContainerByKeyGet.java @@ -69,7 +69,8 @@ public ByProjectKeyCustomObjectsByContainerByKeyGet(ByProjectKeyCustomObjectsByC @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/custom-objects/%s/%s", this.projectKey, this.container, this.key); + String httpRequestPath = String.format("%s/custom-objects/%s/%s", encodePathParam(this.projectKey), + encodePathParam(this.container), encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomObjectsByContainerGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomObjectsByContainerGet.java index a94fcbe5f1c..6f5e2aff41d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomObjectsByContainerGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomObjectsByContainerGet.java @@ -70,7 +70,8 @@ public ByProjectKeyCustomObjectsByContainerGet(ByProjectKeyCustomObjectsByContai @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/custom-objects/%s", this.projectKey, this.container); + String httpRequestPath = String.format("%s/custom-objects/%s", encodePathParam(this.projectKey), + encodePathParam(this.container)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomObjectsGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomObjectsGet.java index cb2b799df73..a28aafdd591 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomObjectsGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomObjectsGet.java @@ -66,7 +66,7 @@ public ByProjectKeyCustomObjectsGet(ByProjectKeyCustomObjectsGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/custom-objects", this.projectKey); + String httpRequestPath = String.format("%s/custom-objects", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomObjectsHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomObjectsHead.java index 979fe18477f..7a712484ad3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomObjectsHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomObjectsHead.java @@ -60,7 +60,7 @@ public ByProjectKeyCustomObjectsHead(ByProjectKeyCustomObjectsHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/custom-objects", this.projectKey); + String httpRequestPath = String.format("%s/custom-objects", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomObjectsPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomObjectsPost.java index 13db2d7b5fa..dab6d5c3444 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomObjectsPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomObjectsPost.java @@ -67,7 +67,7 @@ public ByProjectKeyCustomObjectsPost(ByProjectKeyCustomObjectsPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/custom-objects", this.projectKey); + String httpRequestPath = String.format("%s/custom-objects", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomerGroupsByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomerGroupsByIDDelete.java index 5906c672561..03d0a3a6cfa 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomerGroupsByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomerGroupsByIDDelete.java @@ -70,7 +70,8 @@ public ByProjectKeyCustomerGroupsByIDDelete(ByProjectKeyCustomerGroupsByIDDelete @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/customer-groups/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/customer-groups/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomerGroupsByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomerGroupsByIDGet.java index 26e2b2ab5e4..86ffb26460c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomerGroupsByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomerGroupsByIDGet.java @@ -65,7 +65,8 @@ public ByProjectKeyCustomerGroupsByIDGet(ByProjectKeyCustomerGroupsByIDGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/customer-groups/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/customer-groups/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomerGroupsByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomerGroupsByIDHead.java index 09167670fa7..6df57654d82 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomerGroupsByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomerGroupsByIDHead.java @@ -60,7 +60,8 @@ public ByProjectKeyCustomerGroupsByIDHead(ByProjectKeyCustomerGroupsByIDHead t) @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/customer-groups/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/customer-groups/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomerGroupsByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomerGroupsByIDPost.java index ba9a18dc4df..2385806e488 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomerGroupsByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomerGroupsByIDPost.java @@ -71,7 +71,8 @@ public ByProjectKeyCustomerGroupsByIDPost(ByProjectKeyCustomerGroupsByIDPost t) @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/customer-groups/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/customer-groups/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomerGroupsGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomerGroupsGet.java index bde3414b2a4..c37b15627c0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomerGroupsGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomerGroupsGet.java @@ -65,7 +65,7 @@ public ByProjectKeyCustomerGroupsGet(ByProjectKeyCustomerGroupsGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/customer-groups", this.projectKey); + String httpRequestPath = String.format("%s/customer-groups", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomerGroupsHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomerGroupsHead.java index 0d0b70b956d..d9f2f3b00da 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomerGroupsHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomerGroupsHead.java @@ -60,7 +60,7 @@ public ByProjectKeyCustomerGroupsHead(ByProjectKeyCustomerGroupsHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/customer-groups", this.projectKey); + String httpRequestPath = String.format("%s/customer-groups", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomerGroupsKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomerGroupsKeyByKeyDelete.java index 0886e42f2b8..a042dce0eac 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomerGroupsKeyByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomerGroupsKeyByKeyDelete.java @@ -70,7 +70,8 @@ public ByProjectKeyCustomerGroupsKeyByKeyDelete(ByProjectKeyCustomerGroupsKeyByK @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/customer-groups/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/customer-groups/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomerGroupsKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomerGroupsKeyByKeyGet.java index 2a36b8a1e47..bc10a049a66 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomerGroupsKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomerGroupsKeyByKeyGet.java @@ -65,7 +65,8 @@ public ByProjectKeyCustomerGroupsKeyByKeyGet(ByProjectKeyCustomerGroupsKeyByKeyG @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/customer-groups/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/customer-groups/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomerGroupsKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomerGroupsKeyByKeyHead.java index 7ec65458d83..2211ff8dc18 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomerGroupsKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomerGroupsKeyByKeyHead.java @@ -60,7 +60,8 @@ public ByProjectKeyCustomerGroupsKeyByKeyHead(ByProjectKeyCustomerGroupsKeyByKey @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/customer-groups/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/customer-groups/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomerGroupsKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomerGroupsKeyByKeyPost.java index 7f17fc03e9d..eba7e666667 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomerGroupsKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomerGroupsKeyByKeyPost.java @@ -71,7 +71,8 @@ public ByProjectKeyCustomerGroupsKeyByKeyPost(ByProjectKeyCustomerGroupsKeyByKey @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/customer-groups/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/customer-groups/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomerGroupsPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomerGroupsPost.java index 63f586fce73..8bc42440abb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomerGroupsPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomerGroupsPost.java @@ -66,7 +66,7 @@ public ByProjectKeyCustomerGroupsPost(ByProjectKeyCustomerGroupsPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/customer-groups", this.projectKey); + String httpRequestPath = String.format("%s/customer-groups", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersByIDDelete.java index 3974cb552b6..58d08ceb78b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersByIDDelete.java @@ -70,7 +70,8 @@ public ByProjectKeyCustomersByIDDelete(ByProjectKeyCustomersByIDDelete t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/customers/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/customers/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersByIDGet.java index 7970f46abc8..9249fb9f5a6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersByIDGet.java @@ -65,7 +65,8 @@ public ByProjectKeyCustomersByIDGet(ByProjectKeyCustomersByIDGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/customers/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/customers/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersByIDHead.java index 41fdafba907..249ecbfc8df 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersByIDHead.java @@ -60,7 +60,8 @@ public ByProjectKeyCustomersByIDHead(ByProjectKeyCustomersByIDHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/customers/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/customers/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersByIDPost.java index 9742a9c9c5b..0b9248e2e9f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersByIDPost.java @@ -71,7 +71,8 @@ public ByProjectKeyCustomersByIDPost(ByProjectKeyCustomersByIDPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/customers/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/customers/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersEmailConfirmPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersEmailConfirmPost.java index ad7af5fa989..73ca0261a46 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersEmailConfirmPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersEmailConfirmPost.java @@ -61,7 +61,7 @@ public ByProjectKeyCustomersEmailConfirmPost(ByProjectKeyCustomersEmailConfirmPo @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/customers/email/confirm", this.projectKey); + String httpRequestPath = String.format("%s/customers/email/confirm", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersEmailTokenByEmailTokenGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersEmailTokenByEmailTokenGet.java index 1ff15d95dba..91e17ee7140 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersEmailTokenByEmailTokenGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersEmailTokenByEmailTokenGet.java @@ -66,7 +66,8 @@ public ByProjectKeyCustomersEmailTokenByEmailTokenGet(ByProjectKeyCustomersEmail @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/customers/email-token=%s", this.projectKey, this.emailToken); + String httpRequestPath = String.format("%s/customers/email-token=%s", encodePathParam(this.projectKey), + encodePathParam(this.emailToken)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersEmailTokenPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersEmailTokenPost.java index b2a6c427c2c..a30dfd9a530 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersEmailTokenPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersEmailTokenPost.java @@ -61,7 +61,7 @@ public ByProjectKeyCustomersEmailTokenPost(ByProjectKeyCustomersEmailTokenPost t @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/customers/email-token", this.projectKey); + String httpRequestPath = String.format("%s/customers/email-token", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersGet.java index 0e02f4cdd09..77b1daa6ad1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersGet.java @@ -65,7 +65,7 @@ public ByProjectKeyCustomersGet(ByProjectKeyCustomersGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/customers", this.projectKey); + String httpRequestPath = String.format("%s/customers", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersHead.java index b775e647df5..b06d10158ef 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersHead.java @@ -60,7 +60,7 @@ public ByProjectKeyCustomersHead(ByProjectKeyCustomersHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/customers", this.projectKey); + String httpRequestPath = String.format("%s/customers", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersKeyByKeyDelete.java index 0e681cb1c87..074a5b37db6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersKeyByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersKeyByKeyDelete.java @@ -70,7 +70,8 @@ public ByProjectKeyCustomersKeyByKeyDelete(ByProjectKeyCustomersKeyByKeyDelete t @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/customers/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/customers/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersKeyByKeyGet.java index ec4d662acec..9ec96933eb5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersKeyByKeyGet.java @@ -65,7 +65,8 @@ public ByProjectKeyCustomersKeyByKeyGet(ByProjectKeyCustomersKeyByKeyGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/customers/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/customers/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersKeyByKeyHead.java index c0e40485367..dd4fd4e925a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersKeyByKeyHead.java @@ -60,7 +60,8 @@ public ByProjectKeyCustomersKeyByKeyHead(ByProjectKeyCustomersKeyByKeyHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/customers/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/customers/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersKeyByKeyPost.java index 4317f750d95..e01536a372a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersKeyByKeyPost.java @@ -71,7 +71,8 @@ public ByProjectKeyCustomersKeyByKeyPost(ByProjectKeyCustomersKeyByKeyPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/customers/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/customers/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersPasswordPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersPasswordPost.java index 6725e235648..824073db4e8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersPasswordPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersPasswordPost.java @@ -61,7 +61,7 @@ public ByProjectKeyCustomersPasswordPost(ByProjectKeyCustomersPasswordPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/customers/password", this.projectKey); + String httpRequestPath = String.format("%s/customers/password", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersPasswordResetPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersPasswordResetPost.java index 361c3157c2a..0c84103d4b7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersPasswordResetPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersPasswordResetPost.java @@ -61,7 +61,7 @@ public ByProjectKeyCustomersPasswordResetPost(ByProjectKeyCustomersPasswordReset @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/customers/password/reset", this.projectKey); + String httpRequestPath = String.format("%s/customers/password/reset", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersPasswordTokenByPasswordTokenGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersPasswordTokenByPasswordTokenGet.java index 9fecc92f8fe..8cb34d06e33 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersPasswordTokenByPasswordTokenGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersPasswordTokenByPasswordTokenGet.java @@ -67,7 +67,8 @@ public ByProjectKeyCustomersPasswordTokenByPasswordTokenGet( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/customers/password-token=%s", this.projectKey, this.passwordToken); + String httpRequestPath = String.format("%s/customers/password-token=%s", encodePathParam(this.projectKey), + encodePathParam(this.passwordToken)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersPasswordTokenPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersPasswordTokenPost.java index 8d8a1cd03ea..30063572fd9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersPasswordTokenPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersPasswordTokenPost.java @@ -61,7 +61,7 @@ public ByProjectKeyCustomersPasswordTokenPost(ByProjectKeyCustomersPasswordToken @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/customers/password-token", this.projectKey); + String httpRequestPath = String.format("%s/customers/password-token", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersPost.java index 6c8148d7e6d..5a11963e14e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersPost.java @@ -67,7 +67,7 @@ public ByProjectKeyCustomersPost(ByProjectKeyCustomersPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/customers", this.projectKey); + String httpRequestPath = String.format("%s/customers", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersSearchHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersSearchHead.java index 78931770430..935b3b7aa9a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersSearchHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersSearchHead.java @@ -57,7 +57,7 @@ public ByProjectKeyCustomersSearchHead(ByProjectKeyCustomersSearchHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/customers/search", this.projectKey); + String httpRequestPath = String.format("%s/customers/search", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersSearchIndexingStatusGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersSearchIndexingStatusGet.java index 706e541f70c..d2a4f5caeaa 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersSearchIndexingStatusGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersSearchIndexingStatusGet.java @@ -57,7 +57,7 @@ public ByProjectKeyCustomersSearchIndexingStatusGet(ByProjectKeyCustomersSearchI @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/customers/search/indexing-status", this.projectKey); + String httpRequestPath = String.format("%s/customers/search/indexing-status", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersSearchPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersSearchPost.java index 713f0d27bf8..4ff9fe052c0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersSearchPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersSearchPost.java @@ -61,7 +61,7 @@ public ByProjectKeyCustomersSearchPost(ByProjectKeyCustomersSearchPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/customers/search", this.projectKey); + String httpRequestPath = String.format("%s/customers/search", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyDiscountCodesByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyDiscountCodesByIDDelete.java index 884703effef..915668719ff 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyDiscountCodesByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyDiscountCodesByIDDelete.java @@ -72,7 +72,8 @@ public ByProjectKeyDiscountCodesByIDDelete(ByProjectKeyDiscountCodesByIDDelete t @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/discount-codes/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/discount-codes/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyDiscountCodesByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyDiscountCodesByIDGet.java index ed0dae24a09..5e0f5165b54 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyDiscountCodesByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyDiscountCodesByIDGet.java @@ -65,7 +65,8 @@ public ByProjectKeyDiscountCodesByIDGet(ByProjectKeyDiscountCodesByIDGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/discount-codes/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/discount-codes/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyDiscountCodesByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyDiscountCodesByIDHead.java index d0ba568b2b7..2d61170dec9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyDiscountCodesByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyDiscountCodesByIDHead.java @@ -60,7 +60,8 @@ public ByProjectKeyDiscountCodesByIDHead(ByProjectKeyDiscountCodesByIDHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/discount-codes/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/discount-codes/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyDiscountCodesByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyDiscountCodesByIDPost.java index f452e075bce..f8b86c13a88 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyDiscountCodesByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyDiscountCodesByIDPost.java @@ -71,7 +71,8 @@ public ByProjectKeyDiscountCodesByIDPost(ByProjectKeyDiscountCodesByIDPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/discount-codes/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/discount-codes/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyDiscountCodesGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyDiscountCodesGet.java index cecfb583795..b02b9f9428a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyDiscountCodesGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyDiscountCodesGet.java @@ -65,7 +65,7 @@ public ByProjectKeyDiscountCodesGet(ByProjectKeyDiscountCodesGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/discount-codes", this.projectKey); + String httpRequestPath = String.format("%s/discount-codes", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyDiscountCodesHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyDiscountCodesHead.java index ae80b49903c..ef7ed5fb500 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyDiscountCodesHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyDiscountCodesHead.java @@ -60,7 +60,7 @@ public ByProjectKeyDiscountCodesHead(ByProjectKeyDiscountCodesHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/discount-codes", this.projectKey); + String httpRequestPath = String.format("%s/discount-codes", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyDiscountCodesKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyDiscountCodesKeyByKeyDelete.java index 50c395bd156..5237e50c3b5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyDiscountCodesKeyByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyDiscountCodesKeyByKeyDelete.java @@ -70,7 +70,8 @@ public ByProjectKeyDiscountCodesKeyByKeyDelete(ByProjectKeyDiscountCodesKeyByKey @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/discount-codes/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/discount-codes/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyDiscountCodesKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyDiscountCodesKeyByKeyGet.java index cbc48fe8c67..76f0d3e62a0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyDiscountCodesKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyDiscountCodesKeyByKeyGet.java @@ -65,7 +65,8 @@ public ByProjectKeyDiscountCodesKeyByKeyGet(ByProjectKeyDiscountCodesKeyByKeyGet @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/discount-codes/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/discount-codes/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyDiscountCodesKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyDiscountCodesKeyByKeyHead.java index b82bb463d31..38722fc67a2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyDiscountCodesKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyDiscountCodesKeyByKeyHead.java @@ -60,7 +60,8 @@ public ByProjectKeyDiscountCodesKeyByKeyHead(ByProjectKeyDiscountCodesKeyByKeyHe @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/discount-codes/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/discount-codes/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyDiscountCodesKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyDiscountCodesKeyByKeyPost.java index 0bacdc01e66..36986474ac3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyDiscountCodesKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyDiscountCodesKeyByKeyPost.java @@ -71,7 +71,8 @@ public ByProjectKeyDiscountCodesKeyByKeyPost(ByProjectKeyDiscountCodesKeyByKeyPo @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/discount-codes/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/discount-codes/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyDiscountCodesPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyDiscountCodesPost.java index 61fef7d1317..b101f124519 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyDiscountCodesPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyDiscountCodesPost.java @@ -67,7 +67,7 @@ public ByProjectKeyDiscountCodesPost(ByProjectKeyDiscountCodesPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/discount-codes", this.projectKey); + String httpRequestPath = String.format("%s/discount-codes", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyExtensionsByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyExtensionsByIDDelete.java index 922ef669f5d..742617751a0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyExtensionsByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyExtensionsByIDDelete.java @@ -68,7 +68,8 @@ public ByProjectKeyExtensionsByIDDelete(ByProjectKeyExtensionsByIDDelete t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/extensions/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/extensions/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyExtensionsByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyExtensionsByIDGet.java index e12e2bf0ea2..6b537d64fc3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyExtensionsByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyExtensionsByIDGet.java @@ -60,7 +60,8 @@ public ByProjectKeyExtensionsByIDGet(ByProjectKeyExtensionsByIDGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/extensions/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/extensions/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyExtensionsByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyExtensionsByIDHead.java index ed7a5b306c8..ad235e8fc1c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyExtensionsByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyExtensionsByIDHead.java @@ -60,7 +60,8 @@ public ByProjectKeyExtensionsByIDHead(ByProjectKeyExtensionsByIDHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/extensions/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/extensions/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyExtensionsByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyExtensionsByIDPost.java index ea536093626..275cd6f6f5d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyExtensionsByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyExtensionsByIDPost.java @@ -66,7 +66,8 @@ public ByProjectKeyExtensionsByIDPost(ByProjectKeyExtensionsByIDPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/extensions/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/extensions/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyExtensionsGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyExtensionsGet.java index 0ceb97ef499..4f2604da9d6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyExtensionsGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyExtensionsGet.java @@ -64,7 +64,7 @@ public ByProjectKeyExtensionsGet(ByProjectKeyExtensionsGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/extensions", this.projectKey); + String httpRequestPath = String.format("%s/extensions", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyExtensionsHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyExtensionsHead.java index aaf2301022c..b23eeec43b9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyExtensionsHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyExtensionsHead.java @@ -60,7 +60,7 @@ public ByProjectKeyExtensionsHead(ByProjectKeyExtensionsHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/extensions", this.projectKey); + String httpRequestPath = String.format("%s/extensions", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyExtensionsKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyExtensionsKeyByKeyDelete.java index c624ad01f61..42bc04d95ab 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyExtensionsKeyByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyExtensionsKeyByKeyDelete.java @@ -68,7 +68,8 @@ public ByProjectKeyExtensionsKeyByKeyDelete(ByProjectKeyExtensionsKeyByKeyDelete @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/extensions/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/extensions/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyExtensionsKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyExtensionsKeyByKeyGet.java index fe8fc0110d4..8d4c38bf976 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyExtensionsKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyExtensionsKeyByKeyGet.java @@ -60,7 +60,8 @@ public ByProjectKeyExtensionsKeyByKeyGet(ByProjectKeyExtensionsKeyByKeyGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/extensions/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/extensions/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyExtensionsKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyExtensionsKeyByKeyHead.java index a03b8fd190b..8956be58a8b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyExtensionsKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyExtensionsKeyByKeyHead.java @@ -60,7 +60,8 @@ public ByProjectKeyExtensionsKeyByKeyHead(ByProjectKeyExtensionsKeyByKeyHead t) @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/extensions/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/extensions/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyExtensionsKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyExtensionsKeyByKeyPost.java index aba6eab54f6..79f30db9d16 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyExtensionsKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyExtensionsKeyByKeyPost.java @@ -66,7 +66,8 @@ public ByProjectKeyExtensionsKeyByKeyPost(ByProjectKeyExtensionsKeyByKeyPost t) @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/extensions/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/extensions/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyExtensionsPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyExtensionsPost.java index e800d2e8b25..f54930aaf17 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyExtensionsPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyExtensionsPost.java @@ -61,7 +61,7 @@ public ByProjectKeyExtensionsPost(ByProjectKeyExtensionsPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/extensions", this.projectKey); + String httpRequestPath = String.format("%s/extensions", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyGet.java index 59a899940d6..d43c057451c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyGet.java @@ -54,7 +54,7 @@ public ByProjectKeyGet(ByProjectKeyGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s", this.projectKey); + String httpRequestPath = String.format("%s", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyGraphqlPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyGraphqlPost.java index dde17c9f136..b0214b6d3c3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyGraphqlPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyGraphqlPost.java @@ -60,7 +60,7 @@ public ByProjectKeyGraphqlPost(ByProjectKeyGraphqlPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/graphql", this.projectKey); + String httpRequestPath = String.format("%s/graphql", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyHead.java index 5da54f036b3..51a4db7d933 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyHead.java @@ -52,7 +52,7 @@ public ByProjectKeyHead(ByProjectKeyHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s", this.projectKey); + String httpRequestPath = String.format("%s", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInBusinessUnitKeyByBusinessUnitKeyMeCustomersPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInBusinessUnitKeyByBusinessUnitKeyMeCustomersPost.java index af1d5c1e939..7bf0b14b7c1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInBusinessUnitKeyByBusinessUnitKeyMeCustomersPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInBusinessUnitKeyByBusinessUnitKeyMeCustomersPost.java @@ -66,8 +66,8 @@ public ByProjectKeyInBusinessUnitKeyByBusinessUnitKeyMeCustomersPost( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-business-unit/key=%s/me/customers", this.projectKey, - this.businessUnitKey); + String httpRequestPath = String.format("%s/in-business-unit/key=%s/me/customers", + encodePathParam(this.projectKey), encodePathParam(this.businessUnitKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsByIDDelete.java index 605809ed0a1..0c2e7b818a6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsByIDDelete.java @@ -75,8 +75,8 @@ public ByProjectKeyInStoreKeyByStoreKeyCartDiscountsByIDDelete( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/cart-discounts/%s", this.projectKey, this.storeKey, - this.ID); + String httpRequestPath = String.format("%s/in-store/key=%s/cart-discounts/%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsByIDGet.java index a12fd088d0c..be9a84150ab 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsByIDGet.java @@ -71,8 +71,8 @@ public ByProjectKeyInStoreKeyByStoreKeyCartDiscountsByIDGet( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/cart-discounts/%s", this.projectKey, this.storeKey, - this.ID); + String httpRequestPath = String.format("%s/in-store/key=%s/cart-discounts/%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsByIDHead.java index 1bcddc925e9..04c40124bbd 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsByIDHead.java @@ -66,8 +66,8 @@ public ByProjectKeyInStoreKeyByStoreKeyCartDiscountsByIDHead( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/cart-discounts/%s", this.projectKey, this.storeKey, - this.ID); + String httpRequestPath = String.format("%s/in-store/key=%s/cart-discounts/%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsByIDPost.java index 2aab3efd677..cbd31adee74 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsByIDPost.java @@ -77,8 +77,8 @@ public ByProjectKeyInStoreKeyByStoreKeyCartDiscountsByIDPost( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/cart-discounts/%s", this.projectKey, this.storeKey, - this.ID); + String httpRequestPath = String.format("%s/in-store/key=%s/cart-discounts/%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsGet.java index 4fe3bdaf340..e01d51b9f2c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsGet.java @@ -69,7 +69,8 @@ public ByProjectKeyInStoreKeyByStoreKeyCartDiscountsGet(ByProjectKeyInStoreKeyBy @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/cart-discounts", this.projectKey, this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/cart-discounts", encodePathParam(this.projectKey), + encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsHead.java index 77633515ac2..8989ea342c4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsHead.java @@ -65,7 +65,8 @@ public ByProjectKeyInStoreKeyByStoreKeyCartDiscountsHead(ByProjectKeyInStoreKeyB @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/cart-discounts", this.projectKey, this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/cart-discounts", encodePathParam(this.projectKey), + encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsKeyByKeyDelete.java index b1edead13e9..65203162a2b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsKeyByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsKeyByKeyDelete.java @@ -76,8 +76,8 @@ public ByProjectKeyInStoreKeyByStoreKeyCartDiscountsKeyByKeyDelete( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/cart-discounts/key=%s", this.projectKey, - this.storeKey, this.key); + String httpRequestPath = String.format("%s/in-store/key=%s/cart-discounts/key=%s", + encodePathParam(this.projectKey), encodePathParam(this.storeKey), encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsKeyByKeyGet.java index da56f8e9892..b2140ab6fa1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsKeyByKeyGet.java @@ -72,8 +72,8 @@ public ByProjectKeyInStoreKeyByStoreKeyCartDiscountsKeyByKeyGet( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/cart-discounts/key=%s", this.projectKey, - this.storeKey, this.key); + String httpRequestPath = String.format("%s/in-store/key=%s/cart-discounts/key=%s", + encodePathParam(this.projectKey), encodePathParam(this.storeKey), encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsKeyByKeyHead.java index 24766bf7074..45c27460546 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsKeyByKeyHead.java @@ -67,8 +67,8 @@ public ByProjectKeyInStoreKeyByStoreKeyCartDiscountsKeyByKeyHead( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/cart-discounts/key=%s", this.projectKey, - this.storeKey, this.key); + String httpRequestPath = String.format("%s/in-store/key=%s/cart-discounts/key=%s", + encodePathParam(this.projectKey), encodePathParam(this.storeKey), encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsKeyByKeyPost.java index bb050c0e12e..7fcc6fe2669 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsKeyByKeyPost.java @@ -78,8 +78,8 @@ public ByProjectKeyInStoreKeyByStoreKeyCartDiscountsKeyByKeyPost( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/cart-discounts/key=%s", this.projectKey, - this.storeKey, this.key); + String httpRequestPath = String.format("%s/in-store/key=%s/cart-discounts/key=%s", + encodePathParam(this.projectKey), encodePathParam(this.storeKey), encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsPost.java index 2a5ca1d0673..90b71c44d47 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartDiscountsPost.java @@ -71,7 +71,8 @@ public ByProjectKeyInStoreKeyByStoreKeyCartDiscountsPost(ByProjectKeyInStoreKeyB @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/cart-discounts", this.projectKey, this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/cart-discounts", encodePathParam(this.projectKey), + encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsByIDDelete.java index 91b293a80d4..d8d318a042a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsByIDDelete.java @@ -74,7 +74,8 @@ public ByProjectKeyInStoreKeyByStoreKeyCartsByIDDelete(ByProjectKeyInStoreKeyByS @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/carts/%s", this.projectKey, this.storeKey, this.ID); + String httpRequestPath = String.format("%s/in-store/key=%s/carts/%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsByIDGet.java index aee9259419b..89e20ad76f1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsByIDGet.java @@ -71,7 +71,8 @@ public ByProjectKeyInStoreKeyByStoreKeyCartsByIDGet(ByProjectKeyInStoreKeyByStor @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/carts/%s", this.projectKey, this.storeKey, this.ID); + String httpRequestPath = String.format("%s/in-store/key=%s/carts/%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsByIDHead.java index f999424c5e3..99dae6457db 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsByIDHead.java @@ -65,7 +65,8 @@ public ByProjectKeyInStoreKeyByStoreKeyCartsByIDHead(ByProjectKeyInStoreKeyBySto @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/carts/%s", this.projectKey, this.storeKey, this.ID); + String httpRequestPath = String.format("%s/in-store/key=%s/carts/%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsByIDPost.java index 40ef6379b27..00c3fe3db4a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsByIDPost.java @@ -75,7 +75,8 @@ public ByProjectKeyInStoreKeyByStoreKeyCartsByIDPost(ByProjectKeyInStoreKeyBySto @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/carts/%s", this.projectKey, this.storeKey, this.ID); + String httpRequestPath = String.format("%s/in-store/key=%s/carts/%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsCustomerIdByCustomerIdGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsCustomerIdByCustomerIdGet.java index f56ba706768..d4361243fac 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsCustomerIdByCustomerIdGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsCustomerIdByCustomerIdGet.java @@ -74,8 +74,8 @@ public ByProjectKeyInStoreKeyByStoreKeyCartsCustomerIdByCustomerIdGet( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/carts/customer-id=%s", this.projectKey, - this.storeKey, this.customerId); + String httpRequestPath = String.format("%s/in-store/key=%s/carts/customer-id=%s", + encodePathParam(this.projectKey), encodePathParam(this.storeKey), encodePathParam(this.customerId)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsCustomerIdByCustomerIdHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsCustomerIdByCustomerIdHead.java index b7fc5c779b6..27761a76d6b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsCustomerIdByCustomerIdHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsCustomerIdByCustomerIdHead.java @@ -67,8 +67,8 @@ public ByProjectKeyInStoreKeyByStoreKeyCartsCustomerIdByCustomerIdHead( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/carts/customer-id=%s", this.projectKey, - this.storeKey, this.customerId); + String httpRequestPath = String.format("%s/in-store/key=%s/carts/customer-id=%s", + encodePathParam(this.projectKey), encodePathParam(this.storeKey), encodePathParam(this.customerId)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsGet.java index 2f2f27059bb..97d8efe9938 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsGet.java @@ -69,7 +69,8 @@ public ByProjectKeyInStoreKeyByStoreKeyCartsGet(ByProjectKeyInStoreKeyByStoreKey @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/carts", this.projectKey, this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/carts", encodePathParam(this.projectKey), + encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsHead.java index af059262f4c..b67711a3563 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsHead.java @@ -65,7 +65,8 @@ public ByProjectKeyInStoreKeyByStoreKeyCartsHead(ByProjectKeyInStoreKeyByStoreKe @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/carts", this.projectKey, this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/carts", encodePathParam(this.projectKey), + encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyDelete.java index 68fa3d48afa..fafa68d9f6e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyDelete.java @@ -74,8 +74,8 @@ public ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyDelete(ByProjectKeyInStoreKe @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/carts/key=%s", this.projectKey, this.storeKey, - this.key); + String httpRequestPath = String.format("%s/in-store/key=%s/carts/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyGet.java index 3e6fb3ce698..281092337bf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyGet.java @@ -71,8 +71,8 @@ public ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyGet(ByProjectKeyInStoreKeyBy @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/carts/key=%s", this.projectKey, this.storeKey, - this.key); + String httpRequestPath = String.format("%s/in-store/key=%s/carts/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyHead.java index 6e9c2b2a556..dbc0de8788f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyHead.java @@ -65,8 +65,8 @@ public ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyHead(ByProjectKeyInStoreKeyB @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/carts/key=%s", this.projectKey, this.storeKey, - this.key); + String httpRequestPath = String.format("%s/in-store/key=%s/carts/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyPost.java index 5c6d44a113a..b3f8971d246 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyPost.java @@ -75,8 +75,8 @@ public ByProjectKeyInStoreKeyByStoreKeyCartsKeyByKeyPost(ByProjectKeyInStoreKeyB @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/carts/key=%s", this.projectKey, this.storeKey, - this.key); + String httpRequestPath = String.format("%s/in-store/key=%s/carts/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsPost.java index aa2ff1fa83c..65433f15b8f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsPost.java @@ -79,7 +79,8 @@ public ByProjectKeyInStoreKeyByStoreKeyCartsPost(ByProjectKeyInStoreKeyByStoreKe @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/carts", this.projectKey, this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/carts", encodePathParam(this.projectKey), + encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsReplicatePost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsReplicatePost.java index afdf27dd4cb..1cae3393fc5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsReplicatePost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCartsReplicatePost.java @@ -72,7 +72,8 @@ public ByProjectKeyInStoreKeyByStoreKeyCartsReplicatePost(ByProjectKeyInStoreKey @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/carts/replicate", this.projectKey, this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/carts/replicate", encodePathParam(this.projectKey), + encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersByIDDelete.java index ffdd5ce35a1..687e746c62e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersByIDDelete.java @@ -75,8 +75,8 @@ public ByProjectKeyInStoreKeyByStoreKeyCustomersByIDDelete(ByProjectKeyInStoreKe @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/customers/%s", this.projectKey, this.storeKey, - this.ID); + String httpRequestPath = String.format("%s/in-store/key=%s/customers/%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersByIDGet.java index 9647248195d..216495c5c3a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersByIDGet.java @@ -70,8 +70,8 @@ public ByProjectKeyInStoreKeyByStoreKeyCustomersByIDGet(ByProjectKeyInStoreKeyBy @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/customers/%s", this.projectKey, this.storeKey, - this.ID); + String httpRequestPath = String.format("%s/in-store/key=%s/customers/%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersByIDHead.java index 99e45504daa..2f2e0b50c14 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersByIDHead.java @@ -65,8 +65,8 @@ public ByProjectKeyInStoreKeyByStoreKeyCustomersByIDHead(ByProjectKeyInStoreKeyB @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/customers/%s", this.projectKey, this.storeKey, - this.ID); + String httpRequestPath = String.format("%s/in-store/key=%s/customers/%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersByIDPost.java index 4d5652442ec..92516a40e2f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersByIDPost.java @@ -76,8 +76,8 @@ public ByProjectKeyInStoreKeyByStoreKeyCustomersByIDPost(ByProjectKeyInStoreKeyB @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/customers/%s", this.projectKey, this.storeKey, - this.ID); + String httpRequestPath = String.format("%s/in-store/key=%s/customers/%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersEmailConfirmPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersEmailConfirmPost.java index a2e431ed864..609da650ab6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersEmailConfirmPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersEmailConfirmPost.java @@ -69,8 +69,8 @@ public ByProjectKeyInStoreKeyByStoreKeyCustomersEmailConfirmPost( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/customers/email/confirm", this.projectKey, - this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/customers/email/confirm", + encodePathParam(this.projectKey), encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersEmailTokenByEmailTokenGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersEmailTokenByEmailTokenGet.java index ad5bdf950ed..6b35f1b7cb5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersEmailTokenByEmailTokenGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersEmailTokenByEmailTokenGet.java @@ -72,8 +72,8 @@ public ByProjectKeyInStoreKeyByStoreKeyCustomersEmailTokenByEmailTokenGet( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/customers/email-token=%s", this.projectKey, - this.storeKey, this.emailToken); + String httpRequestPath = String.format("%s/in-store/key=%s/customers/email-token=%s", + encodePathParam(this.projectKey), encodePathParam(this.storeKey), encodePathParam(this.emailToken)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersEmailTokenPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersEmailTokenPost.java index 8a6c9a7d5b9..2f0d1c504e1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersEmailTokenPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersEmailTokenPost.java @@ -67,8 +67,8 @@ public ByProjectKeyInStoreKeyByStoreKeyCustomersEmailTokenPost( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/customers/email-token", this.projectKey, - this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/customers/email-token", + encodePathParam(this.projectKey), encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersGet.java index c03fc565d6d..8f5c3066788 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersGet.java @@ -69,7 +69,8 @@ public ByProjectKeyInStoreKeyByStoreKeyCustomersGet(ByProjectKeyInStoreKeyByStor @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/customers", this.projectKey, this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/customers", encodePathParam(this.projectKey), + encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersHead.java index 32eb69fc812..c8d3feb51f4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersHead.java @@ -65,7 +65,8 @@ public ByProjectKeyInStoreKeyByStoreKeyCustomersHead(ByProjectKeyInStoreKeyBySto @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/customers", this.projectKey, this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/customers", encodePathParam(this.projectKey), + encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersKeyByKeyDelete.java index 0bf03b728d9..b4da2127d5d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersKeyByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersKeyByKeyDelete.java @@ -77,8 +77,8 @@ public ByProjectKeyInStoreKeyByStoreKeyCustomersKeyByKeyDelete( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/customers/key=%s", this.projectKey, this.storeKey, - this.key); + String httpRequestPath = String.format("%s/in-store/key=%s/customers/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersKeyByKeyGet.java index 13b06c59f05..3e46ed0fe17 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersKeyByKeyGet.java @@ -71,8 +71,8 @@ public ByProjectKeyInStoreKeyByStoreKeyCustomersKeyByKeyGet( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/customers/key=%s", this.projectKey, this.storeKey, - this.key); + String httpRequestPath = String.format("%s/in-store/key=%s/customers/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersKeyByKeyHead.java index d1c07db407f..46fed76806e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersKeyByKeyHead.java @@ -66,8 +66,8 @@ public ByProjectKeyInStoreKeyByStoreKeyCustomersKeyByKeyHead( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/customers/key=%s", this.projectKey, this.storeKey, - this.key); + String httpRequestPath = String.format("%s/in-store/key=%s/customers/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersKeyByKeyPost.java index 9c66758c463..9147fdf2366 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersKeyByKeyPost.java @@ -77,8 +77,8 @@ public ByProjectKeyInStoreKeyByStoreKeyCustomersKeyByKeyPost( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/customers/key=%s", this.projectKey, this.storeKey, - this.key); + String httpRequestPath = String.format("%s/in-store/key=%s/customers/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordPost.java index 101272f9c85..0c0d4383b4f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordPost.java @@ -66,7 +66,8 @@ public ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordPost( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/customers/password", this.projectKey, this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/customers/password", + encodePathParam(this.projectKey), encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordResetPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordResetPost.java index d552045611e..639eddbc9ee 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordResetPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordResetPost.java @@ -69,8 +69,8 @@ public ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordResetPost( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/customers/password/reset", this.projectKey, - this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/customers/password/reset", + encodePathParam(this.projectKey), encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordTokenByPasswordTokenGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordTokenByPasswordTokenGet.java index fee70e8a606..ef40027953c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordTokenByPasswordTokenGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordTokenByPasswordTokenGet.java @@ -72,8 +72,8 @@ public ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordTokenByPasswordTokenGet( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/customers/password-token=%s", this.projectKey, - this.storeKey, this.passwordToken); + String httpRequestPath = String.format("%s/in-store/key=%s/customers/password-token=%s", + encodePathParam(this.projectKey), encodePathParam(this.storeKey), encodePathParam(this.passwordToken)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordTokenPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordTokenPost.java index 8143fc9283d..6d135eee948 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordTokenPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordTokenPost.java @@ -68,8 +68,8 @@ public ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordTokenPost( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/customers/password-token", this.projectKey, - this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/customers/password-token", + encodePathParam(this.projectKey), encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersPost.java index b52cbfdb283..6b5df01b755 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyCustomersPost.java @@ -72,7 +72,8 @@ public ByProjectKeyInStoreKeyByStoreKeyCustomersPost(ByProjectKeyInStoreKeyBySto @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/customers", this.projectKey, this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/customers", encodePathParam(this.projectKey), + encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyLoginPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyLoginPost.java index 1d6d66f3552..106266a2231 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyLoginPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyLoginPost.java @@ -67,7 +67,8 @@ public ByProjectKeyInStoreKeyByStoreKeyLoginPost(ByProjectKeyInStoreKeyByStoreKe @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/login", this.projectKey, this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/login", encodePathParam(this.projectKey), + encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeActiveCartGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeActiveCartGet.java index 747c4c96100..0115a2b0d21 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeActiveCartGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeActiveCartGet.java @@ -74,7 +74,8 @@ public ByProjectKeyInStoreKeyByStoreKeyMeActiveCartGet(ByProjectKeyInStoreKeyByS @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/me/active-cart", this.projectKey, this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/me/active-cart", encodePathParam(this.projectKey), + encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeActiveCartHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeActiveCartHead.java index 4516a0b1f67..991ebe40a50 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeActiveCartHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeActiveCartHead.java @@ -68,7 +68,8 @@ public ByProjectKeyInStoreKeyByStoreKeyMeActiveCartHead(ByProjectKeyInStoreKeyBy @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/me/active-cart", this.projectKey, this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/me/active-cart", encodePathParam(this.projectKey), + encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDDelete.java index 0b1d843849e..cc17691ecfb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDDelete.java @@ -80,8 +80,8 @@ public ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDDelete(ByProjectKeyInStoreKeyB @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/me/carts/%s", this.projectKey, this.storeKey, - this.ID); + String httpRequestPath = String.format("%s/in-store/key=%s/me/carts/%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDGet.java index b8a0912e5a0..1b998ea1b36 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDGet.java @@ -77,8 +77,8 @@ public ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDGet(ByProjectKeyInStoreKeyBySt @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/me/carts/%s", this.projectKey, this.storeKey, - this.ID); + String httpRequestPath = String.format("%s/in-store/key=%s/me/carts/%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDHead.java index a4513ea74c4..ab590b8ab2e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDHead.java @@ -66,8 +66,8 @@ public ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDHead(ByProjectKeyInStoreKeyByS @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/me/carts/%s", this.projectKey, this.storeKey, - this.ID); + String httpRequestPath = String.format("%s/in-store/key=%s/me/carts/%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDPost.java index 430e93bda37..73ed7f2ce20 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDPost.java @@ -82,8 +82,8 @@ public ByProjectKeyInStoreKeyByStoreKeyMeCartsByIDPost(ByProjectKeyInStoreKeyByS @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/me/carts/%s", this.projectKey, this.storeKey, - this.ID); + String httpRequestPath = String.format("%s/in-store/key=%s/me/carts/%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsGet.java index d5278df87f3..9217fd2e530 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsGet.java @@ -70,7 +70,8 @@ public ByProjectKeyInStoreKeyByStoreKeyMeCartsGet(ByProjectKeyInStoreKeyByStoreK @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/me/carts", this.projectKey, this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/me/carts", encodePathParam(this.projectKey), + encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsHead.java index 6bab846da6f..585c8860c25 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsHead.java @@ -66,7 +66,8 @@ public ByProjectKeyInStoreKeyByStoreKeyMeCartsHead(ByProjectKeyInStoreKeyByStore @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/me/carts", this.projectKey, this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/me/carts", encodePathParam(this.projectKey), + encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsPost.java index 0d836ad239a..c6a1874acfe 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeCartsPost.java @@ -80,7 +80,8 @@ public ByProjectKeyInStoreKeyByStoreKeyMeCartsPost(ByProjectKeyInStoreKeyByStore @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/me/carts", this.projectKey, this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/me/carts", encodePathParam(this.projectKey), + encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeDelete.java index 6b1578346fc..b0eca3bebff 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeDelete.java @@ -66,7 +66,8 @@ public ByProjectKeyInStoreKeyByStoreKeyMeDelete(ByProjectKeyInStoreKeyByStoreKey @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/me", this.projectKey, this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/me", encodePathParam(this.projectKey), + encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeEmailConfirmPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeEmailConfirmPost.java index b1c3a3535bc..ae97cb167b6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeEmailConfirmPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeEmailConfirmPost.java @@ -65,7 +65,8 @@ public ByProjectKeyInStoreKeyByStoreKeyMeEmailConfirmPost(ByProjectKeyInStoreKey @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/me/email/confirm", this.projectKey, this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/me/email/confirm", encodePathParam(this.projectKey), + encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeGet.java index 609172fd142..fc9b33de289 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeGet.java @@ -67,7 +67,8 @@ public ByProjectKeyInStoreKeyByStoreKeyMeGet(ByProjectKeyInStoreKeyByStoreKeyMeG @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/me", this.projectKey, this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/me", encodePathParam(this.projectKey), + encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeLoginPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeLoginPost.java index 307c3268e43..6aad1644abe 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeLoginPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeLoginPost.java @@ -71,7 +71,8 @@ public ByProjectKeyInStoreKeyByStoreKeyMeLoginPost(ByProjectKeyInStoreKeyByStore @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/me/login", this.projectKey, this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/me/login", encodePathParam(this.projectKey), + encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeOrdersByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeOrdersByIDGet.java index 64cf905a7be..b5a7daec88f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeOrdersByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeOrdersByIDGet.java @@ -77,8 +77,8 @@ public ByProjectKeyInStoreKeyByStoreKeyMeOrdersByIDGet(ByProjectKeyInStoreKeyByS @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/me/orders/%s", this.projectKey, this.storeKey, - this.ID); + String httpRequestPath = String.format("%s/in-store/key=%s/me/orders/%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeOrdersByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeOrdersByIDHead.java index 1d034282ba2..7f2a10af53a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeOrdersByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeOrdersByIDHead.java @@ -72,8 +72,8 @@ public ByProjectKeyInStoreKeyByStoreKeyMeOrdersByIDHead(ByProjectKeyInStoreKeyBy @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/me/orders/%s", this.projectKey, this.storeKey, - this.ID); + String httpRequestPath = String.format("%s/in-store/key=%s/me/orders/%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet.java index c04d076c80c..92da4be5e30 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet.java @@ -70,7 +70,8 @@ public ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet(ByProjectKeyInStoreKeyByStore @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/me/orders", this.projectKey, this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/me/orders", encodePathParam(this.projectKey), + encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeOrdersHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeOrdersHead.java index f7653c52fab..811bb94660b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeOrdersHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeOrdersHead.java @@ -72,7 +72,8 @@ public ByProjectKeyInStoreKeyByStoreKeyMeOrdersHead(ByProjectKeyInStoreKeyByStor @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/me/orders", this.projectKey, this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/me/orders", encodePathParam(this.projectKey), + encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeOrdersPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeOrdersPost.java index ce5b1bbd313..a3f8fc1a656 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeOrdersPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeOrdersPost.java @@ -87,7 +87,8 @@ public ByProjectKeyInStoreKeyByStoreKeyMeOrdersPost(ByProjectKeyInStoreKeyByStor @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/me/orders", this.projectKey, this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/me/orders", encodePathParam(this.projectKey), + encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMePasswordPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMePasswordPost.java index e9696969280..3168b6935b3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMePasswordPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMePasswordPost.java @@ -66,7 +66,8 @@ public ByProjectKeyInStoreKeyByStoreKeyMePasswordPost(ByProjectKeyInStoreKeyBySt @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/me/password", this.projectKey, this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/me/password", encodePathParam(this.projectKey), + encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMePasswordResetPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMePasswordResetPost.java index fe84740077c..b3962c94c34 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMePasswordResetPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMePasswordResetPost.java @@ -67,7 +67,8 @@ public ByProjectKeyInStoreKeyByStoreKeyMePasswordResetPost(ByProjectKeyInStoreKe @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/me/password/reset", this.projectKey, this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/me/password/reset", encodePathParam(this.projectKey), + encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMePost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMePost.java index 64b5c8dd34d..423cd588ac3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMePost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMePost.java @@ -63,7 +63,8 @@ public ByProjectKeyInStoreKeyByStoreKeyMePost(ByProjectKeyInStoreKeyByStoreKeyMe @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/me", this.projectKey, this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/me", encodePathParam(this.projectKey), + encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDDelete.java index d4032d24f03..7b6be74afba 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDDelete.java @@ -83,8 +83,8 @@ public ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDDelete( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/me/shopping-lists/%s", this.projectKey, - this.storeKey, this.ID); + String httpRequestPath = String.format("%s/in-store/key=%s/me/shopping-lists/%s", + encodePathParam(this.projectKey), encodePathParam(this.storeKey), encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDGet.java index 630d34985fd..3fea732270b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDGet.java @@ -78,8 +78,8 @@ public ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDGet( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/me/shopping-lists/%s", this.projectKey, - this.storeKey, this.ID); + String httpRequestPath = String.format("%s/in-store/key=%s/me/shopping-lists/%s", + encodePathParam(this.projectKey), encodePathParam(this.storeKey), encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDHead.java index ba3cec1d13f..5bbb96bd4b9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDHead.java @@ -73,8 +73,8 @@ public ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDHead( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/me/shopping-lists/%s", this.projectKey, - this.storeKey, this.ID); + String httpRequestPath = String.format("%s/in-store/key=%s/me/shopping-lists/%s", + encodePathParam(this.projectKey), encodePathParam(this.storeKey), encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDPost.java index 7578c9245ba..60085a093cc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDPost.java @@ -84,8 +84,8 @@ public ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDPost( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/me/shopping-lists/%s", this.projectKey, - this.storeKey, this.ID); + String httpRequestPath = String.format("%s/in-store/key=%s/me/shopping-lists/%s", + encodePathParam(this.projectKey), encodePathParam(this.storeKey), encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsGet.java index bf49eb19f68..a2531e11a90 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsGet.java @@ -77,7 +77,8 @@ public ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsGet(ByProjectKeyInStoreKey @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/me/shopping-lists", this.projectKey, this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/me/shopping-lists", encodePathParam(this.projectKey), + encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsHead.java index 35b2dd7dfef..16c8827193a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsHead.java @@ -72,7 +72,8 @@ public ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsHead(ByProjectKeyInStoreKe @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/me/shopping-lists", this.projectKey, this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/me/shopping-lists", encodePathParam(this.projectKey), + encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyDelete.java index 0a2da7d103d..be8cba1cec8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyDelete.java @@ -83,8 +83,8 @@ public ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyDelete( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/me/shopping-lists/key=%s", this.projectKey, - this.storeKey, this.key); + String httpRequestPath = String.format("%s/in-store/key=%s/me/shopping-lists/key=%s", + encodePathParam(this.projectKey), encodePathParam(this.storeKey), encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyGet.java index 5d36c1e9054..d0c849faadc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyGet.java @@ -79,8 +79,8 @@ public ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyGet( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/me/shopping-lists/key=%s", this.projectKey, - this.storeKey, this.key); + String httpRequestPath = String.format("%s/in-store/key=%s/me/shopping-lists/key=%s", + encodePathParam(this.projectKey), encodePathParam(this.storeKey), encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyHead.java index c3574ebfd8e..7fde7860614 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyHead.java @@ -74,8 +74,8 @@ public ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyHead( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/me/shopping-lists/key=%s", this.projectKey, - this.storeKey, this.key); + String httpRequestPath = String.format("%s/in-store/key=%s/me/shopping-lists/key=%s", + encodePathParam(this.projectKey), encodePathParam(this.storeKey), encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyPost.java index bbcb3364df7..94f648c8629 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyPost.java @@ -85,8 +85,8 @@ public ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyPost( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/me/shopping-lists/key=%s", this.projectKey, - this.storeKey, this.key); + String httpRequestPath = String.format("%s/in-store/key=%s/me/shopping-lists/key=%s", + encodePathParam(this.projectKey), encodePathParam(this.storeKey), encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsPost.java index 2b756719aa5..ef1d41fe78b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsPost.java @@ -72,7 +72,8 @@ public ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsPost(ByProjectKeyInStoreKe @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/me/shopping-lists", this.projectKey, this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/me/shopping-lists", encodePathParam(this.projectKey), + encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeSignupPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeSignupPost.java index 06ad094a312..61700979c28 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeSignupPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeSignupPost.java @@ -67,7 +67,8 @@ public ByProjectKeyInStoreKeyByStoreKeyMeSignupPost(ByProjectKeyInStoreKeyByStor @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/me/signup", this.projectKey, this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/me/signup", encodePathParam(this.projectKey), + encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersByIDDelete.java index 766a8e18553..b5fd1d25f00 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersByIDDelete.java @@ -75,7 +75,8 @@ public ByProjectKeyInStoreKeyByStoreKeyOrdersByIDDelete(ByProjectKeyInStoreKeyBy @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/orders/%s", this.projectKey, this.storeKey, this.ID); + String httpRequestPath = String.format("%s/in-store/key=%s/orders/%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersByIDGet.java index 59e16b98799..e1cc52c8763 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersByIDGet.java @@ -70,7 +70,8 @@ public ByProjectKeyInStoreKeyByStoreKeyOrdersByIDGet(ByProjectKeyInStoreKeyBySto @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/orders/%s", this.projectKey, this.storeKey, this.ID); + String httpRequestPath = String.format("%s/in-store/key=%s/orders/%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersByIDHead.java index 38fd2c2b421..18146b6c9fe 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersByIDHead.java @@ -65,7 +65,8 @@ public ByProjectKeyInStoreKeyByStoreKeyOrdersByIDHead(ByProjectKeyInStoreKeyBySt @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/orders/%s", this.projectKey, this.storeKey, this.ID); + String httpRequestPath = String.format("%s/in-store/key=%s/orders/%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersByIDPost.java index 14e0df96aa7..454445d78e1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersByIDPost.java @@ -75,7 +75,8 @@ public ByProjectKeyInStoreKeyByStoreKeyOrdersByIDPost(ByProjectKeyInStoreKeyBySt @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/orders/%s", this.projectKey, this.storeKey, this.ID); + String httpRequestPath = String.format("%s/in-store/key=%s/orders/%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersGet.java index c968775512d..d231e072268 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersGet.java @@ -69,7 +69,8 @@ public ByProjectKeyInStoreKeyByStoreKeyOrdersGet(ByProjectKeyInStoreKeyByStoreKe @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/orders", this.projectKey, this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/orders", encodePathParam(this.projectKey), + encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersHead.java index 075f9f22957..bec5a646064 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersHead.java @@ -65,7 +65,8 @@ public ByProjectKeyInStoreKeyByStoreKeyOrdersHead(ByProjectKeyInStoreKeyByStoreK @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/orders", this.projectKey, this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/orders", encodePathParam(this.projectKey), + encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersOrderNumberByOrderNumberDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersOrderNumberByOrderNumberDelete.java index 35d4b7cb4a9..07a8d9e5b71 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersOrderNumberByOrderNumberDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersOrderNumberByOrderNumberDelete.java @@ -77,8 +77,8 @@ public ByProjectKeyInStoreKeyByStoreKeyOrdersOrderNumberByOrderNumberDelete( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/orders/order-number=%s", this.projectKey, - this.storeKey, this.orderNumber); + String httpRequestPath = String.format("%s/in-store/key=%s/orders/order-number=%s", + encodePathParam(this.projectKey), encodePathParam(this.storeKey), encodePathParam(this.orderNumber)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersOrderNumberByOrderNumberGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersOrderNumberByOrderNumberGet.java index 183c0801d90..cbc7bde4ea2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersOrderNumberByOrderNumberGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersOrderNumberByOrderNumberGet.java @@ -72,8 +72,8 @@ public ByProjectKeyInStoreKeyByStoreKeyOrdersOrderNumberByOrderNumberGet( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/orders/order-number=%s", this.projectKey, - this.storeKey, this.orderNumber); + String httpRequestPath = String.format("%s/in-store/key=%s/orders/order-number=%s", + encodePathParam(this.projectKey), encodePathParam(this.storeKey), encodePathParam(this.orderNumber)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersOrderNumberByOrderNumberHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersOrderNumberByOrderNumberHead.java index f500573a513..7b2da2caad5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersOrderNumberByOrderNumberHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersOrderNumberByOrderNumberHead.java @@ -67,8 +67,8 @@ public ByProjectKeyInStoreKeyByStoreKeyOrdersOrderNumberByOrderNumberHead( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/orders/order-number=%s", this.projectKey, - this.storeKey, this.orderNumber); + String httpRequestPath = String.format("%s/in-store/key=%s/orders/order-number=%s", + encodePathParam(this.projectKey), encodePathParam(this.storeKey), encodePathParam(this.orderNumber)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersOrderNumberByOrderNumberPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersOrderNumberByOrderNumberPost.java index 12630b09f3d..d8c3cbf69d9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersOrderNumberByOrderNumberPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersOrderNumberByOrderNumberPost.java @@ -78,8 +78,8 @@ public ByProjectKeyInStoreKeyByStoreKeyOrdersOrderNumberByOrderNumberPost( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/orders/order-number=%s", this.projectKey, - this.storeKey, this.orderNumber); + String httpRequestPath = String.format("%s/in-store/key=%s/orders/order-number=%s", + encodePathParam(this.projectKey), encodePathParam(this.storeKey), encodePathParam(this.orderNumber)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersPost.java index 3886f3a48b1..ff5df726da6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersPost.java @@ -83,7 +83,8 @@ public ByProjectKeyInStoreKeyByStoreKeyOrdersPost(ByProjectKeyInStoreKeyByStoreK @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/orders", this.projectKey, this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/orders", encodePathParam(this.projectKey), + encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersQuotesPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersQuotesPost.java index 1e353f0b9c1..6a2a12cceb8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersQuotesPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyOrdersQuotesPost.java @@ -73,7 +73,8 @@ public ByProjectKeyInStoreKeyByStoreKeyOrdersQuotesPost(ByProjectKeyInStoreKeyBy @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/orders/quotes", this.projectKey, this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/orders/quotes", encodePathParam(this.projectKey), + encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet.java index e8d31338c9d..086b6663737 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet.java @@ -77,8 +77,8 @@ public ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/product-projections/%s", this.projectKey, - this.storeKey, this.ID); + String httpRequestPath = String.format("%s/in-store/key=%s/product-projections/%s", + encodePathParam(this.projectKey), encodePathParam(this.storeKey), encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDHead.java index d62e3cfccd0..0ce2e02bee4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDHead.java @@ -67,8 +67,8 @@ public ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDHead( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/product-projections/%s", this.projectKey, - this.storeKey, this.ID); + String httpRequestPath = String.format("%s/in-store/key=%s/product-projections/%s", + encodePathParam(this.projectKey), encodePathParam(this.storeKey), encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet.java index caeac0f5ae9..c0315b8f770 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet.java @@ -77,8 +77,8 @@ public ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/product-projections/key=%s", this.projectKey, - this.storeKey, this.key); + String httpRequestPath = String.format("%s/in-store/key=%s/product-projections/key=%s", + encodePathParam(this.projectKey), encodePathParam(this.storeKey), encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyHead.java index 4b7fd60a0d3..b37b9f44966 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyHead.java @@ -67,8 +67,8 @@ public ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyHead( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/product-projections/key=%s", this.projectKey, - this.storeKey, this.key); + String httpRequestPath = String.format("%s/in-store/key=%s/product-projections/key=%s", + encodePathParam(this.projectKey), encodePathParam(this.storeKey), encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductSelectionAssignmentsGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductSelectionAssignmentsGet.java index 6cdbf6167da..4241f7a499f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductSelectionAssignmentsGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductSelectionAssignmentsGet.java @@ -70,8 +70,8 @@ public ByProjectKeyInStoreKeyByStoreKeyProductSelectionAssignmentsGet( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/product-selection-assignments", this.projectKey, - this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/product-selection-assignments", + encodePathParam(this.projectKey), encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductTailoringGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductTailoringGet.java index 6f3f9e6d17c..a40d028a5d8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductTailoringGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductTailoringGet.java @@ -69,7 +69,8 @@ public ByProjectKeyInStoreKeyByStoreKeyProductTailoringGet(ByProjectKeyInStoreKe @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/product-tailoring", this.projectKey, this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/product-tailoring", encodePathParam(this.projectKey), + encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductTailoringPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductTailoringPost.java index f728a09a043..24df36740d8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductTailoringPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductTailoringPost.java @@ -73,7 +73,8 @@ public ByProjectKeyInStoreKeyByStoreKeyProductTailoringPost( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/product-tailoring", this.projectKey, this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/product-tailoring", encodePathParam(this.projectKey), + encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductsByProductIDProductTailoringDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductsByProductIDProductTailoringDelete.java index 1e5670f800b..b75b29b5aed 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductsByProductIDProductTailoringDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductsByProductIDProductTailoringDelete.java @@ -76,8 +76,8 @@ public ByProjectKeyInStoreKeyByStoreKeyProductsByProductIDProductTailoringDelete @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/products/%s/product-tailoring", this.projectKey, - this.storeKey, this.productID); + String httpRequestPath = String.format("%s/in-store/key=%s/products/%s/product-tailoring", + encodePathParam(this.projectKey), encodePathParam(this.storeKey), encodePathParam(this.productID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductsByProductIDProductTailoringGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductsByProductIDProductTailoringGet.java index 307c8386889..077763d553a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductsByProductIDProductTailoringGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductsByProductIDProductTailoringGet.java @@ -73,8 +73,8 @@ public ByProjectKeyInStoreKeyByStoreKeyProductsByProductIDProductTailoringGet( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/products/%s/product-tailoring", this.projectKey, - this.storeKey, this.productID); + String httpRequestPath = String.format("%s/in-store/key=%s/products/%s/product-tailoring", + encodePathParam(this.projectKey), encodePathParam(this.storeKey), encodePathParam(this.productID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductsByProductIDProductTailoringImagesPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductsByProductIDProductTailoringImagesPost.java index c67a06e3b64..1243a1d1ded 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductsByProductIDProductTailoringImagesPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductsByProductIDProductTailoringImagesPost.java @@ -79,7 +79,7 @@ public ByProjectKeyInStoreKeyByStoreKeyProductsByProductIDProductTailoringImages protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); String httpRequestPath = String.format("%s/in-store/key=%s/products/%s/product-tailoring/images", - this.projectKey, this.storeKey, this.productID); + encodePathParam(this.projectKey), encodePathParam(this.storeKey), encodePathParam(this.productID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductsByProductIDProductTailoringPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductsByProductIDProductTailoringPost.java index 30ff17caf15..4e2d8151ec7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductsByProductIDProductTailoringPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductsByProductIDProductTailoringPost.java @@ -79,8 +79,8 @@ public ByProjectKeyInStoreKeyByStoreKeyProductsByProductIDProductTailoringPost( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/products/%s/product-tailoring", this.projectKey, - this.storeKey, this.productID); + String httpRequestPath = String.format("%s/in-store/key=%s/products/%s/product-tailoring", + encodePathParam(this.projectKey), encodePathParam(this.storeKey), encodePathParam(this.productID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductsKeyByProductKeyProductTailoringDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductsKeyByProductKeyProductTailoringDelete.java index 8bf5f530ca8..72ac44794d0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductsKeyByProductKeyProductTailoringDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductsKeyByProductKeyProductTailoringDelete.java @@ -76,8 +76,8 @@ public ByProjectKeyInStoreKeyByStoreKeyProductsKeyByProductKeyProductTailoringDe @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/products/key=%s/product-tailoring", this.projectKey, - this.storeKey, this.productKey); + String httpRequestPath = String.format("%s/in-store/key=%s/products/key=%s/product-tailoring", + encodePathParam(this.projectKey), encodePathParam(this.storeKey), encodePathParam(this.productKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductsKeyByProductKeyProductTailoringGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductsKeyByProductKeyProductTailoringGet.java index c2068d3c13e..2e74ca13ec5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductsKeyByProductKeyProductTailoringGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductsKeyByProductKeyProductTailoringGet.java @@ -73,8 +73,8 @@ public ByProjectKeyInStoreKeyByStoreKeyProductsKeyByProductKeyProductTailoringGe @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/products/key=%s/product-tailoring", this.projectKey, - this.storeKey, this.productKey); + String httpRequestPath = String.format("%s/in-store/key=%s/products/key=%s/product-tailoring", + encodePathParam(this.projectKey), encodePathParam(this.storeKey), encodePathParam(this.productKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductsKeyByProductKeyProductTailoringImagesPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductsKeyByProductKeyProductTailoringImagesPost.java index 6abfab61302..f1dc1bfeabf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductsKeyByProductKeyProductTailoringImagesPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductsKeyByProductKeyProductTailoringImagesPost.java @@ -79,7 +79,7 @@ public ByProjectKeyInStoreKeyByStoreKeyProductsKeyByProductKeyProductTailoringIm protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); String httpRequestPath = String.format("%s/in-store/key=%s/products/key=%s/product-tailoring/images", - this.projectKey, this.storeKey, this.productKey); + encodePathParam(this.projectKey), encodePathParam(this.storeKey), encodePathParam(this.productKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductsKeyByProductKeyProductTailoringPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductsKeyByProductKeyProductTailoringPost.java index f059ac413eb..01956ce96bc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductsKeyByProductKeyProductTailoringPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyProductsKeyByProductKeyProductTailoringPost.java @@ -79,8 +79,8 @@ public ByProjectKeyInStoreKeyByStoreKeyProductsKeyByProductKeyProductTailoringPo @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/products/key=%s/product-tailoring", this.projectKey, - this.storeKey, this.productKey); + String httpRequestPath = String.format("%s/in-store/key=%s/products/key=%s/product-tailoring", + encodePathParam(this.projectKey), encodePathParam(this.storeKey), encodePathParam(this.productKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsByIDDelete.java index 67488d60fdd..9f44ed30206 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsByIDDelete.java @@ -76,8 +76,8 @@ public ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsByIDDelete( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/quote-requests/%s", this.projectKey, this.storeKey, - this.ID); + String httpRequestPath = String.format("%s/in-store/key=%s/quote-requests/%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsByIDGet.java index 44ec0ee89b7..507622a30dc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsByIDGet.java @@ -71,8 +71,8 @@ public ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsByIDGet( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/quote-requests/%s", this.projectKey, this.storeKey, - this.ID); + String httpRequestPath = String.format("%s/in-store/key=%s/quote-requests/%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsByIDHead.java index b952f0213b1..9296ea56912 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsByIDHead.java @@ -66,8 +66,8 @@ public ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsByIDHead( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/quote-requests/%s", this.projectKey, this.storeKey, - this.ID); + String httpRequestPath = String.format("%s/in-store/key=%s/quote-requests/%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsByIDPost.java index f518062ac5b..92cf4b23a5b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsByIDPost.java @@ -77,8 +77,8 @@ public ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsByIDPost( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/quote-requests/%s", this.projectKey, this.storeKey, - this.ID); + String httpRequestPath = String.format("%s/in-store/key=%s/quote-requests/%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsGet.java index c144bb5203e..96d03e42874 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsGet.java @@ -69,7 +69,8 @@ public ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsGet(ByProjectKeyInStoreKeyBy @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/quote-requests", this.projectKey, this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/quote-requests", encodePathParam(this.projectKey), + encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsHead.java index bfd7c03feae..f304fddbeca 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsHead.java @@ -65,7 +65,8 @@ public ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsHead(ByProjectKeyInStoreKeyB @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/quote-requests", this.projectKey, this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/quote-requests", encodePathParam(this.projectKey), + encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsKeyByKeyDelete.java index e3a73d16135..1cf2b954351 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsKeyByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsKeyByKeyDelete.java @@ -76,8 +76,8 @@ public ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsKeyByKeyDelete( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/quote-requests/key=%s", this.projectKey, - this.storeKey, this.key); + String httpRequestPath = String.format("%s/in-store/key=%s/quote-requests/key=%s", + encodePathParam(this.projectKey), encodePathParam(this.storeKey), encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsKeyByKeyGet.java index 622fad1d37b..f84a85321b0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsKeyByKeyGet.java @@ -72,8 +72,8 @@ public ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsKeyByKeyGet( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/quote-requests/key=%s", this.projectKey, - this.storeKey, this.key); + String httpRequestPath = String.format("%s/in-store/key=%s/quote-requests/key=%s", + encodePathParam(this.projectKey), encodePathParam(this.storeKey), encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsKeyByKeyHead.java index 512a3c29c47..37a47dd1fab 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsKeyByKeyHead.java @@ -67,8 +67,8 @@ public ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsKeyByKeyHead( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/quote-requests/key=%s", this.projectKey, - this.storeKey, this.key); + String httpRequestPath = String.format("%s/in-store/key=%s/quote-requests/key=%s", + encodePathParam(this.projectKey), encodePathParam(this.storeKey), encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsKeyByKeyPost.java index ccbfcba1536..8bf14dd9b10 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsKeyByKeyPost.java @@ -78,8 +78,8 @@ public ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsKeyByKeyPost( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/quote-requests/key=%s", this.projectKey, - this.storeKey, this.key); + String httpRequestPath = String.format("%s/in-store/key=%s/quote-requests/key=%s", + encodePathParam(this.projectKey), encodePathParam(this.storeKey), encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsPost.java index 2ec9ceada4d..666bc21a5f5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsPost.java @@ -70,7 +70,8 @@ public ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsPost(ByProjectKeyInStoreKeyB @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/quote-requests", this.projectKey, this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/quote-requests", encodePathParam(this.projectKey), + encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesByIDDelete.java index 1fd1950b5cb..6cc354d27f4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesByIDDelete.java @@ -74,7 +74,8 @@ public ByProjectKeyInStoreKeyByStoreKeyQuotesByIDDelete(ByProjectKeyInStoreKeyBy @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/quotes/%s", this.projectKey, this.storeKey, this.ID); + String httpRequestPath = String.format("%s/in-store/key=%s/quotes/%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesByIDGet.java index 33cdff65174..1ca7d82e137 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesByIDGet.java @@ -70,7 +70,8 @@ public ByProjectKeyInStoreKeyByStoreKeyQuotesByIDGet(ByProjectKeyInStoreKeyBySto @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/quotes/%s", this.projectKey, this.storeKey, this.ID); + String httpRequestPath = String.format("%s/in-store/key=%s/quotes/%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesByIDHead.java index ac1b57598d1..e784ea7760b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesByIDHead.java @@ -65,7 +65,8 @@ public ByProjectKeyInStoreKeyByStoreKeyQuotesByIDHead(ByProjectKeyInStoreKeyBySt @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/quotes/%s", this.projectKey, this.storeKey, this.ID); + String httpRequestPath = String.format("%s/in-store/key=%s/quotes/%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesByIDPost.java index fadb1baf88c..907f5da5be8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesByIDPost.java @@ -75,7 +75,8 @@ public ByProjectKeyInStoreKeyByStoreKeyQuotesByIDPost(ByProjectKeyInStoreKeyBySt @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/quotes/%s", this.projectKey, this.storeKey, this.ID); + String httpRequestPath = String.format("%s/in-store/key=%s/quotes/%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesGet.java index ee63cae7455..378a96277a0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesGet.java @@ -69,7 +69,8 @@ public ByProjectKeyInStoreKeyByStoreKeyQuotesGet(ByProjectKeyInStoreKeyByStoreKe @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/quotes", this.projectKey, this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/quotes", encodePathParam(this.projectKey), + encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesHead.java index 20dcd9021e0..edfe0165dee 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesHead.java @@ -65,7 +65,8 @@ public ByProjectKeyInStoreKeyByStoreKeyQuotesHead(ByProjectKeyInStoreKeyByStoreK @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/quotes", this.projectKey, this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/quotes", encodePathParam(this.projectKey), + encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesKeyByKeyDelete.java index 995dc95b982..e3dd0ada97f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesKeyByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesKeyByKeyDelete.java @@ -75,8 +75,8 @@ public ByProjectKeyInStoreKeyByStoreKeyQuotesKeyByKeyDelete( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/quotes/key=%s", this.projectKey, this.storeKey, - this.key); + String httpRequestPath = String.format("%s/in-store/key=%s/quotes/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesKeyByKeyGet.java index 1c7e4fee3e4..4913db1977d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesKeyByKeyGet.java @@ -70,8 +70,8 @@ public ByProjectKeyInStoreKeyByStoreKeyQuotesKeyByKeyGet(ByProjectKeyInStoreKeyB @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/quotes/key=%s", this.projectKey, this.storeKey, - this.key); + String httpRequestPath = String.format("%s/in-store/key=%s/quotes/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesKeyByKeyHead.java index 0a2e8f5742f..1f584c65d10 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesKeyByKeyHead.java @@ -65,8 +65,8 @@ public ByProjectKeyInStoreKeyByStoreKeyQuotesKeyByKeyHead(ByProjectKeyInStoreKey @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/quotes/key=%s", this.projectKey, this.storeKey, - this.key); + String httpRequestPath = String.format("%s/in-store/key=%s/quotes/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesKeyByKeyPost.java index e99aac08161..da500332938 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesKeyByKeyPost.java @@ -75,8 +75,8 @@ public ByProjectKeyInStoreKeyByStoreKeyQuotesKeyByKeyPost(ByProjectKeyInStoreKey @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/quotes/key=%s", this.projectKey, this.storeKey, - this.key); + String httpRequestPath = String.format("%s/in-store/key=%s/quotes/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesPost.java index 5b8c2b949d0..117b732a2f4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyQuotesPost.java @@ -70,7 +70,8 @@ public ByProjectKeyInStoreKeyByStoreKeyQuotesPost(ByProjectKeyInStoreKeyByStoreK @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/quotes", this.projectKey, this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/quotes", encodePathParam(this.projectKey), + encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShippingMethodsMatchingCartGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShippingMethodsMatchingCartGet.java index 5d65fcd286f..877cc0d4463 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShippingMethodsMatchingCartGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShippingMethodsMatchingCartGet.java @@ -70,8 +70,8 @@ public ByProjectKeyInStoreKeyByStoreKeyShippingMethodsMatchingCartGet( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/shipping-methods/matching-cart", this.projectKey, - this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/shipping-methods/matching-cart", + encodePathParam(this.projectKey), encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShippingMethodsMatchingCartHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShippingMethodsMatchingCartHead.java index bcf3026b91d..bf1ea546f3b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShippingMethodsMatchingCartHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShippingMethodsMatchingCartHead.java @@ -69,8 +69,8 @@ public ByProjectKeyInStoreKeyByStoreKeyShippingMethodsMatchingCartHead( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/shipping-methods/matching-cart", this.projectKey, - this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/shipping-methods/matching-cart", + encodePathParam(this.projectKey), encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete.java index fdf603bfff8..d6e20378121 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete.java @@ -76,8 +76,8 @@ public ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/shopping-lists/%s", this.projectKey, this.storeKey, - this.ID); + String httpRequestPath = String.format("%s/in-store/key=%s/shopping-lists/%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDGet.java index 9d60eee4f2d..90d5c519097 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDGet.java @@ -71,8 +71,8 @@ public ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDGet( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/shopping-lists/%s", this.projectKey, this.storeKey, - this.ID); + String httpRequestPath = String.format("%s/in-store/key=%s/shopping-lists/%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDHead.java index d651f44f986..8e0776381f8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDHead.java @@ -66,8 +66,8 @@ public ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDHead( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/shopping-lists/%s", this.projectKey, this.storeKey, - this.ID); + String httpRequestPath = String.format("%s/in-store/key=%s/shopping-lists/%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDPost.java index b9f3f327ca7..59f04e9c1b0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDPost.java @@ -77,8 +77,8 @@ public ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDPost( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/shopping-lists/%s", this.projectKey, this.storeKey, - this.ID); + String httpRequestPath = String.format("%s/in-store/key=%s/shopping-lists/%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsGet.java index b0159f48b1d..5407157771c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsGet.java @@ -70,7 +70,8 @@ public ByProjectKeyInStoreKeyByStoreKeyShoppingListsGet(ByProjectKeyInStoreKeyBy @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/shopping-lists", this.projectKey, this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/shopping-lists", encodePathParam(this.projectKey), + encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsHead.java index 024ec3d0570..c0820ee9594 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsHead.java @@ -65,7 +65,8 @@ public ByProjectKeyInStoreKeyByStoreKeyShoppingListsHead(ByProjectKeyInStoreKeyB @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/shopping-lists", this.projectKey, this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/shopping-lists", encodePathParam(this.projectKey), + encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsKeyByKeyDelete.java index 7502d522b67..8ea3475d977 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsKeyByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsKeyByKeyDelete.java @@ -76,8 +76,8 @@ public ByProjectKeyInStoreKeyByStoreKeyShoppingListsKeyByKeyDelete( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/shopping-lists/key=%s", this.projectKey, - this.storeKey, this.key); + String httpRequestPath = String.format("%s/in-store/key=%s/shopping-lists/key=%s", + encodePathParam(this.projectKey), encodePathParam(this.storeKey), encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsKeyByKeyGet.java index 75bab83063b..6e5180fb1e8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsKeyByKeyGet.java @@ -72,8 +72,8 @@ public ByProjectKeyInStoreKeyByStoreKeyShoppingListsKeyByKeyGet( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/shopping-lists/key=%s", this.projectKey, - this.storeKey, this.key); + String httpRequestPath = String.format("%s/in-store/key=%s/shopping-lists/key=%s", + encodePathParam(this.projectKey), encodePathParam(this.storeKey), encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsKeyByKeyHead.java index 5b6811bdada..f8cfebe6d8d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsKeyByKeyHead.java @@ -67,8 +67,8 @@ public ByProjectKeyInStoreKeyByStoreKeyShoppingListsKeyByKeyHead( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/shopping-lists/key=%s", this.projectKey, - this.storeKey, this.key); + String httpRequestPath = String.format("%s/in-store/key=%s/shopping-lists/key=%s", + encodePathParam(this.projectKey), encodePathParam(this.storeKey), encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsKeyByKeyPost.java index 631312f9ea9..cc703a2c939 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsKeyByKeyPost.java @@ -78,8 +78,8 @@ public ByProjectKeyInStoreKeyByStoreKeyShoppingListsKeyByKeyPost( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/shopping-lists/key=%s", this.projectKey, - this.storeKey, this.key); + String httpRequestPath = String.format("%s/in-store/key=%s/shopping-lists/key=%s", + encodePathParam(this.projectKey), encodePathParam(this.storeKey), encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsPost.java index a6889f62c4e..041285858c1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyShoppingListsPost.java @@ -70,7 +70,8 @@ public ByProjectKeyInStoreKeyByStoreKeyShoppingListsPost(ByProjectKeyInStoreKeyB @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/shopping-lists", this.projectKey, this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/shopping-lists", encodePathParam(this.projectKey), + encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesByIDDelete.java index 2160b79abf1..7691c4718e6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesByIDDelete.java @@ -76,8 +76,8 @@ public ByProjectKeyInStoreKeyByStoreKeyStagedQuotesByIDDelete( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/staged-quotes/%s", this.projectKey, this.storeKey, - this.ID); + String httpRequestPath = String.format("%s/in-store/key=%s/staged-quotes/%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesByIDGet.java index a48055a1044..0a045b6b346 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesByIDGet.java @@ -70,8 +70,8 @@ public ByProjectKeyInStoreKeyByStoreKeyStagedQuotesByIDGet(ByProjectKeyInStoreKe @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/staged-quotes/%s", this.projectKey, this.storeKey, - this.ID); + String httpRequestPath = String.format("%s/in-store/key=%s/staged-quotes/%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesByIDHead.java index 845d8d50288..ed76fd70b63 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesByIDHead.java @@ -66,8 +66,8 @@ public ByProjectKeyInStoreKeyByStoreKeyStagedQuotesByIDHead( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/staged-quotes/%s", this.projectKey, this.storeKey, - this.ID); + String httpRequestPath = String.format("%s/in-store/key=%s/staged-quotes/%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesByIDPost.java index 8dac07e6f22..9fffec09b88 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesByIDPost.java @@ -76,8 +76,8 @@ public ByProjectKeyInStoreKeyByStoreKeyStagedQuotesByIDPost( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/staged-quotes/%s", this.projectKey, this.storeKey, - this.ID); + String httpRequestPath = String.format("%s/in-store/key=%s/staged-quotes/%s", encodePathParam(this.projectKey), + encodePathParam(this.storeKey), encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesGet.java index d889e729074..c51d5c049a9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesGet.java @@ -69,7 +69,8 @@ public ByProjectKeyInStoreKeyByStoreKeyStagedQuotesGet(ByProjectKeyInStoreKeyByS @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/staged-quotes", this.projectKey, this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/staged-quotes", encodePathParam(this.projectKey), + encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesHead.java index f02e4301e6c..76021ec9491 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesHead.java @@ -65,7 +65,8 @@ public ByProjectKeyInStoreKeyByStoreKeyStagedQuotesHead(ByProjectKeyInStoreKeyBy @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/staged-quotes", this.projectKey, this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/staged-quotes", encodePathParam(this.projectKey), + encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesKeyByKeyDelete.java index 3ba0c750430..8c4852011fc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesKeyByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesKeyByKeyDelete.java @@ -76,8 +76,8 @@ public ByProjectKeyInStoreKeyByStoreKeyStagedQuotesKeyByKeyDelete( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/staged-quotes/key=%s", this.projectKey, - this.storeKey, this.key); + String httpRequestPath = String.format("%s/in-store/key=%s/staged-quotes/key=%s", + encodePathParam(this.projectKey), encodePathParam(this.storeKey), encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesKeyByKeyGet.java index 279da1c3be8..0b11a15e7aa 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesKeyByKeyGet.java @@ -72,8 +72,8 @@ public ByProjectKeyInStoreKeyByStoreKeyStagedQuotesKeyByKeyGet( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/staged-quotes/key=%s", this.projectKey, - this.storeKey, this.key); + String httpRequestPath = String.format("%s/in-store/key=%s/staged-quotes/key=%s", + encodePathParam(this.projectKey), encodePathParam(this.storeKey), encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesKeyByKeyHead.java index c62f7dace94..c86338da4af 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesKeyByKeyHead.java @@ -67,8 +67,8 @@ public ByProjectKeyInStoreKeyByStoreKeyStagedQuotesKeyByKeyHead( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/staged-quotes/key=%s", this.projectKey, - this.storeKey, this.key); + String httpRequestPath = String.format("%s/in-store/key=%s/staged-quotes/key=%s", + encodePathParam(this.projectKey), encodePathParam(this.storeKey), encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesKeyByKeyPost.java index 34ea4495f2f..0ffec531cf7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesKeyByKeyPost.java @@ -78,8 +78,8 @@ public ByProjectKeyInStoreKeyByStoreKeyStagedQuotesKeyByKeyPost( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/staged-quotes/key=%s", this.projectKey, - this.storeKey, this.key); + String httpRequestPath = String.format("%s/in-store/key=%s/staged-quotes/key=%s", + encodePathParam(this.projectKey), encodePathParam(this.storeKey), encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesPost.java index 7b922e0e7f0..90f8a5d1d09 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyStagedQuotesPost.java @@ -70,7 +70,8 @@ public ByProjectKeyInStoreKeyByStoreKeyStagedQuotesPost(ByProjectKeyInStoreKeyBy @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/in-store/key=%s/staged-quotes", this.projectKey, this.storeKey); + String httpRequestPath = String.format("%s/in-store/key=%s/staged-quotes", encodePathParam(this.projectKey), + encodePathParam(this.storeKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryByIDDelete.java index 7f280b822b8..1717a4dcb00 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryByIDDelete.java @@ -69,7 +69,8 @@ public ByProjectKeyInventoryByIDDelete(ByProjectKeyInventoryByIDDelete t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/inventory/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/inventory/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryByIDGet.java index d163c00c528..2e34c6fb185 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryByIDGet.java @@ -65,7 +65,8 @@ public ByProjectKeyInventoryByIDGet(ByProjectKeyInventoryByIDGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/inventory/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/inventory/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryByIDHead.java index eb4f6d5746b..3a91cdbcd41 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryByIDHead.java @@ -60,7 +60,8 @@ public ByProjectKeyInventoryByIDHead(ByProjectKeyInventoryByIDHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/inventory/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/inventory/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryByIDPost.java index b998ced4d27..69d750b1ffa 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryByIDPost.java @@ -71,7 +71,8 @@ public ByProjectKeyInventoryByIDPost(ByProjectKeyInventoryByIDPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/inventory/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/inventory/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryGet.java index e4cada52ebb..ff78fed4038 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryGet.java @@ -65,7 +65,7 @@ public ByProjectKeyInventoryGet(ByProjectKeyInventoryGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/inventory", this.projectKey); + String httpRequestPath = String.format("%s/inventory", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryHead.java index 93f00746cdf..89b7de22680 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryHead.java @@ -60,7 +60,7 @@ public ByProjectKeyInventoryHead(ByProjectKeyInventoryHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/inventory", this.projectKey); + String httpRequestPath = String.format("%s/inventory", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryKeyByKeyDelete.java index 85c21f04633..7d137c9bca1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryKeyByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryKeyByKeyDelete.java @@ -70,7 +70,8 @@ public ByProjectKeyInventoryKeyByKeyDelete(ByProjectKeyInventoryKeyByKeyDelete t @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/inventory/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/inventory/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryKeyByKeyGet.java index 4f5e4457590..29892723aa9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryKeyByKeyGet.java @@ -65,7 +65,8 @@ public ByProjectKeyInventoryKeyByKeyGet(ByProjectKeyInventoryKeyByKeyGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/inventory/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/inventory/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryKeyByKeyHead.java index 1b0626faff6..b9385c6d67b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryKeyByKeyHead.java @@ -60,7 +60,8 @@ public ByProjectKeyInventoryKeyByKeyHead(ByProjectKeyInventoryKeyByKeyHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/inventory/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/inventory/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryKeyByKeyPost.java index 5ad999079b7..ee3bb9d16a5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryKeyByKeyPost.java @@ -71,7 +71,8 @@ public ByProjectKeyInventoryKeyByKeyPost(ByProjectKeyInventoryKeyByKeyPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/inventory/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/inventory/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryPost.java index 42b2532a510..a6c52b6d598 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInventoryPost.java @@ -66,7 +66,7 @@ public ByProjectKeyInventoryPost(ByProjectKeyInventoryPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/inventory", this.projectKey); + String httpRequestPath = String.format("%s/inventory", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyLoginPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyLoginPost.java index ec4d9ea0327..21b48777010 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyLoginPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyLoginPost.java @@ -63,7 +63,7 @@ public ByProjectKeyLoginPost(ByProjectKeyLoginPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/login", this.projectKey); + String httpRequestPath = String.format("%s/login", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeActiveCartGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeActiveCartGet.java index 2aeb7796c73..77d34041edb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeActiveCartGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeActiveCartGet.java @@ -68,7 +68,7 @@ public ByProjectKeyMeActiveCartGet(ByProjectKeyMeActiveCartGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/active-cart", this.projectKey); + String httpRequestPath = String.format("%s/me/active-cart", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeActiveCartHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeActiveCartHead.java index ad999928183..c54f9384484 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeActiveCartHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeActiveCartHead.java @@ -62,7 +62,7 @@ public ByProjectKeyMeActiveCartHead(ByProjectKeyMeActiveCartHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/active-cart", this.projectKey); + String httpRequestPath = String.format("%s/me/active-cart", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeBusinessUnitsByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeBusinessUnitsByIDDelete.java index 99a3e756a72..d87354c84cf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeBusinessUnitsByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeBusinessUnitsByIDDelete.java @@ -69,7 +69,8 @@ public ByProjectKeyMeBusinessUnitsByIDDelete(ByProjectKeyMeBusinessUnitsByIDDele @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/business-units/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/me/business-units/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeBusinessUnitsByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeBusinessUnitsByIDGet.java index 8b34ab8d14b..70963b2750e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeBusinessUnitsByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeBusinessUnitsByIDGet.java @@ -66,7 +66,8 @@ public ByProjectKeyMeBusinessUnitsByIDGet(ByProjectKeyMeBusinessUnitsByIDGet t) @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/business-units/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/me/business-units/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeBusinessUnitsByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeBusinessUnitsByIDHead.java index 9a8936fed1d..bd55425a0c5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeBusinessUnitsByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeBusinessUnitsByIDHead.java @@ -61,7 +61,8 @@ public ByProjectKeyMeBusinessUnitsByIDHead(ByProjectKeyMeBusinessUnitsByIDHead t @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/business-units/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/me/business-units/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeBusinessUnitsByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeBusinessUnitsByIDPost.java index 25da0eae661..89c189067f6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeBusinessUnitsByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeBusinessUnitsByIDPost.java @@ -72,7 +72,8 @@ public ByProjectKeyMeBusinessUnitsByIDPost(ByProjectKeyMeBusinessUnitsByIDPost t @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/business-units/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/me/business-units/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeBusinessUnitsGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeBusinessUnitsGet.java index b37f244176d..c00d31db8c9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeBusinessUnitsGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeBusinessUnitsGet.java @@ -65,7 +65,7 @@ public ByProjectKeyMeBusinessUnitsGet(ByProjectKeyMeBusinessUnitsGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/business-units", this.projectKey); + String httpRequestPath = String.format("%s/me/business-units", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeBusinessUnitsHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeBusinessUnitsHead.java index ed751d71817..4d71d04a594 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeBusinessUnitsHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeBusinessUnitsHead.java @@ -61,7 +61,7 @@ public ByProjectKeyMeBusinessUnitsHead(ByProjectKeyMeBusinessUnitsHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/business-units", this.projectKey); + String httpRequestPath = String.format("%s/me/business-units", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeBusinessUnitsKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeBusinessUnitsKeyByKeyDelete.java index 3153d71ebd9..99e9e89d01c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeBusinessUnitsKeyByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeBusinessUnitsKeyByKeyDelete.java @@ -69,7 +69,8 @@ public ByProjectKeyMeBusinessUnitsKeyByKeyDelete(ByProjectKeyMeBusinessUnitsKeyB @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/business-units/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/me/business-units/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeBusinessUnitsKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeBusinessUnitsKeyByKeyGet.java index 24d49d964eb..ff6178af703 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeBusinessUnitsKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeBusinessUnitsKeyByKeyGet.java @@ -66,7 +66,8 @@ public ByProjectKeyMeBusinessUnitsKeyByKeyGet(ByProjectKeyMeBusinessUnitsKeyByKe @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/business-units/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/me/business-units/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeBusinessUnitsKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeBusinessUnitsKeyByKeyHead.java index 38153919aae..f25a11f8a5f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeBusinessUnitsKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeBusinessUnitsKeyByKeyHead.java @@ -61,7 +61,8 @@ public ByProjectKeyMeBusinessUnitsKeyByKeyHead(ByProjectKeyMeBusinessUnitsKeyByK @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/business-units/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/me/business-units/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeBusinessUnitsKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeBusinessUnitsKeyByKeyPost.java index 16ef8f799ea..18395a73d2f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeBusinessUnitsKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeBusinessUnitsKeyByKeyPost.java @@ -72,7 +72,8 @@ public ByProjectKeyMeBusinessUnitsKeyByKeyPost(ByProjectKeyMeBusinessUnitsKeyByK @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/business-units/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/me/business-units/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeBusinessUnitsPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeBusinessUnitsPost.java index ac152ec3c97..af7975cf036 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeBusinessUnitsPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeBusinessUnitsPost.java @@ -67,7 +67,7 @@ public ByProjectKeyMeBusinessUnitsPost(ByProjectKeyMeBusinessUnitsPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/business-units", this.projectKey); + String httpRequestPath = String.format("%s/me/business-units", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsByIDDelete.java index c90b2cbbecf..b1639dd0e63 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsByIDDelete.java @@ -74,7 +74,8 @@ public ByProjectKeyMeCartsByIDDelete(ByProjectKeyMeCartsByIDDelete t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/carts/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/me/carts/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsByIDGet.java index 4f031e226b6..fac45e2d87c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsByIDGet.java @@ -71,7 +71,8 @@ public ByProjectKeyMeCartsByIDGet(ByProjectKeyMeCartsByIDGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/carts/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/me/carts/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsByIDHead.java index 343206553c5..554b56ae8a6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsByIDHead.java @@ -66,7 +66,8 @@ public ByProjectKeyMeCartsByIDHead(ByProjectKeyMeCartsByIDHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/carts/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/me/carts/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsByIDPost.java index d3ddd9c6de1..0af34f5ca54 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsByIDPost.java @@ -77,7 +77,8 @@ public ByProjectKeyMeCartsByIDPost(ByProjectKeyMeCartsByIDPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/carts/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/me/carts/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsGet.java index 80067121d64..a2e10e83e52 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsGet.java @@ -65,7 +65,7 @@ public ByProjectKeyMeCartsGet(ByProjectKeyMeCartsGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/carts", this.projectKey); + String httpRequestPath = String.format("%s/me/carts", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsHead.java index b409dfe49f8..bdeaec6b93b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsHead.java @@ -61,7 +61,7 @@ public ByProjectKeyMeCartsHead(ByProjectKeyMeCartsHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/carts", this.projectKey); + String httpRequestPath = String.format("%s/me/carts", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsPost.java index 3493a1776c0..ee146c28be0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsPost.java @@ -74,7 +74,7 @@ public ByProjectKeyMeCartsPost(ByProjectKeyMeCartsPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/carts", this.projectKey); + String httpRequestPath = String.format("%s/me/carts", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsReplicatePost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsReplicatePost.java index 2e74b401506..f93800ed4f9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsReplicatePost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeCartsReplicatePost.java @@ -70,7 +70,7 @@ public ByProjectKeyMeCartsReplicatePost(ByProjectKeyMeCartsReplicatePost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/carts/replicate", this.projectKey); + String httpRequestPath = String.format("%s/me/carts/replicate", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeDelete.java index b125a1c01a4..76487e1dda8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeDelete.java @@ -63,7 +63,7 @@ public ByProjectKeyMeDelete(ByProjectKeyMeDelete t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me", this.projectKey); + String httpRequestPath = String.format("%s/me", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeEmailConfirmPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeEmailConfirmPost.java index 3732b047e78..630bda2af5a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeEmailConfirmPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeEmailConfirmPost.java @@ -61,7 +61,7 @@ public ByProjectKeyMeEmailConfirmPost(ByProjectKeyMeEmailConfirmPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/email/confirm", this.projectKey); + String httpRequestPath = String.format("%s/me/email/confirm", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeGet.java index b780f1af2fc..1bb39411126 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeGet.java @@ -63,7 +63,7 @@ public ByProjectKeyMeGet(ByProjectKeyMeGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me", this.projectKey); + String httpRequestPath = String.format("%s/me", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeLoginPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeLoginPost.java index 355d20e7129..7031d7cdc71 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeLoginPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeLoginPost.java @@ -68,7 +68,7 @@ public ByProjectKeyMeLoginPost(ByProjectKeyMeLoginPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/login", this.projectKey); + String httpRequestPath = String.format("%s/me/login", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeOrdersByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeOrdersByIDGet.java index f5366fccb5f..34ec72371ce 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeOrdersByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeOrdersByIDGet.java @@ -71,7 +71,8 @@ public ByProjectKeyMeOrdersByIDGet(ByProjectKeyMeOrdersByIDGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/orders/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/me/orders/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeOrdersByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeOrdersByIDHead.java index c963354d457..a0bb2b415bf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeOrdersByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeOrdersByIDHead.java @@ -66,7 +66,8 @@ public ByProjectKeyMeOrdersByIDHead(ByProjectKeyMeOrdersByIDHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/orders/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/me/orders/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeOrdersGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeOrdersGet.java index a1982f99c2d..1902f21c2b2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeOrdersGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeOrdersGet.java @@ -70,7 +70,7 @@ public ByProjectKeyMeOrdersGet(ByProjectKeyMeOrdersGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/orders", this.projectKey); + String httpRequestPath = String.format("%s/me/orders", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeOrdersHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeOrdersHead.java index a214dd25144..1091006dccd 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeOrdersHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeOrdersHead.java @@ -66,7 +66,7 @@ public ByProjectKeyMeOrdersHead(ByProjectKeyMeOrdersHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/orders", this.projectKey); + String httpRequestPath = String.format("%s/me/orders", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeOrdersPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeOrdersPost.java index cf054ae5ef0..197145df81d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeOrdersPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeOrdersPost.java @@ -82,7 +82,7 @@ public ByProjectKeyMeOrdersPost(ByProjectKeyMeOrdersPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/orders", this.projectKey); + String httpRequestPath = String.format("%s/me/orders", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeOrdersQuotesPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeOrdersQuotesPost.java index 59a5e3367d4..51c4420fe7e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeOrdersQuotesPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeOrdersQuotesPost.java @@ -71,7 +71,7 @@ public ByProjectKeyMeOrdersQuotesPost(ByProjectKeyMeOrdersQuotesPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/orders/quotes", this.projectKey); + String httpRequestPath = String.format("%s/me/orders/quotes", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMePasswordPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMePasswordPost.java index cae7951be70..cbcb2c0f843 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMePasswordPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMePasswordPost.java @@ -63,7 +63,7 @@ public ByProjectKeyMePasswordPost(ByProjectKeyMePasswordPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/password", this.projectKey); + String httpRequestPath = String.format("%s/me/password", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMePasswordResetPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMePasswordResetPost.java index a72e97db8cb..5c95c8be8d7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMePasswordResetPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMePasswordResetPost.java @@ -63,7 +63,7 @@ public ByProjectKeyMePasswordResetPost(ByProjectKeyMePasswordResetPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/password/reset", this.projectKey); + String httpRequestPath = String.format("%s/me/password/reset", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMePaymentsByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMePaymentsByIDDelete.java index eb035ef1c71..cd670073775 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMePaymentsByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMePaymentsByIDDelete.java @@ -69,7 +69,8 @@ public ByProjectKeyMePaymentsByIDDelete(ByProjectKeyMePaymentsByIDDelete t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/payments/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/me/payments/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMePaymentsByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMePaymentsByIDGet.java index 6d661435c7f..4754d1ecf10 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMePaymentsByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMePaymentsByIDGet.java @@ -66,7 +66,8 @@ public ByProjectKeyMePaymentsByIDGet(ByProjectKeyMePaymentsByIDGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/payments/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/me/payments/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMePaymentsByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMePaymentsByIDHead.java index 8bb4504875f..62863194b2d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMePaymentsByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMePaymentsByIDHead.java @@ -61,7 +61,8 @@ public ByProjectKeyMePaymentsByIDHead(ByProjectKeyMePaymentsByIDHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/payments/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/me/payments/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMePaymentsByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMePaymentsByIDPost.java index 1851a91e10f..b152b04ff23 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMePaymentsByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMePaymentsByIDPost.java @@ -72,7 +72,8 @@ public ByProjectKeyMePaymentsByIDPost(ByProjectKeyMePaymentsByIDPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/payments/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/me/payments/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMePaymentsGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMePaymentsGet.java index ec42d11befb..94c37b13be9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMePaymentsGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMePaymentsGet.java @@ -65,7 +65,7 @@ public ByProjectKeyMePaymentsGet(ByProjectKeyMePaymentsGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/payments", this.projectKey); + String httpRequestPath = String.format("%s/me/payments", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMePaymentsHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMePaymentsHead.java index ccbaff96ac4..12a8c4df8a9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMePaymentsHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMePaymentsHead.java @@ -61,7 +61,7 @@ public ByProjectKeyMePaymentsHead(ByProjectKeyMePaymentsHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/payments", this.projectKey); + String httpRequestPath = String.format("%s/me/payments", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMePaymentsPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMePaymentsPost.java index 04748bb721a..09c04857d49 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMePaymentsPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMePaymentsPost.java @@ -67,7 +67,7 @@ public ByProjectKeyMePaymentsPost(ByProjectKeyMePaymentsPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/payments", this.projectKey); + String httpRequestPath = String.format("%s/me/payments", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMePost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMePost.java index e3514cfe23e..31be861d958 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMePost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMePost.java @@ -60,7 +60,7 @@ public ByProjectKeyMePost(ByProjectKeyMePost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me", this.projectKey); + String httpRequestPath = String.format("%s/me", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsByIDGet.java index 50c1994f336..314d3b59e4a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsByIDGet.java @@ -66,7 +66,8 @@ public ByProjectKeyMeQuoteRequestsByIDGet(ByProjectKeyMeQuoteRequestsByIDGet t) @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/quote-requests/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/me/quote-requests/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsByIDHead.java index c4e45225c4f..2d2d9054ffd 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsByIDHead.java @@ -61,7 +61,8 @@ public ByProjectKeyMeQuoteRequestsByIDHead(ByProjectKeyMeQuoteRequestsByIDHead t @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/quote-requests/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/me/quote-requests/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsByIDPost.java index 3f5e9112a6a..d34e34d8788 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsByIDPost.java @@ -72,7 +72,8 @@ public ByProjectKeyMeQuoteRequestsByIDPost(ByProjectKeyMeQuoteRequestsByIDPost t @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/quote-requests/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/me/quote-requests/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsGet.java index c77c09f70b4..b3a4a406c4d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsGet.java @@ -65,7 +65,7 @@ public ByProjectKeyMeQuoteRequestsGet(ByProjectKeyMeQuoteRequestsGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/quote-requests", this.projectKey); + String httpRequestPath = String.format("%s/me/quote-requests", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsHead.java index b42de227737..f139c3b941c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsHead.java @@ -61,7 +61,7 @@ public ByProjectKeyMeQuoteRequestsHead(ByProjectKeyMeQuoteRequestsHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/quote-requests", this.projectKey); + String httpRequestPath = String.format("%s/me/quote-requests", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsKeyByKeyGet.java index c1469b56d6f..aa3da5d3a03 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsKeyByKeyGet.java @@ -66,7 +66,8 @@ public ByProjectKeyMeQuoteRequestsKeyByKeyGet(ByProjectKeyMeQuoteRequestsKeyByKe @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/quote-requests/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/me/quote-requests/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsKeyByKeyHead.java index 3eb826da3f7..5ea7f39e3f0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsKeyByKeyHead.java @@ -61,7 +61,8 @@ public ByProjectKeyMeQuoteRequestsKeyByKeyHead(ByProjectKeyMeQuoteRequestsKeyByK @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/quote-requests/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/me/quote-requests/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsKeyByKeyPost.java index 5a843c94a24..659b6b2c896 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsKeyByKeyPost.java @@ -72,7 +72,8 @@ public ByProjectKeyMeQuoteRequestsKeyByKeyPost(ByProjectKeyMeQuoteRequestsKeyByK @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/quote-requests/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/me/quote-requests/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsPost.java index 77ce4ba7216..292a9f861f1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuoteRequestsPost.java @@ -67,7 +67,7 @@ public ByProjectKeyMeQuoteRequestsPost(ByProjectKeyMeQuoteRequestsPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/quote-requests", this.projectKey); + String httpRequestPath = String.format("%s/me/quote-requests", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuotesByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuotesByIDGet.java index 4ab2d7c4d73..4cf03365f63 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuotesByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuotesByIDGet.java @@ -66,7 +66,8 @@ public ByProjectKeyMeQuotesByIDGet(ByProjectKeyMeQuotesByIDGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/quotes/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/me/quotes/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuotesByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuotesByIDHead.java index 12787b005ad..f8e65333d15 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuotesByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuotesByIDHead.java @@ -61,7 +61,8 @@ public ByProjectKeyMeQuotesByIDHead(ByProjectKeyMeQuotesByIDHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/quotes/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/me/quotes/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuotesByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuotesByIDPost.java index c817afc45bb..63c2d24a77b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuotesByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuotesByIDPost.java @@ -72,7 +72,8 @@ public ByProjectKeyMeQuotesByIDPost(ByProjectKeyMeQuotesByIDPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/quotes/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/me/quotes/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuotesGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuotesGet.java index c548b8b8988..4858629e6f9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuotesGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuotesGet.java @@ -65,7 +65,7 @@ public ByProjectKeyMeQuotesGet(ByProjectKeyMeQuotesGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/quotes", this.projectKey); + String httpRequestPath = String.format("%s/me/quotes", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuotesHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuotesHead.java index 8d440f113d8..b78c3f8cb92 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuotesHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuotesHead.java @@ -61,7 +61,7 @@ public ByProjectKeyMeQuotesHead(ByProjectKeyMeQuotesHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/quotes", this.projectKey); + String httpRequestPath = String.format("%s/me/quotes", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuotesKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuotesKeyByKeyGet.java index 0e8abc8fd65..fd7545301d5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuotesKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuotesKeyByKeyGet.java @@ -66,7 +66,8 @@ public ByProjectKeyMeQuotesKeyByKeyGet(ByProjectKeyMeQuotesKeyByKeyGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/quotes/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/me/quotes/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuotesKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuotesKeyByKeyHead.java index 3f0fff4113b..2264cd1d9bb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuotesKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuotesKeyByKeyHead.java @@ -61,7 +61,8 @@ public ByProjectKeyMeQuotesKeyByKeyHead(ByProjectKeyMeQuotesKeyByKeyHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/quotes/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/me/quotes/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuotesKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuotesKeyByKeyPost.java index a36a9b3944c..f0c9a876a72 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuotesKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeQuotesKeyByKeyPost.java @@ -72,7 +72,8 @@ public ByProjectKeyMeQuotesKeyByKeyPost(ByProjectKeyMeQuotesKeyByKeyPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/quotes/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/me/quotes/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsByIDDelete.java index b3487f502f3..47e2ccea97d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsByIDDelete.java @@ -74,7 +74,8 @@ public ByProjectKeyMeShoppingListsByIDDelete(ByProjectKeyMeShoppingListsByIDDele @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/shopping-lists/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/me/shopping-lists/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsByIDGet.java index 29a6cea6bd3..72b9f5782cc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsByIDGet.java @@ -71,7 +71,8 @@ public ByProjectKeyMeShoppingListsByIDGet(ByProjectKeyMeShoppingListsByIDGet t) @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/shopping-lists/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/me/shopping-lists/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsByIDHead.java index a0281700c74..e46269cd50a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsByIDHead.java @@ -66,7 +66,8 @@ public ByProjectKeyMeShoppingListsByIDHead(ByProjectKeyMeShoppingListsByIDHead t @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/shopping-lists/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/me/shopping-lists/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsByIDPost.java index bd87007a7b1..91756ef44c1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsByIDPost.java @@ -77,7 +77,8 @@ public ByProjectKeyMeShoppingListsByIDPost(ByProjectKeyMeShoppingListsByIDPost t @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/shopping-lists/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/me/shopping-lists/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsGet.java index e3af9fa120d..18db24ad656 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsGet.java @@ -70,7 +70,7 @@ public ByProjectKeyMeShoppingListsGet(ByProjectKeyMeShoppingListsGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/shopping-lists", this.projectKey); + String httpRequestPath = String.format("%s/me/shopping-lists", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsHead.java index e9bc8d41e25..4bbd22774cd 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsHead.java @@ -66,7 +66,7 @@ public ByProjectKeyMeShoppingListsHead(ByProjectKeyMeShoppingListsHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/shopping-lists", this.projectKey); + String httpRequestPath = String.format("%s/me/shopping-lists", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsKeyByKeyDelete.java index 5a5eff7806f..d0a60fd51be 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsKeyByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsKeyByKeyDelete.java @@ -74,7 +74,8 @@ public ByProjectKeyMeShoppingListsKeyByKeyDelete(ByProjectKeyMeShoppingListsKeyB @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/shopping-lists/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/me/shopping-lists/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsKeyByKeyGet.java index 4fd7426bd1b..836113165d5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsKeyByKeyGet.java @@ -71,7 +71,8 @@ public ByProjectKeyMeShoppingListsKeyByKeyGet(ByProjectKeyMeShoppingListsKeyByKe @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/shopping-lists/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/me/shopping-lists/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsKeyByKeyHead.java index 2b2ab611691..13e47cf165d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsKeyByKeyHead.java @@ -66,7 +66,8 @@ public ByProjectKeyMeShoppingListsKeyByKeyHead(ByProjectKeyMeShoppingListsKeyByK @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/shopping-lists/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/me/shopping-lists/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsKeyByKeyPost.java index 2a11772ba16..2f0fb899846 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsKeyByKeyPost.java @@ -77,7 +77,8 @@ public ByProjectKeyMeShoppingListsKeyByKeyPost(ByProjectKeyMeShoppingListsKeyByK @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/shopping-lists/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/me/shopping-lists/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsPost.java index 713e3edafcb..7d0b617bc64 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeShoppingListsPost.java @@ -67,7 +67,7 @@ public ByProjectKeyMeShoppingListsPost(ByProjectKeyMeShoppingListsPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/shopping-lists", this.projectKey); + String httpRequestPath = String.format("%s/me/shopping-lists", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeSignupPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeSignupPost.java index 053cf614189..b833741b0c7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeSignupPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeSignupPost.java @@ -62,7 +62,7 @@ public ByProjectKeyMeSignupPost(ByProjectKeyMeSignupPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/me/signup", this.projectKey); + String httpRequestPath = String.format("%s/me/signup", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMessagesByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMessagesByIDGet.java index 5a4b8030d67..1c4ebd72982 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMessagesByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMessagesByIDGet.java @@ -65,7 +65,8 @@ public ByProjectKeyMessagesByIDGet(ByProjectKeyMessagesByIDGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/messages/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/messages/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMessagesByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMessagesByIDHead.java index d996c5f5c6b..ea661334ec8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMessagesByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMessagesByIDHead.java @@ -60,7 +60,8 @@ public ByProjectKeyMessagesByIDHead(ByProjectKeyMessagesByIDHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/messages/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/messages/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMessagesGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMessagesGet.java index ae3f940c0ab..2e77d6021ae 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMessagesGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMessagesGet.java @@ -64,7 +64,7 @@ public ByProjectKeyMessagesGet(ByProjectKeyMessagesGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/messages", this.projectKey); + String httpRequestPath = String.format("%s/messages", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMessagesHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMessagesHead.java index 2df13508f57..18e2976f3aa 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMessagesHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMessagesHead.java @@ -60,7 +60,7 @@ public ByProjectKeyMessagesHead(ByProjectKeyMessagesHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/messages", this.projectKey); + String httpRequestPath = String.format("%s/messages", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersByIDDelete.java index 8f996b3deee..85b3aa85edd 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersByIDDelete.java @@ -70,7 +70,8 @@ public ByProjectKeyOrdersByIDDelete(ByProjectKeyOrdersByIDDelete t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/orders/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/orders/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersByIDGet.java index dc65cf7330c..888e3ac67d8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersByIDGet.java @@ -65,7 +65,8 @@ public ByProjectKeyOrdersByIDGet(ByProjectKeyOrdersByIDGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/orders/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/orders/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersByIDHead.java index afd20b4101b..4c0776724f6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersByIDHead.java @@ -60,7 +60,8 @@ public ByProjectKeyOrdersByIDHead(ByProjectKeyOrdersByIDHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/orders/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/orders/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersByIDPost.java index f415df852e7..9682ad6e2f9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersByIDPost.java @@ -71,7 +71,8 @@ public ByProjectKeyOrdersByIDPost(ByProjectKeyOrdersByIDPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/orders/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/orders/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersEditsByIDApplyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersEditsByIDApplyPost.java index a8bd2688c3f..9eaba34035f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersEditsByIDApplyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersEditsByIDApplyPost.java @@ -66,7 +66,8 @@ public ByProjectKeyOrdersEditsByIDApplyPost(ByProjectKeyOrdersEditsByIDApplyPost @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/orders/edits/%s/apply", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/orders/edits/%s/apply", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersEditsByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersEditsByIDDelete.java index c8b32b084db..a52ec657a23 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersEditsByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersEditsByIDDelete.java @@ -69,7 +69,8 @@ public ByProjectKeyOrdersEditsByIDDelete(ByProjectKeyOrdersEditsByIDDelete t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/orders/edits/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/orders/edits/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersEditsByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersEditsByIDGet.java index 4d0708bb202..5e51d1be298 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersEditsByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersEditsByIDGet.java @@ -66,7 +66,8 @@ public ByProjectKeyOrdersEditsByIDGet(ByProjectKeyOrdersEditsByIDGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/orders/edits/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/orders/edits/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersEditsByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersEditsByIDHead.java index 3e0e77d313a..8e513b88b07 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersEditsByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersEditsByIDHead.java @@ -61,7 +61,8 @@ public ByProjectKeyOrdersEditsByIDHead(ByProjectKeyOrdersEditsByIDHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/orders/edits/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/orders/edits/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersEditsByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersEditsByIDPost.java index 26b5a346a24..87fe243c459 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersEditsByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersEditsByIDPost.java @@ -72,7 +72,8 @@ public ByProjectKeyOrdersEditsByIDPost(ByProjectKeyOrdersEditsByIDPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/orders/edits/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/orders/edits/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersEditsGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersEditsGet.java index 848da6ad4d9..2b97b965ba4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersEditsGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersEditsGet.java @@ -66,7 +66,7 @@ public ByProjectKeyOrdersEditsGet(ByProjectKeyOrdersEditsGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/orders/edits", this.projectKey); + String httpRequestPath = String.format("%s/orders/edits", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersEditsHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersEditsHead.java index afda4542750..6436ee7699e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersEditsHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersEditsHead.java @@ -61,7 +61,7 @@ public ByProjectKeyOrdersEditsHead(ByProjectKeyOrdersEditsHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/orders/edits", this.projectKey); + String httpRequestPath = String.format("%s/orders/edits", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersEditsKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersEditsKeyByKeyDelete.java index dbacd00b452..173b30c3f1a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersEditsKeyByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersEditsKeyByKeyDelete.java @@ -69,7 +69,8 @@ public ByProjectKeyOrdersEditsKeyByKeyDelete(ByProjectKeyOrdersEditsKeyByKeyDele @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/orders/edits/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/orders/edits/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersEditsKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersEditsKeyByKeyGet.java index ee96f27090c..9a8d54d8014 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersEditsKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersEditsKeyByKeyGet.java @@ -66,7 +66,8 @@ public ByProjectKeyOrdersEditsKeyByKeyGet(ByProjectKeyOrdersEditsKeyByKeyGet t) @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/orders/edits/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/orders/edits/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersEditsKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersEditsKeyByKeyHead.java index 6c470f08e8b..ddc3f3cf96e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersEditsKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersEditsKeyByKeyHead.java @@ -61,7 +61,8 @@ public ByProjectKeyOrdersEditsKeyByKeyHead(ByProjectKeyOrdersEditsKeyByKeyHead t @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/orders/edits/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/orders/edits/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersEditsKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersEditsKeyByKeyPost.java index 8e7eba4c321..bfc9f850e28 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersEditsKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersEditsKeyByKeyPost.java @@ -72,7 +72,8 @@ public ByProjectKeyOrdersEditsKeyByKeyPost(ByProjectKeyOrdersEditsKeyByKeyPost t @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/orders/edits/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/orders/edits/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersEditsPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersEditsPost.java index 0bccb935a44..05d8ce8364b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersEditsPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersEditsPost.java @@ -68,7 +68,7 @@ public ByProjectKeyOrdersEditsPost(ByProjectKeyOrdersEditsPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/orders/edits", this.projectKey); + String httpRequestPath = String.format("%s/orders/edits", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersGet.java index d56a8be0666..f6ce816b562 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersGet.java @@ -64,7 +64,7 @@ public ByProjectKeyOrdersGet(ByProjectKeyOrdersGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/orders", this.projectKey); + String httpRequestPath = String.format("%s/orders", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersHead.java index c21982e997d..1fc7b3d0413 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersHead.java @@ -60,7 +60,7 @@ public ByProjectKeyOrdersHead(ByProjectKeyOrdersHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/orders", this.projectKey); + String httpRequestPath = String.format("%s/orders", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersImportPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersImportPost.java index 3c6f257a254..802702a4f1a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersImportPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersImportPost.java @@ -66,7 +66,7 @@ public ByProjectKeyOrdersImportPost(ByProjectKeyOrdersImportPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/orders/import", this.projectKey); + String httpRequestPath = String.format("%s/orders/import", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersOrderNumberByOrderNumberDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersOrderNumberByOrderNumberDelete.java index dfe95361165..c6f7130e8f5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersOrderNumberByOrderNumberDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersOrderNumberByOrderNumberDelete.java @@ -70,7 +70,8 @@ public ByProjectKeyOrdersOrderNumberByOrderNumberDelete(ByProjectKeyOrdersOrderN @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/orders/order-number=%s", this.projectKey, this.orderNumber); + String httpRequestPath = String.format("%s/orders/order-number=%s", encodePathParam(this.projectKey), + encodePathParam(this.orderNumber)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersOrderNumberByOrderNumberGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersOrderNumberByOrderNumberGet.java index 77860a94d20..960207ea49c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersOrderNumberByOrderNumberGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersOrderNumberByOrderNumberGet.java @@ -66,7 +66,8 @@ public ByProjectKeyOrdersOrderNumberByOrderNumberGet(ByProjectKeyOrdersOrderNumb @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/orders/order-number=%s", this.projectKey, this.orderNumber); + String httpRequestPath = String.format("%s/orders/order-number=%s", encodePathParam(this.projectKey), + encodePathParam(this.orderNumber)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersOrderNumberByOrderNumberHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersOrderNumberByOrderNumberHead.java index 584c470751d..18018f6b404 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersOrderNumberByOrderNumberHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersOrderNumberByOrderNumberHead.java @@ -61,7 +61,8 @@ public ByProjectKeyOrdersOrderNumberByOrderNumberHead(ByProjectKeyOrdersOrderNum @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/orders/order-number=%s", this.projectKey, this.orderNumber); + String httpRequestPath = String.format("%s/orders/order-number=%s", encodePathParam(this.projectKey), + encodePathParam(this.orderNumber)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersOrderNumberByOrderNumberPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersOrderNumberByOrderNumberPost.java index 03c3d66bceb..22dcab1b12e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersOrderNumberByOrderNumberPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersOrderNumberByOrderNumberPost.java @@ -71,7 +71,8 @@ public ByProjectKeyOrdersOrderNumberByOrderNumberPost(ByProjectKeyOrdersOrderNum @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/orders/order-number=%s", this.projectKey, this.orderNumber); + String httpRequestPath = String.format("%s/orders/order-number=%s", encodePathParam(this.projectKey), + encodePathParam(this.orderNumber)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersPost.java index 72268d2572c..d1bc4ba9552 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersPost.java @@ -80,7 +80,7 @@ public ByProjectKeyOrdersPost(ByProjectKeyOrdersPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/orders", this.projectKey); + String httpRequestPath = String.format("%s/orders", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersQuotesPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersQuotesPost.java index a6eb08da641..fc6d9c83bf9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersQuotesPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersQuotesPost.java @@ -69,7 +69,7 @@ public ByProjectKeyOrdersQuotesPost(ByProjectKeyOrdersQuotesPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/orders/quotes", this.projectKey); + String httpRequestPath = String.format("%s/orders/quotes", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersSearchHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersSearchHead.java index beb98ddd9d4..888a03dd7ce 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersSearchHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersSearchHead.java @@ -57,7 +57,7 @@ public ByProjectKeyOrdersSearchHead(ByProjectKeyOrdersSearchHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/orders/search", this.projectKey); + String httpRequestPath = String.format("%s/orders/search", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersSearchPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersSearchPost.java index c9769089fe3..abe976af184 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersSearchPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyOrdersSearchPost.java @@ -61,7 +61,7 @@ public ByProjectKeyOrdersSearchPost(ByProjectKeyOrdersSearchPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/orders/search", this.projectKey); + String httpRequestPath = String.format("%s/orders/search", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyPaymentsByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyPaymentsByIDDelete.java index 855dc7cff35..db4cc5a3aeb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyPaymentsByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyPaymentsByIDDelete.java @@ -70,7 +70,8 @@ public ByProjectKeyPaymentsByIDDelete(ByProjectKeyPaymentsByIDDelete t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/payments/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/payments/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyPaymentsByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyPaymentsByIDGet.java index 8b67ab03d85..c478445faf8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyPaymentsByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyPaymentsByIDGet.java @@ -65,7 +65,8 @@ public ByProjectKeyPaymentsByIDGet(ByProjectKeyPaymentsByIDGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/payments/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/payments/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyPaymentsByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyPaymentsByIDHead.java index 7dad0d8af00..f411c6ee40e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyPaymentsByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyPaymentsByIDHead.java @@ -60,7 +60,8 @@ public ByProjectKeyPaymentsByIDHead(ByProjectKeyPaymentsByIDHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/payments/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/payments/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyPaymentsByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyPaymentsByIDPost.java index a9207d3a759..8a801c1a66c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyPaymentsByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyPaymentsByIDPost.java @@ -71,7 +71,8 @@ public ByProjectKeyPaymentsByIDPost(ByProjectKeyPaymentsByIDPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/payments/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/payments/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyPaymentsGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyPaymentsGet.java index 04747c7f151..e0ae9fcf3e9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyPaymentsGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyPaymentsGet.java @@ -64,7 +64,7 @@ public ByProjectKeyPaymentsGet(ByProjectKeyPaymentsGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/payments", this.projectKey); + String httpRequestPath = String.format("%s/payments", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyPaymentsHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyPaymentsHead.java index b91173f198c..cbf464ffeb2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyPaymentsHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyPaymentsHead.java @@ -60,7 +60,7 @@ public ByProjectKeyPaymentsHead(ByProjectKeyPaymentsHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/payments", this.projectKey); + String httpRequestPath = String.format("%s/payments", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyPaymentsKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyPaymentsKeyByKeyDelete.java index 368abbc59c7..97bc16441b7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyPaymentsKeyByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyPaymentsKeyByKeyDelete.java @@ -70,7 +70,8 @@ public ByProjectKeyPaymentsKeyByKeyDelete(ByProjectKeyPaymentsKeyByKeyDelete t) @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/payments/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/payments/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyPaymentsKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyPaymentsKeyByKeyGet.java index 42b9e08f45a..fd76bce4c53 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyPaymentsKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyPaymentsKeyByKeyGet.java @@ -65,7 +65,8 @@ public ByProjectKeyPaymentsKeyByKeyGet(ByProjectKeyPaymentsKeyByKeyGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/payments/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/payments/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyPaymentsKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyPaymentsKeyByKeyHead.java index 6f9b1f8da37..d9a6cf3a34a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyPaymentsKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyPaymentsKeyByKeyHead.java @@ -60,7 +60,8 @@ public ByProjectKeyPaymentsKeyByKeyHead(ByProjectKeyPaymentsKeyByKeyHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/payments/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/payments/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyPaymentsKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyPaymentsKeyByKeyPost.java index af3e8a2376e..6fdf7065191 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyPaymentsKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyPaymentsKeyByKeyPost.java @@ -71,7 +71,8 @@ public ByProjectKeyPaymentsKeyByKeyPost(ByProjectKeyPaymentsKeyByKeyPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/payments/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/payments/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyPaymentsPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyPaymentsPost.java index d5285f24363..9689f150948 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyPaymentsPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyPaymentsPost.java @@ -66,7 +66,7 @@ public ByProjectKeyPaymentsPost(ByProjectKeyPaymentsPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/payments", this.projectKey); + String httpRequestPath = String.format("%s/payments", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyPost.java index 6563663712e..e08b874654a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyPost.java @@ -59,7 +59,7 @@ public ByProjectKeyPost(ByProjectKeyPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s", this.projectKey); + String httpRequestPath = String.format("%s", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductDiscountsByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductDiscountsByIDDelete.java index 5d2d076137c..8b4e790c0f8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductDiscountsByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductDiscountsByIDDelete.java @@ -70,7 +70,8 @@ public ByProjectKeyProductDiscountsByIDDelete(ByProjectKeyProductDiscountsByIDDe @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-discounts/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/product-discounts/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductDiscountsByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductDiscountsByIDGet.java index dae3daf4f5d..2c09a029d2e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductDiscountsByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductDiscountsByIDGet.java @@ -65,7 +65,8 @@ public ByProjectKeyProductDiscountsByIDGet(ByProjectKeyProductDiscountsByIDGet t @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-discounts/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/product-discounts/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductDiscountsByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductDiscountsByIDHead.java index e910caf670b..cfae2a6f0ab 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductDiscountsByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductDiscountsByIDHead.java @@ -60,7 +60,8 @@ public ByProjectKeyProductDiscountsByIDHead(ByProjectKeyProductDiscountsByIDHead @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-discounts/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/product-discounts/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductDiscountsByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductDiscountsByIDPost.java index 87d78a5adec..1357893481a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductDiscountsByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductDiscountsByIDPost.java @@ -71,7 +71,8 @@ public ByProjectKeyProductDiscountsByIDPost(ByProjectKeyProductDiscountsByIDPost @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-discounts/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/product-discounts/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductDiscountsGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductDiscountsGet.java index d9be96a2378..3cd8b1c9dfc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductDiscountsGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductDiscountsGet.java @@ -65,7 +65,7 @@ public ByProjectKeyProductDiscountsGet(ByProjectKeyProductDiscountsGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-discounts", this.projectKey); + String httpRequestPath = String.format("%s/product-discounts", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductDiscountsHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductDiscountsHead.java index e02fdf965a3..1f474565ef9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductDiscountsHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductDiscountsHead.java @@ -60,7 +60,7 @@ public ByProjectKeyProductDiscountsHead(ByProjectKeyProductDiscountsHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-discounts", this.projectKey); + String httpRequestPath = String.format("%s/product-discounts", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductDiscountsKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductDiscountsKeyByKeyDelete.java index 9131ff867c5..bf8a34e49ad 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductDiscountsKeyByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductDiscountsKeyByKeyDelete.java @@ -71,7 +71,8 @@ public ByProjectKeyProductDiscountsKeyByKeyDelete(ByProjectKeyProductDiscountsKe @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-discounts/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/product-discounts/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductDiscountsKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductDiscountsKeyByKeyGet.java index 5fef25c11bb..5ccca12655e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductDiscountsKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductDiscountsKeyByKeyGet.java @@ -65,7 +65,8 @@ public ByProjectKeyProductDiscountsKeyByKeyGet(ByProjectKeyProductDiscountsKeyBy @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-discounts/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/product-discounts/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductDiscountsKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductDiscountsKeyByKeyHead.java index e9e40795335..a3ced9fe6fb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductDiscountsKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductDiscountsKeyByKeyHead.java @@ -60,7 +60,8 @@ public ByProjectKeyProductDiscountsKeyByKeyHead(ByProjectKeyProductDiscountsKeyB @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-discounts/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/product-discounts/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductDiscountsKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductDiscountsKeyByKeyPost.java index a47e3e5ae8b..495bb16fd32 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductDiscountsKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductDiscountsKeyByKeyPost.java @@ -71,7 +71,8 @@ public ByProjectKeyProductDiscountsKeyByKeyPost(ByProjectKeyProductDiscountsKeyB @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-discounts/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/product-discounts/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductDiscountsMatchingPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductDiscountsMatchingPost.java index 91450ccb5ed..88cd603b8ea 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductDiscountsMatchingPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductDiscountsMatchingPost.java @@ -62,7 +62,7 @@ public ByProjectKeyProductDiscountsMatchingPost(ByProjectKeyProductDiscountsMatc @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-discounts/matching", this.projectKey); + String httpRequestPath = String.format("%s/product-discounts/matching", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductDiscountsPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductDiscountsPost.java index 3e41ad90c58..96b88fb5fd0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductDiscountsPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductDiscountsPost.java @@ -66,7 +66,7 @@ public ByProjectKeyProductDiscountsPost(ByProjectKeyProductDiscountsPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-discounts", this.projectKey); + String httpRequestPath = String.format("%s/product-discounts", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsByIDGet.java index e1072c18c82..dd82554bb92 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsByIDGet.java @@ -70,7 +70,8 @@ public ByProjectKeyProductProjectionsByIDGet(ByProjectKeyProductProjectionsByIDG @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-projections/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/product-projections/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsByIDHead.java index ff511490a72..83c37b96daa 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsByIDHead.java @@ -60,7 +60,8 @@ public ByProjectKeyProductProjectionsByIDHead(ByProjectKeyProductProjectionsByID @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-projections/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/product-projections/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsGet.java index 21fcd163c6e..14bb7ef6412 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsGet.java @@ -69,7 +69,7 @@ public ByProjectKeyProductProjectionsGet(ByProjectKeyProductProjectionsGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-projections", this.projectKey); + String httpRequestPath = String.format("%s/product-projections", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsHead.java index 0d5535d94bc..eac29dd2bb3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsHead.java @@ -60,7 +60,7 @@ public ByProjectKeyProductProjectionsHead(ByProjectKeyProductProjectionsHead t) @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-projections", this.projectKey); + String httpRequestPath = String.format("%s/product-projections", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsKeyByKeyGet.java index 5ffd2b7682a..5990d0cd99d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsKeyByKeyGet.java @@ -70,7 +70,8 @@ public ByProjectKeyProductProjectionsKeyByKeyGet(ByProjectKeyProductProjectionsK @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-projections/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/product-projections/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsKeyByKeyHead.java index 6407d49cd06..f72ec0233b2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsKeyByKeyHead.java @@ -61,7 +61,8 @@ public ByProjectKeyProductProjectionsKeyByKeyHead(ByProjectKeyProductProjections @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-projections/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/product-projections/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsSearchGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsSearchGet.java index e9e612c75de..cea727441bf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsSearchGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsSearchGet.java @@ -69,7 +69,7 @@ public ByProjectKeyProductProjectionsSearchGet(ByProjectKeyProductProjectionsSea @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-projections/search", this.projectKey); + String httpRequestPath = String.format("%s/product-projections/search", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsSearchPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsSearchPost.java index 9efa9530cf2..18acd610b25 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsSearchPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsSearchPost.java @@ -70,7 +70,7 @@ public ByProjectKeyProductProjectionsSearchPost(ByProjectKeyProductProjectionsSe @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-projections/search", this.projectKey); + String httpRequestPath = String.format("%s/product-projections/search", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsSuggestGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsSuggestGet.java index 5b0cbc44554..c7766af69ae 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsSuggestGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductProjectionsSuggestGet.java @@ -62,7 +62,7 @@ public ByProjectKeyProductProjectionsSuggestGet(ByProjectKeyProductProjectionsSu @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-projections/suggest", this.projectKey); + String httpRequestPath = String.format("%s/product-projections/suggest", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsByIDDelete.java index 49b34b3ebaa..c3ed48a073e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsByIDDelete.java @@ -70,7 +70,8 @@ public ByProjectKeyProductSelectionsByIDDelete(ByProjectKeyProductSelectionsByID @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-selections/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/product-selections/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsByIDGet.java index 71e68ffe6f7..4849b789520 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsByIDGet.java @@ -65,7 +65,8 @@ public ByProjectKeyProductSelectionsByIDGet(ByProjectKeyProductSelectionsByIDGet @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-selections/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/product-selections/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsByIDHead.java index 89295519247..b276f8e47a5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsByIDHead.java @@ -60,7 +60,8 @@ public ByProjectKeyProductSelectionsByIDHead(ByProjectKeyProductSelectionsByIDHe @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-selections/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/product-selections/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsByIDPost.java index 48a64bafd1a..2e62936492f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsByIDPost.java @@ -71,7 +71,8 @@ public ByProjectKeyProductSelectionsByIDPost(ByProjectKeyProductSelectionsByIDPo @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-selections/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/product-selections/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsByIDProductsGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsByIDProductsGet.java index 5c62459bf57..0fea98626ae 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsByIDProductsGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsByIDProductsGet.java @@ -69,7 +69,8 @@ public ByProjectKeyProductSelectionsByIDProductsGet(ByProjectKeyProductSelection @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-selections/%s/products", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/product-selections/%s/products", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsGet.java index 6a02890e05b..4df2d68493e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsGet.java @@ -65,7 +65,7 @@ public ByProjectKeyProductSelectionsGet(ByProjectKeyProductSelectionsGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-selections", this.projectKey); + String httpRequestPath = String.format("%s/product-selections", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsHead.java index b9308566316..03ce14d169a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsHead.java @@ -60,7 +60,7 @@ public ByProjectKeyProductSelectionsHead(ByProjectKeyProductSelectionsHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-selections", this.projectKey); + String httpRequestPath = String.format("%s/product-selections", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsKeyByKeyDelete.java index 9bbf1187f3e..d6286b025e9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsKeyByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsKeyByKeyDelete.java @@ -71,7 +71,8 @@ public ByProjectKeyProductSelectionsKeyByKeyDelete(ByProjectKeyProductSelections @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-selections/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/product-selections/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsKeyByKeyGet.java index d5b7800c020..4fb836ac1a7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsKeyByKeyGet.java @@ -65,7 +65,8 @@ public ByProjectKeyProductSelectionsKeyByKeyGet(ByProjectKeyProductSelectionsKey @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-selections/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/product-selections/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsKeyByKeyHead.java index c8942f865fb..d0fe1a8138c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsKeyByKeyHead.java @@ -60,7 +60,8 @@ public ByProjectKeyProductSelectionsKeyByKeyHead(ByProjectKeyProductSelectionsKe @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-selections/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/product-selections/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsKeyByKeyPost.java index 1cf2083b559..a59f36dd7c3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsKeyByKeyPost.java @@ -71,7 +71,8 @@ public ByProjectKeyProductSelectionsKeyByKeyPost(ByProjectKeyProductSelectionsKe @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-selections/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/product-selections/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsKeyByKeyProductsGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsKeyByKeyProductsGet.java index 37a8bb52269..8eaab517d18 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsKeyByKeyProductsGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsKeyByKeyProductsGet.java @@ -69,7 +69,8 @@ public ByProjectKeyProductSelectionsKeyByKeyProductsGet(ByProjectKeyProductSelec @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-selections/key=%s/products", this.projectKey, this.key); + String httpRequestPath = String.format("%s/product-selections/key=%s/products", + encodePathParam(this.projectKey), encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsPost.java index 92d3e9ed69e..4b80365c135 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsPost.java @@ -66,7 +66,7 @@ public ByProjectKeyProductSelectionsPost(ByProjectKeyProductSelectionsPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-selections", this.projectKey); + String httpRequestPath = String.format("%s/product-selections", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTailoringByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTailoringByIDDelete.java index dbbb8fb659d..728399772e8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTailoringByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTailoringByIDDelete.java @@ -68,7 +68,8 @@ public ByProjectKeyProductTailoringByIDDelete(ByProjectKeyProductTailoringByIDDe @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-tailoring/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/product-tailoring/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTailoringByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTailoringByIDGet.java index 66a3686779c..433765fc3e1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTailoringByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTailoringByIDGet.java @@ -65,7 +65,8 @@ public ByProjectKeyProductTailoringByIDGet(ByProjectKeyProductTailoringByIDGet t @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-tailoring/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/product-tailoring/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTailoringByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTailoringByIDPost.java index 08260840b77..a2a47ead896 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTailoringByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTailoringByIDPost.java @@ -71,7 +71,8 @@ public ByProjectKeyProductTailoringByIDPost(ByProjectKeyProductTailoringByIDPost @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-tailoring/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/product-tailoring/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTailoringGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTailoringGet.java index a1d18dfccd9..0422018d25b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTailoringGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTailoringGet.java @@ -64,7 +64,7 @@ public ByProjectKeyProductTailoringGet(ByProjectKeyProductTailoringGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-tailoring", this.projectKey); + String httpRequestPath = String.format("%s/product-tailoring", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTailoringKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTailoringKeyByKeyDelete.java index ea5f27909df..33e89279e46 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTailoringKeyByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTailoringKeyByKeyDelete.java @@ -69,7 +69,8 @@ public ByProjectKeyProductTailoringKeyByKeyDelete(ByProjectKeyProductTailoringKe @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-tailoring/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/product-tailoring/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTailoringKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTailoringKeyByKeyGet.java index ce9134364c0..e8fc86e8e61 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTailoringKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTailoringKeyByKeyGet.java @@ -65,7 +65,8 @@ public ByProjectKeyProductTailoringKeyByKeyGet(ByProjectKeyProductTailoringKeyBy @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-tailoring/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/product-tailoring/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTailoringKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTailoringKeyByKeyPost.java index 0742b79e485..42fe4684391 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTailoringKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTailoringKeyByKeyPost.java @@ -71,7 +71,8 @@ public ByProjectKeyProductTailoringKeyByKeyPost(ByProjectKeyProductTailoringKeyB @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-tailoring/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/product-tailoring/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTailoringPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTailoringPost.java index 59de21aa5a1..474b7426d54 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTailoringPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTailoringPost.java @@ -66,7 +66,7 @@ public ByProjectKeyProductTailoringPost(ByProjectKeyProductTailoringPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-tailoring", this.projectKey); + String httpRequestPath = String.format("%s/product-tailoring", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTypesByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTypesByIDDelete.java index 67fcf263902..fa9fa47fb4d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTypesByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTypesByIDDelete.java @@ -71,7 +71,8 @@ public ByProjectKeyProductTypesByIDDelete(ByProjectKeyProductTypesByIDDelete t) @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-types/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/product-types/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTypesByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTypesByIDGet.java index 27a375b4ab3..c129a222135 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTypesByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTypesByIDGet.java @@ -66,7 +66,8 @@ public ByProjectKeyProductTypesByIDGet(ByProjectKeyProductTypesByIDGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-types/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/product-types/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTypesByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTypesByIDHead.java index 85260717bb9..00dacc03f82 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTypesByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTypesByIDHead.java @@ -60,7 +60,8 @@ public ByProjectKeyProductTypesByIDHead(ByProjectKeyProductTypesByIDHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-types/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/product-types/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTypesByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTypesByIDPost.java index 89c5d0076ac..6c3274f81d0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTypesByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTypesByIDPost.java @@ -72,7 +72,8 @@ public ByProjectKeyProductTypesByIDPost(ByProjectKeyProductTypesByIDPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-types/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/product-types/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTypesGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTypesGet.java index e3bcbac8472..efe7edcc760 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTypesGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTypesGet.java @@ -65,7 +65,7 @@ public ByProjectKeyProductTypesGet(ByProjectKeyProductTypesGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-types", this.projectKey); + String httpRequestPath = String.format("%s/product-types", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTypesHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTypesHead.java index d260f832664..148427ba83e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTypesHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTypesHead.java @@ -60,7 +60,7 @@ public ByProjectKeyProductTypesHead(ByProjectKeyProductTypesHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-types", this.projectKey); + String httpRequestPath = String.format("%s/product-types", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTypesKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTypesKeyByKeyDelete.java index 9dcef4c7cee..af12b3737fa 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTypesKeyByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTypesKeyByKeyDelete.java @@ -70,7 +70,8 @@ public ByProjectKeyProductTypesKeyByKeyDelete(ByProjectKeyProductTypesKeyByKeyDe @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-types/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/product-types/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTypesKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTypesKeyByKeyGet.java index 62dc99924a0..dfbd8e24d98 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTypesKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTypesKeyByKeyGet.java @@ -65,7 +65,8 @@ public ByProjectKeyProductTypesKeyByKeyGet(ByProjectKeyProductTypesKeyByKeyGet t @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-types/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/product-types/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTypesKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTypesKeyByKeyHead.java index e3f81f7ac42..d7f868a9718 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTypesKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTypesKeyByKeyHead.java @@ -60,7 +60,8 @@ public ByProjectKeyProductTypesKeyByKeyHead(ByProjectKeyProductTypesKeyByKeyHead @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-types/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/product-types/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTypesKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTypesKeyByKeyPost.java index 9412f881629..07b4aa3f100 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTypesKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTypesKeyByKeyPost.java @@ -71,7 +71,8 @@ public ByProjectKeyProductTypesKeyByKeyPost(ByProjectKeyProductTypesKeyByKeyPost @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-types/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/product-types/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTypesPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTypesPost.java index 655b7ef1f7a..02ed68cd2b0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTypesPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductTypesPost.java @@ -66,7 +66,7 @@ public ByProjectKeyProductTypesPost(ByProjectKeyProductTypesPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-types", this.projectKey); + String httpRequestPath = String.format("%s/product-types", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDDelete.java index 734bd5cf76f..dbb3269733e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDDelete.java @@ -70,7 +70,8 @@ public ByProjectKeyProductsByIDDelete(ByProjectKeyProductsByIDDelete t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/products/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/products/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDGet.java index ae70dc93eae..93f7b216b76 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDGet.java @@ -66,7 +66,8 @@ public ByProjectKeyProductsByIDGet(ByProjectKeyProductsByIDGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/products/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/products/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDHead.java index a1cd8aca880..19fee198556 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDHead.java @@ -60,7 +60,8 @@ public ByProjectKeyProductsByIDHead(ByProjectKeyProductsByIDHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/products/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/products/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDImagesPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDImagesPost.java index bfad4908b7f..9a707ec671b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDImagesPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDImagesPost.java @@ -71,7 +71,8 @@ public ByProjectKeyProductsByIDImagesPost(ByProjectKeyProductsByIDImagesPost t) @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/products/%s/images", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/products/%s/images", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDPost.java index 5319b52a6a9..bf94e3340e9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDPost.java @@ -73,7 +73,8 @@ public ByProjectKeyProductsByIDPost(ByProjectKeyProductsByIDPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/products/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/products/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDProductSelectionsGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDProductSelectionsGet.java index 7a9538d6dc8..b2852f3896c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDProductSelectionsGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsByIDProductSelectionsGet.java @@ -70,7 +70,8 @@ public ByProjectKeyProductsByIDProductSelectionsGet(ByProjectKeyProductsByIDProd @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/products/%s/product-selections", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/products/%s/product-selections", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsGet.java index ace176b5691..81cec5942f4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsGet.java @@ -66,7 +66,7 @@ public ByProjectKeyProductsGet(ByProjectKeyProductsGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/products", this.projectKey); + String httpRequestPath = String.format("%s/products", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsHead.java index a7d707687dc..a91c86119cf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsHead.java @@ -60,7 +60,7 @@ public ByProjectKeyProductsHead(ByProjectKeyProductsHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/products", this.projectKey); + String httpRequestPath = String.format("%s/products", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyDelete.java index 954bd2c92df..ff8836df09b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyDelete.java @@ -70,7 +70,8 @@ public ByProjectKeyProductsKeyByKeyDelete(ByProjectKeyProductsKeyByKeyDelete t) @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/products/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/products/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyGet.java index f83b9ca0266..e7ca2a23bce 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyGet.java @@ -66,7 +66,8 @@ public ByProjectKeyProductsKeyByKeyGet(ByProjectKeyProductsKeyByKeyGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/products/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/products/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyHead.java index 9f6a6660130..643ecabd498 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyHead.java @@ -60,7 +60,8 @@ public ByProjectKeyProductsKeyByKeyHead(ByProjectKeyProductsKeyByKeyHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/products/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/products/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyPost.java index b21c06b212e..6d5749bb546 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyPost.java @@ -72,7 +72,8 @@ public ByProjectKeyProductsKeyByKeyPost(ByProjectKeyProductsKeyByKeyPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/products/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/products/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyProductSelectionsGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyProductSelectionsGet.java index c6de48b458a..2e36f87edef 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyProductSelectionsGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsKeyByKeyProductSelectionsGet.java @@ -70,7 +70,8 @@ public ByProjectKeyProductsKeyByKeyProductSelectionsGet(ByProjectKeyProductsKeyB @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/products/key=%s/product-selections", this.projectKey, this.key); + String httpRequestPath = String.format("%s/products/key=%s/product-selections", + encodePathParam(this.projectKey), encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsPost.java index 64846929baf..e7c6e50be8f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsPost.java @@ -67,7 +67,7 @@ public ByProjectKeyProductsPost(ByProjectKeyProductsPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/products", this.projectKey); + String httpRequestPath = String.format("%s/products", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsSearchPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsSearchPost.java index 119763c0c39..3863a1150d9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsSearchPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsSearchPost.java @@ -61,7 +61,7 @@ public ByProjectKeyProductsSearchPost(ByProjectKeyProductsSearchPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/products/search", this.projectKey); + String httpRequestPath = String.format("%s/products/search", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuoteRequestsByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuoteRequestsByIDDelete.java index ef54f44e819..22edc9eb5c4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuoteRequestsByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuoteRequestsByIDDelete.java @@ -71,7 +71,8 @@ public ByProjectKeyQuoteRequestsByIDDelete(ByProjectKeyQuoteRequestsByIDDelete t @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/quote-requests/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/quote-requests/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuoteRequestsByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuoteRequestsByIDGet.java index 0c2abfaea8b..1eadb7383b1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuoteRequestsByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuoteRequestsByIDGet.java @@ -65,7 +65,8 @@ public ByProjectKeyQuoteRequestsByIDGet(ByProjectKeyQuoteRequestsByIDGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/quote-requests/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/quote-requests/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuoteRequestsByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuoteRequestsByIDHead.java index a2613b76bdd..84fdf7c08c8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuoteRequestsByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuoteRequestsByIDHead.java @@ -60,7 +60,8 @@ public ByProjectKeyQuoteRequestsByIDHead(ByProjectKeyQuoteRequestsByIDHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/quote-requests/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/quote-requests/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuoteRequestsByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuoteRequestsByIDPost.java index f2b292de371..04f69c9c99a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuoteRequestsByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuoteRequestsByIDPost.java @@ -71,7 +71,8 @@ public ByProjectKeyQuoteRequestsByIDPost(ByProjectKeyQuoteRequestsByIDPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/quote-requests/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/quote-requests/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuoteRequestsGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuoteRequestsGet.java index 5444c907af5..60c64a33820 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuoteRequestsGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuoteRequestsGet.java @@ -64,7 +64,7 @@ public ByProjectKeyQuoteRequestsGet(ByProjectKeyQuoteRequestsGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/quote-requests", this.projectKey); + String httpRequestPath = String.format("%s/quote-requests", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuoteRequestsHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuoteRequestsHead.java index 5e1bd0aae28..54d5182294d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuoteRequestsHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuoteRequestsHead.java @@ -60,7 +60,7 @@ public ByProjectKeyQuoteRequestsHead(ByProjectKeyQuoteRequestsHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/quote-requests", this.projectKey); + String httpRequestPath = String.format("%s/quote-requests", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuoteRequestsKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuoteRequestsKeyByKeyDelete.java index 7a680aaba4a..073803b7f8f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuoteRequestsKeyByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuoteRequestsKeyByKeyDelete.java @@ -71,7 +71,8 @@ public ByProjectKeyQuoteRequestsKeyByKeyDelete(ByProjectKeyQuoteRequestsKeyByKey @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/quote-requests/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/quote-requests/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuoteRequestsKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuoteRequestsKeyByKeyGet.java index b50fdd631dd..355bef956a8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuoteRequestsKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuoteRequestsKeyByKeyGet.java @@ -65,7 +65,8 @@ public ByProjectKeyQuoteRequestsKeyByKeyGet(ByProjectKeyQuoteRequestsKeyByKeyGet @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/quote-requests/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/quote-requests/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuoteRequestsKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuoteRequestsKeyByKeyHead.java index bb5c626026d..230ff7fdc08 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuoteRequestsKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuoteRequestsKeyByKeyHead.java @@ -60,7 +60,8 @@ public ByProjectKeyQuoteRequestsKeyByKeyHead(ByProjectKeyQuoteRequestsKeyByKeyHe @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/quote-requests/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/quote-requests/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuoteRequestsKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuoteRequestsKeyByKeyPost.java index a51ee1f1ef0..9c0f3d6fc26 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuoteRequestsKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuoteRequestsKeyByKeyPost.java @@ -71,7 +71,8 @@ public ByProjectKeyQuoteRequestsKeyByKeyPost(ByProjectKeyQuoteRequestsKeyByKeyPo @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/quote-requests/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/quote-requests/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuoteRequestsPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuoteRequestsPost.java index 175345819c8..95343161d7b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuoteRequestsPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuoteRequestsPost.java @@ -66,7 +66,7 @@ public ByProjectKeyQuoteRequestsPost(ByProjectKeyQuoteRequestsPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/quote-requests", this.projectKey); + String httpRequestPath = String.format("%s/quote-requests", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuotesByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuotesByIDDelete.java index b9984297a75..f53f10f83cd 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuotesByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuotesByIDDelete.java @@ -70,7 +70,8 @@ public ByProjectKeyQuotesByIDDelete(ByProjectKeyQuotesByIDDelete t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/quotes/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/quotes/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuotesByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuotesByIDGet.java index e3f9dbb4ea3..84e366ec31b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuotesByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuotesByIDGet.java @@ -65,7 +65,8 @@ public ByProjectKeyQuotesByIDGet(ByProjectKeyQuotesByIDGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/quotes/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/quotes/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuotesByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuotesByIDHead.java index eb3330de159..72500f2290e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuotesByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuotesByIDHead.java @@ -60,7 +60,8 @@ public ByProjectKeyQuotesByIDHead(ByProjectKeyQuotesByIDHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/quotes/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/quotes/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuotesByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuotesByIDPost.java index 35de2305180..09c506bd514 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuotesByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuotesByIDPost.java @@ -71,7 +71,8 @@ public ByProjectKeyQuotesByIDPost(ByProjectKeyQuotesByIDPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/quotes/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/quotes/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuotesGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuotesGet.java index 5e7c2407cd9..3937b4239df 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuotesGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuotesGet.java @@ -64,7 +64,7 @@ public ByProjectKeyQuotesGet(ByProjectKeyQuotesGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/quotes", this.projectKey); + String httpRequestPath = String.format("%s/quotes", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuotesHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuotesHead.java index 7b2a40a8a45..018b4588b0a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuotesHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuotesHead.java @@ -60,7 +60,7 @@ public ByProjectKeyQuotesHead(ByProjectKeyQuotesHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/quotes", this.projectKey); + String httpRequestPath = String.format("%s/quotes", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuotesKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuotesKeyByKeyDelete.java index c15f5ec17c1..a627b2cb581 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuotesKeyByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuotesKeyByKeyDelete.java @@ -70,7 +70,8 @@ public ByProjectKeyQuotesKeyByKeyDelete(ByProjectKeyQuotesKeyByKeyDelete t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/quotes/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/quotes/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuotesKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuotesKeyByKeyGet.java index 4641f485c9e..db54cf8afff 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuotesKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuotesKeyByKeyGet.java @@ -65,7 +65,8 @@ public ByProjectKeyQuotesKeyByKeyGet(ByProjectKeyQuotesKeyByKeyGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/quotes/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/quotes/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuotesKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuotesKeyByKeyHead.java index c1295111271..bf52f1c2965 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuotesKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuotesKeyByKeyHead.java @@ -60,7 +60,8 @@ public ByProjectKeyQuotesKeyByKeyHead(ByProjectKeyQuotesKeyByKeyHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/quotes/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/quotes/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuotesKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuotesKeyByKeyPost.java index 22f47593748..5867fa527d4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuotesKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuotesKeyByKeyPost.java @@ -71,7 +71,8 @@ public ByProjectKeyQuotesKeyByKeyPost(ByProjectKeyQuotesKeyByKeyPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/quotes/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/quotes/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuotesPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuotesPost.java index ebb68c2cad5..71539a3dc47 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuotesPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyQuotesPost.java @@ -66,7 +66,7 @@ public ByProjectKeyQuotesPost(ByProjectKeyQuotesPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/quotes", this.projectKey); + String httpRequestPath = String.format("%s/quotes", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyReviewsByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyReviewsByIDDelete.java index 9931d5862fd..fee0e0068a6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyReviewsByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyReviewsByIDDelete.java @@ -70,7 +70,8 @@ public ByProjectKeyReviewsByIDDelete(ByProjectKeyReviewsByIDDelete t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/reviews/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/reviews/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyReviewsByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyReviewsByIDGet.java index 651c30514e5..3e4366ebff4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyReviewsByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyReviewsByIDGet.java @@ -65,7 +65,8 @@ public ByProjectKeyReviewsByIDGet(ByProjectKeyReviewsByIDGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/reviews/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/reviews/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyReviewsByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyReviewsByIDHead.java index 9d2225462f9..196d58a064a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyReviewsByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyReviewsByIDHead.java @@ -60,7 +60,8 @@ public ByProjectKeyReviewsByIDHead(ByProjectKeyReviewsByIDHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/reviews/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/reviews/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyReviewsByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyReviewsByIDPost.java index 40a7cfbbac6..e0afda70fe6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyReviewsByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyReviewsByIDPost.java @@ -71,7 +71,8 @@ public ByProjectKeyReviewsByIDPost(ByProjectKeyReviewsByIDPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/reviews/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/reviews/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyReviewsGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyReviewsGet.java index f218373f764..040b1f68c2f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyReviewsGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyReviewsGet.java @@ -64,7 +64,7 @@ public ByProjectKeyReviewsGet(ByProjectKeyReviewsGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/reviews", this.projectKey); + String httpRequestPath = String.format("%s/reviews", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyReviewsHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyReviewsHead.java index d17c4cd94da..6b4f09adc1d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyReviewsHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyReviewsHead.java @@ -60,7 +60,7 @@ public ByProjectKeyReviewsHead(ByProjectKeyReviewsHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/reviews", this.projectKey); + String httpRequestPath = String.format("%s/reviews", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyReviewsKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyReviewsKeyByKeyDelete.java index a107554eb22..300c259a10b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyReviewsKeyByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyReviewsKeyByKeyDelete.java @@ -70,7 +70,8 @@ public ByProjectKeyReviewsKeyByKeyDelete(ByProjectKeyReviewsKeyByKeyDelete t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/reviews/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/reviews/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyReviewsKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyReviewsKeyByKeyGet.java index 747a2eb586e..35dfa1658fb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyReviewsKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyReviewsKeyByKeyGet.java @@ -65,7 +65,8 @@ public ByProjectKeyReviewsKeyByKeyGet(ByProjectKeyReviewsKeyByKeyGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/reviews/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/reviews/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyReviewsKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyReviewsKeyByKeyHead.java index 0647a2f9fa7..def9b563352 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyReviewsKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyReviewsKeyByKeyHead.java @@ -60,7 +60,8 @@ public ByProjectKeyReviewsKeyByKeyHead(ByProjectKeyReviewsKeyByKeyHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/reviews/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/reviews/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyReviewsKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyReviewsKeyByKeyPost.java index 3649e3554d4..12666f4e313 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyReviewsKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyReviewsKeyByKeyPost.java @@ -71,7 +71,8 @@ public ByProjectKeyReviewsKeyByKeyPost(ByProjectKeyReviewsKeyByKeyPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/reviews/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/reviews/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyReviewsPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyReviewsPost.java index e870ec149b4..d80e14fc012 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyReviewsPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyReviewsPost.java @@ -66,7 +66,7 @@ public ByProjectKeyReviewsPost(ByProjectKeyReviewsPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/reviews", this.projectKey); + String httpRequestPath = String.format("%s/reviews", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsByIDDelete.java index 1914e8b7878..d6773a9764e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsByIDDelete.java @@ -70,7 +70,8 @@ public ByProjectKeyShippingMethodsByIDDelete(ByProjectKeyShippingMethodsByIDDele @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/shipping-methods/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/shipping-methods/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsByIDGet.java index 2c3ac1eb546..60bef31e219 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsByIDGet.java @@ -65,7 +65,8 @@ public ByProjectKeyShippingMethodsByIDGet(ByProjectKeyShippingMethodsByIDGet t) @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/shipping-methods/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/shipping-methods/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsByIDHead.java index a9d1dbe7b9a..0160e013647 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsByIDHead.java @@ -60,7 +60,8 @@ public ByProjectKeyShippingMethodsByIDHead(ByProjectKeyShippingMethodsByIDHead t @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/shipping-methods/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/shipping-methods/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsByIDPost.java index f002b7465ed..fc3a8ce9763 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsByIDPost.java @@ -71,7 +71,8 @@ public ByProjectKeyShippingMethodsByIDPost(ByProjectKeyShippingMethodsByIDPost t @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/shipping-methods/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/shipping-methods/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsGet.java index d3e1b9c366a..3ff2a695d5a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsGet.java @@ -65,7 +65,7 @@ public ByProjectKeyShippingMethodsGet(ByProjectKeyShippingMethodsGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/shipping-methods", this.projectKey); + String httpRequestPath = String.format("%s/shipping-methods", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsHead.java index 420ac3b4fdf..2012c41929c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsHead.java @@ -60,7 +60,7 @@ public ByProjectKeyShippingMethodsHead(ByProjectKeyShippingMethodsHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/shipping-methods", this.projectKey); + String httpRequestPath = String.format("%s/shipping-methods", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsKeyByKeyDelete.java index 83586555d8e..ffd02a1e2cb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsKeyByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsKeyByKeyDelete.java @@ -70,7 +70,8 @@ public ByProjectKeyShippingMethodsKeyByKeyDelete(ByProjectKeyShippingMethodsKeyB @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/shipping-methods/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/shipping-methods/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsKeyByKeyGet.java index 5c9d0fbd5c3..ee0d4db8cbe 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsKeyByKeyGet.java @@ -65,7 +65,8 @@ public ByProjectKeyShippingMethodsKeyByKeyGet(ByProjectKeyShippingMethodsKeyByKe @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/shipping-methods/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/shipping-methods/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsKeyByKeyHead.java index 57ae09819c9..9e28189f0b9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsKeyByKeyHead.java @@ -60,7 +60,8 @@ public ByProjectKeyShippingMethodsKeyByKeyHead(ByProjectKeyShippingMethodsKeyByK @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/shipping-methods/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/shipping-methods/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsKeyByKeyPost.java index eebf28241f4..998f8e787e8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsKeyByKeyPost.java @@ -71,7 +71,8 @@ public ByProjectKeyShippingMethodsKeyByKeyPost(ByProjectKeyShippingMethodsKeyByK @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/shipping-methods/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/shipping-methods/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingCartGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingCartGet.java index 4656772c3dc..9097bad3042 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingCartGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingCartGet.java @@ -63,7 +63,7 @@ public ByProjectKeyShippingMethodsMatchingCartGet(ByProjectKeyShippingMethodsMat @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/shipping-methods/matching-cart", this.projectKey); + String httpRequestPath = String.format("%s/shipping-methods/matching-cart", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingCartHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingCartHead.java index ad9eb4de7ce..b21450aa105 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingCartHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingCartHead.java @@ -62,7 +62,7 @@ public ByProjectKeyShippingMethodsMatchingCartHead(ByProjectKeyShippingMethodsMa @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/shipping-methods/matching-cart", this.projectKey); + String httpRequestPath = String.format("%s/shipping-methods/matching-cart", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingCartLocationGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingCartLocationGet.java index 10eabbaa4c6..ca8cd33359c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingCartLocationGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingCartLocationGet.java @@ -64,7 +64,8 @@ public ByProjectKeyShippingMethodsMatchingCartLocationGet(ByProjectKeyShippingMe @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/shipping-methods/matching-cart-location", this.projectKey); + String httpRequestPath = String.format("%s/shipping-methods/matching-cart-location", + encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingCartLocationHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingCartLocationHead.java index 9e06c7de7d8..1fc4f76cac5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingCartLocationHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingCartLocationHead.java @@ -63,7 +63,8 @@ public ByProjectKeyShippingMethodsMatchingCartLocationHead(ByProjectKeyShippingM @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/shipping-methods/matching-cart-location", this.projectKey); + String httpRequestPath = String.format("%s/shipping-methods/matching-cart-location", + encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingLocationGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingLocationGet.java index 5c12521bcfd..94108caa3c9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingLocationGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingLocationGet.java @@ -64,7 +64,8 @@ public ByProjectKeyShippingMethodsMatchingLocationGet(ByProjectKeyShippingMethod @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/shipping-methods/matching-location", this.projectKey); + String httpRequestPath = String.format("%s/shipping-methods/matching-location", + encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingLocationHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingLocationHead.java index 6c4f14efc24..064e9d5e753 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingLocationHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingLocationHead.java @@ -62,7 +62,8 @@ public ByProjectKeyShippingMethodsMatchingLocationHead(ByProjectKeyShippingMetho @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/shipping-methods/matching-location", this.projectKey); + String httpRequestPath = String.format("%s/shipping-methods/matching-location", + encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingOrdereditGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingOrdereditGet.java index d929f3a8ba6..c0a64343fac 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingOrdereditGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingOrdereditGet.java @@ -64,7 +64,8 @@ public ByProjectKeyShippingMethodsMatchingOrdereditGet(ByProjectKeyShippingMetho @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/shipping-methods/matching-orderedit", this.projectKey); + String httpRequestPath = String.format("%s/shipping-methods/matching-orderedit", + encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingOrdereditHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingOrdereditHead.java index 59fd6ee35d8..18db89766af 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingOrdereditHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsMatchingOrdereditHead.java @@ -63,7 +63,8 @@ public ByProjectKeyShippingMethodsMatchingOrdereditHead(ByProjectKeyShippingMeth @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/shipping-methods/matching-orderedit", this.projectKey); + String httpRequestPath = String.format("%s/shipping-methods/matching-orderedit", + encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsPost.java index 107380be70e..6ff3504f7c7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShippingMethodsPost.java @@ -66,7 +66,7 @@ public ByProjectKeyShippingMethodsPost(ByProjectKeyShippingMethodsPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/shipping-methods", this.projectKey); + String httpRequestPath = String.format("%s/shipping-methods", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShoppingListsByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShoppingListsByIDDelete.java index 3a1cd7e4787..d8746bdad5f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShoppingListsByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShoppingListsByIDDelete.java @@ -71,7 +71,8 @@ public ByProjectKeyShoppingListsByIDDelete(ByProjectKeyShoppingListsByIDDelete t @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/shopping-lists/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/shopping-lists/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShoppingListsByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShoppingListsByIDGet.java index 4b1188d7e72..5322e650732 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShoppingListsByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShoppingListsByIDGet.java @@ -65,7 +65,8 @@ public ByProjectKeyShoppingListsByIDGet(ByProjectKeyShoppingListsByIDGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/shopping-lists/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/shopping-lists/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShoppingListsByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShoppingListsByIDHead.java index 10504a2afac..c1c52cc1871 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShoppingListsByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShoppingListsByIDHead.java @@ -60,7 +60,8 @@ public ByProjectKeyShoppingListsByIDHead(ByProjectKeyShoppingListsByIDHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/shopping-lists/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/shopping-lists/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShoppingListsByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShoppingListsByIDPost.java index e727f905b4f..a6774fb9714 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShoppingListsByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShoppingListsByIDPost.java @@ -71,7 +71,8 @@ public ByProjectKeyShoppingListsByIDPost(ByProjectKeyShoppingListsByIDPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/shopping-lists/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/shopping-lists/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShoppingListsGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShoppingListsGet.java index 216548f8432..3f6f57ad235 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShoppingListsGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShoppingListsGet.java @@ -65,7 +65,7 @@ public ByProjectKeyShoppingListsGet(ByProjectKeyShoppingListsGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/shopping-lists", this.projectKey); + String httpRequestPath = String.format("%s/shopping-lists", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShoppingListsHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShoppingListsHead.java index f7fb916edf4..e16b9685b92 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShoppingListsHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShoppingListsHead.java @@ -60,7 +60,7 @@ public ByProjectKeyShoppingListsHead(ByProjectKeyShoppingListsHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/shopping-lists", this.projectKey); + String httpRequestPath = String.format("%s/shopping-lists", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShoppingListsKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShoppingListsKeyByKeyDelete.java index 6cf7d47d3fb..f4597f9ecb7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShoppingListsKeyByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShoppingListsKeyByKeyDelete.java @@ -71,7 +71,8 @@ public ByProjectKeyShoppingListsKeyByKeyDelete(ByProjectKeyShoppingListsKeyByKey @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/shopping-lists/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/shopping-lists/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShoppingListsKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShoppingListsKeyByKeyGet.java index d8056fbdc87..9be68ea4dfd 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShoppingListsKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShoppingListsKeyByKeyGet.java @@ -65,7 +65,8 @@ public ByProjectKeyShoppingListsKeyByKeyGet(ByProjectKeyShoppingListsKeyByKeyGet @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/shopping-lists/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/shopping-lists/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShoppingListsKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShoppingListsKeyByKeyHead.java index 47cb20ac438..e3fb2a76259 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShoppingListsKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShoppingListsKeyByKeyHead.java @@ -60,7 +60,8 @@ public ByProjectKeyShoppingListsKeyByKeyHead(ByProjectKeyShoppingListsKeyByKeyHe @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/shopping-lists/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/shopping-lists/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShoppingListsKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShoppingListsKeyByKeyPost.java index a76c00d3b5c..97db82f0c2e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShoppingListsKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShoppingListsKeyByKeyPost.java @@ -71,7 +71,8 @@ public ByProjectKeyShoppingListsKeyByKeyPost(ByProjectKeyShoppingListsKeyByKeyPo @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/shopping-lists/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/shopping-lists/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShoppingListsPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShoppingListsPost.java index e7ce1d5f576..39bd25399f7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShoppingListsPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyShoppingListsPost.java @@ -66,7 +66,7 @@ public ByProjectKeyShoppingListsPost(ByProjectKeyShoppingListsPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/shopping-lists", this.projectKey); + String httpRequestPath = String.format("%s/shopping-lists", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStagedQuotesByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStagedQuotesByIDDelete.java index 17f2389afd1..f062bff61fa 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStagedQuotesByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStagedQuotesByIDDelete.java @@ -71,7 +71,8 @@ public ByProjectKeyStagedQuotesByIDDelete(ByProjectKeyStagedQuotesByIDDelete t) @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/staged-quotes/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/staged-quotes/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStagedQuotesByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStagedQuotesByIDGet.java index ed4d4b21402..0f578154159 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStagedQuotesByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStagedQuotesByIDGet.java @@ -65,7 +65,8 @@ public ByProjectKeyStagedQuotesByIDGet(ByProjectKeyStagedQuotesByIDGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/staged-quotes/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/staged-quotes/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStagedQuotesByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStagedQuotesByIDHead.java index 5a54d17f7d7..4a2caacff2e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStagedQuotesByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStagedQuotesByIDHead.java @@ -60,7 +60,8 @@ public ByProjectKeyStagedQuotesByIDHead(ByProjectKeyStagedQuotesByIDHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/staged-quotes/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/staged-quotes/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStagedQuotesByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStagedQuotesByIDPost.java index c7bf928c751..57f3a7a54ad 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStagedQuotesByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStagedQuotesByIDPost.java @@ -71,7 +71,8 @@ public ByProjectKeyStagedQuotesByIDPost(ByProjectKeyStagedQuotesByIDPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/staged-quotes/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/staged-quotes/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStagedQuotesGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStagedQuotesGet.java index 391a0f7dd61..93d74fd22be 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStagedQuotesGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStagedQuotesGet.java @@ -64,7 +64,7 @@ public ByProjectKeyStagedQuotesGet(ByProjectKeyStagedQuotesGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/staged-quotes", this.projectKey); + String httpRequestPath = String.format("%s/staged-quotes", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStagedQuotesHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStagedQuotesHead.java index 14f10be7bfe..660b01ad757 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStagedQuotesHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStagedQuotesHead.java @@ -60,7 +60,7 @@ public ByProjectKeyStagedQuotesHead(ByProjectKeyStagedQuotesHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/staged-quotes", this.projectKey); + String httpRequestPath = String.format("%s/staged-quotes", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStagedQuotesKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStagedQuotesKeyByKeyDelete.java index 86d2b36a563..13d47c942bf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStagedQuotesKeyByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStagedQuotesKeyByKeyDelete.java @@ -71,7 +71,8 @@ public ByProjectKeyStagedQuotesKeyByKeyDelete(ByProjectKeyStagedQuotesKeyByKeyDe @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/staged-quotes/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/staged-quotes/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStagedQuotesKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStagedQuotesKeyByKeyGet.java index 12c166eac98..bd2e2eef0bf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStagedQuotesKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStagedQuotesKeyByKeyGet.java @@ -65,7 +65,8 @@ public ByProjectKeyStagedQuotesKeyByKeyGet(ByProjectKeyStagedQuotesKeyByKeyGet t @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/staged-quotes/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/staged-quotes/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStagedQuotesKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStagedQuotesKeyByKeyHead.java index d2985ed4694..9f90ea6b202 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStagedQuotesKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStagedQuotesKeyByKeyHead.java @@ -60,7 +60,8 @@ public ByProjectKeyStagedQuotesKeyByKeyHead(ByProjectKeyStagedQuotesKeyByKeyHead @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/staged-quotes/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/staged-quotes/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStagedQuotesKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStagedQuotesKeyByKeyPost.java index 5abc8f1ee7d..67c80aa4928 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStagedQuotesKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStagedQuotesKeyByKeyPost.java @@ -71,7 +71,8 @@ public ByProjectKeyStagedQuotesKeyByKeyPost(ByProjectKeyStagedQuotesKeyByKeyPost @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/staged-quotes/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/staged-quotes/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStagedQuotesPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStagedQuotesPost.java index c5f2b54a5b5..d866f3bb322 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStagedQuotesPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStagedQuotesPost.java @@ -66,7 +66,7 @@ public ByProjectKeyStagedQuotesPost(ByProjectKeyStagedQuotesPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/staged-quotes", this.projectKey); + String httpRequestPath = String.format("%s/staged-quotes", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesByIDDelete.java index 3d855c97590..392b9aa1c5e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesByIDDelete.java @@ -70,7 +70,8 @@ public ByProjectKeyStandalonePricesByIDDelete(ByProjectKeyStandalonePricesByIDDe @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/standalone-prices/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/standalone-prices/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesByIDGet.java index e3ba79c4ad3..0ad2d37e054 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesByIDGet.java @@ -65,7 +65,8 @@ public ByProjectKeyStandalonePricesByIDGet(ByProjectKeyStandalonePricesByIDGet t @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/standalone-prices/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/standalone-prices/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesByIDHead.java index b680488cb24..e568dc0e858 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesByIDHead.java @@ -60,7 +60,8 @@ public ByProjectKeyStandalonePricesByIDHead(ByProjectKeyStandalonePricesByIDHead @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/standalone-prices/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/standalone-prices/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesByIDPost.java index c9a834c6de3..1f8a6d94c0a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesByIDPost.java @@ -71,7 +71,8 @@ public ByProjectKeyStandalonePricesByIDPost(ByProjectKeyStandalonePricesByIDPost @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/standalone-prices/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/standalone-prices/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesGet.java index 0c818aea5f4..44691d32afe 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesGet.java @@ -65,7 +65,7 @@ public ByProjectKeyStandalonePricesGet(ByProjectKeyStandalonePricesGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/standalone-prices", this.projectKey); + String httpRequestPath = String.format("%s/standalone-prices", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesHead.java index f6d99cd85a9..17006a4dd18 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesHead.java @@ -60,7 +60,7 @@ public ByProjectKeyStandalonePricesHead(ByProjectKeyStandalonePricesHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/standalone-prices", this.projectKey); + String httpRequestPath = String.format("%s/standalone-prices", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesKeyByKeyDelete.java index 9ea4e91f799..e704568094c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesKeyByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesKeyByKeyDelete.java @@ -71,7 +71,8 @@ public ByProjectKeyStandalonePricesKeyByKeyDelete(ByProjectKeyStandalonePricesKe @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/standalone-prices/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/standalone-prices/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesKeyByKeyGet.java index 0c0ce3548ea..a9b1c0d7db8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesKeyByKeyGet.java @@ -65,7 +65,8 @@ public ByProjectKeyStandalonePricesKeyByKeyGet(ByProjectKeyStandalonePricesKeyBy @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/standalone-prices/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/standalone-prices/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesKeyByKeyHead.java index d13efc2b5ca..54cbb08f5c5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesKeyByKeyHead.java @@ -60,7 +60,8 @@ public ByProjectKeyStandalonePricesKeyByKeyHead(ByProjectKeyStandalonePricesKeyB @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/standalone-prices/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/standalone-prices/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesKeyByKeyPost.java index dd07f248a18..ad7d321c2b7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesKeyByKeyPost.java @@ -71,7 +71,8 @@ public ByProjectKeyStandalonePricesKeyByKeyPost(ByProjectKeyStandalonePricesKeyB @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/standalone-prices/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/standalone-prices/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesPost.java index 25195d2d630..d7d0a1b83d2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStandalonePricesPost.java @@ -70,7 +70,7 @@ public ByProjectKeyStandalonePricesPost(ByProjectKeyStandalonePricesPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/standalone-prices", this.projectKey); + String httpRequestPath = String.format("%s/standalone-prices", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStatesByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStatesByIDDelete.java index 1bfd332e257..8eefc904bb4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStatesByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStatesByIDDelete.java @@ -69,7 +69,8 @@ public ByProjectKeyStatesByIDDelete(ByProjectKeyStatesByIDDelete t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/states/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/states/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStatesByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStatesByIDGet.java index 213c400b081..010175bb4ac 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStatesByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStatesByIDGet.java @@ -65,7 +65,8 @@ public ByProjectKeyStatesByIDGet(ByProjectKeyStatesByIDGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/states/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/states/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStatesByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStatesByIDHead.java index 124865d592a..1aa2ef9308e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStatesByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStatesByIDHead.java @@ -60,7 +60,8 @@ public ByProjectKeyStatesByIDHead(ByProjectKeyStatesByIDHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/states/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/states/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStatesByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStatesByIDPost.java index 13da96b902d..96a3332679f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStatesByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStatesByIDPost.java @@ -71,7 +71,8 @@ public ByProjectKeyStatesByIDPost(ByProjectKeyStatesByIDPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/states/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/states/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStatesGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStatesGet.java index 9cc0e44cb3c..e335f0adc8d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStatesGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStatesGet.java @@ -64,7 +64,7 @@ public ByProjectKeyStatesGet(ByProjectKeyStatesGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/states", this.projectKey); + String httpRequestPath = String.format("%s/states", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStatesHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStatesHead.java index d912aa14624..03b1294969f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStatesHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStatesHead.java @@ -60,7 +60,7 @@ public ByProjectKeyStatesHead(ByProjectKeyStatesHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/states", this.projectKey); + String httpRequestPath = String.format("%s/states", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStatesKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStatesKeyByKeyDelete.java index 2a8948b0503..c4cacc6b557 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStatesKeyByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStatesKeyByKeyDelete.java @@ -69,7 +69,8 @@ public ByProjectKeyStatesKeyByKeyDelete(ByProjectKeyStatesKeyByKeyDelete t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/states/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/states/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStatesKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStatesKeyByKeyGet.java index 4067f57e721..58328ba8515 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStatesKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStatesKeyByKeyGet.java @@ -65,7 +65,8 @@ public ByProjectKeyStatesKeyByKeyGet(ByProjectKeyStatesKeyByKeyGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/states/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/states/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStatesKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStatesKeyByKeyHead.java index f213c71cea0..6156282b0e7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStatesKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStatesKeyByKeyHead.java @@ -60,7 +60,8 @@ public ByProjectKeyStatesKeyByKeyHead(ByProjectKeyStatesKeyByKeyHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/states/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/states/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStatesKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStatesKeyByKeyPost.java index 86774caf2b4..0c9f4524f38 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStatesKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStatesKeyByKeyPost.java @@ -71,7 +71,8 @@ public ByProjectKeyStatesKeyByKeyPost(ByProjectKeyStatesKeyByKeyPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/states/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/states/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStatesPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStatesPost.java index d9dbc58e707..2937700c79c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStatesPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStatesPost.java @@ -66,7 +66,7 @@ public ByProjectKeyStatesPost(ByProjectKeyStatesPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/states", this.projectKey); + String httpRequestPath = String.format("%s/states", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStoresByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStoresByIDDelete.java index e15593135ff..6ee6f25c611 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStoresByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStoresByIDDelete.java @@ -69,7 +69,8 @@ public ByProjectKeyStoresByIDDelete(ByProjectKeyStoresByIDDelete t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/stores/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/stores/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStoresByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStoresByIDGet.java index 131bc33d5cb..7b18514fbac 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStoresByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStoresByIDGet.java @@ -65,7 +65,8 @@ public ByProjectKeyStoresByIDGet(ByProjectKeyStoresByIDGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/stores/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/stores/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStoresByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStoresByIDHead.java index bc0b54ee798..78d97bea2e8 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStoresByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStoresByIDHead.java @@ -60,7 +60,8 @@ public ByProjectKeyStoresByIDHead(ByProjectKeyStoresByIDHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/stores/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/stores/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStoresByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStoresByIDPost.java index 342bb1c086a..1af62edde0c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStoresByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStoresByIDPost.java @@ -71,7 +71,8 @@ public ByProjectKeyStoresByIDPost(ByProjectKeyStoresByIDPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/stores/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/stores/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStoresGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStoresGet.java index bc21a6f59d2..bb983a3b270 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStoresGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStoresGet.java @@ -64,7 +64,7 @@ public ByProjectKeyStoresGet(ByProjectKeyStoresGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/stores", this.projectKey); + String httpRequestPath = String.format("%s/stores", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStoresHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStoresHead.java index 1fd357dec61..f1b83effed0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStoresHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStoresHead.java @@ -60,7 +60,7 @@ public ByProjectKeyStoresHead(ByProjectKeyStoresHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/stores", this.projectKey); + String httpRequestPath = String.format("%s/stores", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStoresKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStoresKeyByKeyDelete.java index 3d8c2732773..a455f2b3cb1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStoresKeyByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStoresKeyByKeyDelete.java @@ -69,7 +69,8 @@ public ByProjectKeyStoresKeyByKeyDelete(ByProjectKeyStoresKeyByKeyDelete t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/stores/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/stores/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStoresKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStoresKeyByKeyGet.java index 133bad88eeb..7ab14ba37cb 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStoresKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStoresKeyByKeyGet.java @@ -65,7 +65,8 @@ public ByProjectKeyStoresKeyByKeyGet(ByProjectKeyStoresKeyByKeyGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/stores/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/stores/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStoresKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStoresKeyByKeyHead.java index bb4c511ea69..ef36f781d64 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStoresKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStoresKeyByKeyHead.java @@ -60,7 +60,8 @@ public ByProjectKeyStoresKeyByKeyHead(ByProjectKeyStoresKeyByKeyHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/stores/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/stores/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStoresKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStoresKeyByKeyPost.java index a4f4f80214f..a9c046695c9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStoresKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStoresKeyByKeyPost.java @@ -71,7 +71,8 @@ public ByProjectKeyStoresKeyByKeyPost(ByProjectKeyStoresKeyByKeyPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/stores/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/stores/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStoresPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStoresPost.java index 80b5f4e706c..07c8c16ba52 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStoresPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyStoresPost.java @@ -66,7 +66,7 @@ public ByProjectKeyStoresPost(ByProjectKeyStoresPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/stores", this.projectKey); + String httpRequestPath = String.format("%s/stores", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeySubscriptionsByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeySubscriptionsByIDDelete.java index 5124cb8af2d..df2a7177a71 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeySubscriptionsByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeySubscriptionsByIDDelete.java @@ -69,7 +69,8 @@ public ByProjectKeySubscriptionsByIDDelete(ByProjectKeySubscriptionsByIDDelete t @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/subscriptions/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/subscriptions/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeySubscriptionsByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeySubscriptionsByIDGet.java index a8b2f07b954..06af05abf6a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeySubscriptionsByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeySubscriptionsByIDGet.java @@ -60,7 +60,8 @@ public ByProjectKeySubscriptionsByIDGet(ByProjectKeySubscriptionsByIDGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/subscriptions/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/subscriptions/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeySubscriptionsByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeySubscriptionsByIDHead.java index 83dd423bc5d..138eda1fec4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeySubscriptionsByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeySubscriptionsByIDHead.java @@ -60,7 +60,8 @@ public ByProjectKeySubscriptionsByIDHead(ByProjectKeySubscriptionsByIDHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/subscriptions/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/subscriptions/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeySubscriptionsByIDHealthGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeySubscriptionsByIDHealthGet.java index efad0fe8494..fae1516f7c0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeySubscriptionsByIDHealthGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeySubscriptionsByIDHealthGet.java @@ -59,7 +59,8 @@ public ByProjectKeySubscriptionsByIDHealthGet(ByProjectKeySubscriptionsByIDHealt @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/subscriptions/%s/health", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/subscriptions/%s/health", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeySubscriptionsByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeySubscriptionsByIDPost.java index 20e3748148a..998e7b65013 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeySubscriptionsByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeySubscriptionsByIDPost.java @@ -66,7 +66,8 @@ public ByProjectKeySubscriptionsByIDPost(ByProjectKeySubscriptionsByIDPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/subscriptions/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/subscriptions/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeySubscriptionsGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeySubscriptionsGet.java index 1918ae5261b..a16c27c3f20 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeySubscriptionsGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeySubscriptionsGet.java @@ -64,7 +64,7 @@ public ByProjectKeySubscriptionsGet(ByProjectKeySubscriptionsGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/subscriptions", this.projectKey); + String httpRequestPath = String.format("%s/subscriptions", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeySubscriptionsHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeySubscriptionsHead.java index 94daf6094dd..fd7c39b52d2 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeySubscriptionsHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeySubscriptionsHead.java @@ -60,7 +60,7 @@ public ByProjectKeySubscriptionsHead(ByProjectKeySubscriptionsHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/subscriptions", this.projectKey); + String httpRequestPath = String.format("%s/subscriptions", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeySubscriptionsKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeySubscriptionsKeyByKeyDelete.java index ab12f050cb0..3c85ba862b7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeySubscriptionsKeyByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeySubscriptionsKeyByKeyDelete.java @@ -69,7 +69,8 @@ public ByProjectKeySubscriptionsKeyByKeyDelete(ByProjectKeySubscriptionsKeyByKey @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/subscriptions/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/subscriptions/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeySubscriptionsKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeySubscriptionsKeyByKeyGet.java index 523f120424a..0dc68c14c95 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeySubscriptionsKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeySubscriptionsKeyByKeyGet.java @@ -60,7 +60,8 @@ public ByProjectKeySubscriptionsKeyByKeyGet(ByProjectKeySubscriptionsKeyByKeyGet @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/subscriptions/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/subscriptions/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeySubscriptionsKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeySubscriptionsKeyByKeyHead.java index b91c5fe8805..8e0b969ee4f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeySubscriptionsKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeySubscriptionsKeyByKeyHead.java @@ -60,7 +60,8 @@ public ByProjectKeySubscriptionsKeyByKeyHead(ByProjectKeySubscriptionsKeyByKeyHe @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/subscriptions/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/subscriptions/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeySubscriptionsKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeySubscriptionsKeyByKeyPost.java index 881d3eb843f..0688ee29897 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeySubscriptionsKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeySubscriptionsKeyByKeyPost.java @@ -66,7 +66,8 @@ public ByProjectKeySubscriptionsKeyByKeyPost(ByProjectKeySubscriptionsKeyByKeyPo @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/subscriptions/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/subscriptions/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeySubscriptionsPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeySubscriptionsPost.java index 8a0d8cd753b..8d5f674d2a5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeySubscriptionsPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeySubscriptionsPost.java @@ -61,7 +61,7 @@ public ByProjectKeySubscriptionsPost(ByProjectKeySubscriptionsPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/subscriptions", this.projectKey); + String httpRequestPath = String.format("%s/subscriptions", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTaxCategoriesByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTaxCategoriesByIDDelete.java index 3183aeca13b..5a2d649bb42 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTaxCategoriesByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTaxCategoriesByIDDelete.java @@ -70,7 +70,8 @@ public ByProjectKeyTaxCategoriesByIDDelete(ByProjectKeyTaxCategoriesByIDDelete t @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/tax-categories/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/tax-categories/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTaxCategoriesByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTaxCategoriesByIDGet.java index e2d1d5047ee..43da747f858 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTaxCategoriesByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTaxCategoriesByIDGet.java @@ -65,7 +65,8 @@ public ByProjectKeyTaxCategoriesByIDGet(ByProjectKeyTaxCategoriesByIDGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/tax-categories/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/tax-categories/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTaxCategoriesByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTaxCategoriesByIDHead.java index 2d8122e5685..3a3b7442e7d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTaxCategoriesByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTaxCategoriesByIDHead.java @@ -60,7 +60,8 @@ public ByProjectKeyTaxCategoriesByIDHead(ByProjectKeyTaxCategoriesByIDHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/tax-categories/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/tax-categories/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTaxCategoriesByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTaxCategoriesByIDPost.java index 7ea753332ae..fa284011496 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTaxCategoriesByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTaxCategoriesByIDPost.java @@ -71,7 +71,8 @@ public ByProjectKeyTaxCategoriesByIDPost(ByProjectKeyTaxCategoriesByIDPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/tax-categories/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/tax-categories/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTaxCategoriesGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTaxCategoriesGet.java index fe315faa2a0..afe452e7305 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTaxCategoriesGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTaxCategoriesGet.java @@ -65,7 +65,7 @@ public ByProjectKeyTaxCategoriesGet(ByProjectKeyTaxCategoriesGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/tax-categories", this.projectKey); + String httpRequestPath = String.format("%s/tax-categories", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTaxCategoriesHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTaxCategoriesHead.java index 96b7c960fc9..60e6422daac 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTaxCategoriesHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTaxCategoriesHead.java @@ -60,7 +60,7 @@ public ByProjectKeyTaxCategoriesHead(ByProjectKeyTaxCategoriesHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/tax-categories", this.projectKey); + String httpRequestPath = String.format("%s/tax-categories", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTaxCategoriesKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTaxCategoriesKeyByKeyDelete.java index 449d0c9cc13..e7def4dade4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTaxCategoriesKeyByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTaxCategoriesKeyByKeyDelete.java @@ -70,7 +70,8 @@ public ByProjectKeyTaxCategoriesKeyByKeyDelete(ByProjectKeyTaxCategoriesKeyByKey @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/tax-categories/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/tax-categories/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTaxCategoriesKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTaxCategoriesKeyByKeyGet.java index b9773951a53..c34fdf47e25 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTaxCategoriesKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTaxCategoriesKeyByKeyGet.java @@ -65,7 +65,8 @@ public ByProjectKeyTaxCategoriesKeyByKeyGet(ByProjectKeyTaxCategoriesKeyByKeyGet @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/tax-categories/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/tax-categories/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTaxCategoriesKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTaxCategoriesKeyByKeyHead.java index 2fcc78f2a0b..f552a420234 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTaxCategoriesKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTaxCategoriesKeyByKeyHead.java @@ -60,7 +60,8 @@ public ByProjectKeyTaxCategoriesKeyByKeyHead(ByProjectKeyTaxCategoriesKeyByKeyHe @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/tax-categories/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/tax-categories/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTaxCategoriesKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTaxCategoriesKeyByKeyPost.java index 4b05a0c456b..fd4007ed62c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTaxCategoriesKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTaxCategoriesKeyByKeyPost.java @@ -71,7 +71,8 @@ public ByProjectKeyTaxCategoriesKeyByKeyPost(ByProjectKeyTaxCategoriesKeyByKeyPo @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/tax-categories/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/tax-categories/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTaxCategoriesPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTaxCategoriesPost.java index 319db1191f7..e753322881d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTaxCategoriesPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTaxCategoriesPost.java @@ -66,7 +66,7 @@ public ByProjectKeyTaxCategoriesPost(ByProjectKeyTaxCategoriesPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/tax-categories", this.projectKey); + String httpRequestPath = String.format("%s/tax-categories", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTypesByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTypesByIDDelete.java index 3f31d3004f1..b5039b43373 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTypesByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTypesByIDDelete.java @@ -69,7 +69,8 @@ public ByProjectKeyTypesByIDDelete(ByProjectKeyTypesByIDDelete t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/types/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/types/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTypesByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTypesByIDGet.java index 99f68ef629f..4dffeb72cc5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTypesByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTypesByIDGet.java @@ -65,7 +65,8 @@ public ByProjectKeyTypesByIDGet(ByProjectKeyTypesByIDGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/types/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/types/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTypesByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTypesByIDHead.java index a4c29fd3f1c..d85d819f55c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTypesByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTypesByIDHead.java @@ -60,7 +60,8 @@ public ByProjectKeyTypesByIDHead(ByProjectKeyTypesByIDHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/types/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/types/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTypesByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTypesByIDPost.java index 15a1b351784..d2f6ec23954 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTypesByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTypesByIDPost.java @@ -71,7 +71,8 @@ public ByProjectKeyTypesByIDPost(ByProjectKeyTypesByIDPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/types/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/types/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTypesGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTypesGet.java index 1de993c4eaf..92cc305e83f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTypesGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTypesGet.java @@ -64,7 +64,7 @@ public ByProjectKeyTypesGet(ByProjectKeyTypesGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/types", this.projectKey); + String httpRequestPath = String.format("%s/types", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTypesHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTypesHead.java index 2f0faa4d159..5f5cfa25bf0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTypesHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTypesHead.java @@ -59,7 +59,7 @@ public ByProjectKeyTypesHead(ByProjectKeyTypesHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/types", this.projectKey); + String httpRequestPath = String.format("%s/types", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTypesKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTypesKeyByKeyDelete.java index 9175ea437cf..aa6e21f98cc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTypesKeyByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTypesKeyByKeyDelete.java @@ -69,7 +69,8 @@ public ByProjectKeyTypesKeyByKeyDelete(ByProjectKeyTypesKeyByKeyDelete t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/types/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/types/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTypesKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTypesKeyByKeyGet.java index 468636aea69..676dd6b7532 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTypesKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTypesKeyByKeyGet.java @@ -65,7 +65,8 @@ public ByProjectKeyTypesKeyByKeyGet(ByProjectKeyTypesKeyByKeyGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/types/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/types/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTypesKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTypesKeyByKeyHead.java index 40655564ec9..ad6dde06c96 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTypesKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTypesKeyByKeyHead.java @@ -60,7 +60,8 @@ public ByProjectKeyTypesKeyByKeyHead(ByProjectKeyTypesKeyByKeyHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/types/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/types/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTypesKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTypesKeyByKeyPost.java index 20a1be3774c..44852c0f84d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTypesKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTypesKeyByKeyPost.java @@ -71,7 +71,8 @@ public ByProjectKeyTypesKeyByKeyPost(ByProjectKeyTypesKeyByKeyPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/types/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/types/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTypesPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTypesPost.java index 4f2d47c0da3..fdd06f32d35 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTypesPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyTypesPost.java @@ -66,7 +66,7 @@ public ByProjectKeyTypesPost(ByProjectKeyTypesPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/types", this.projectKey); + String httpRequestPath = String.format("%s/types", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyZonesByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyZonesByIDDelete.java index d1778384e81..f99acf0a034 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyZonesByIDDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyZonesByIDDelete.java @@ -69,7 +69,8 @@ public ByProjectKeyZonesByIDDelete(ByProjectKeyZonesByIDDelete t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/zones/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/zones/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyZonesByIDGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyZonesByIDGet.java index e132c126e07..8c52c24ac33 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyZonesByIDGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyZonesByIDGet.java @@ -65,7 +65,8 @@ public ByProjectKeyZonesByIDGet(ByProjectKeyZonesByIDGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/zones/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/zones/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyZonesByIDHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyZonesByIDHead.java index 31957954179..01da1b45f1f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyZonesByIDHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyZonesByIDHead.java @@ -60,7 +60,8 @@ public ByProjectKeyZonesByIDHead(ByProjectKeyZonesByIDHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/zones/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/zones/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyZonesByIDPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyZonesByIDPost.java index 8b96b576978..4073921ba04 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyZonesByIDPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyZonesByIDPost.java @@ -71,7 +71,8 @@ public ByProjectKeyZonesByIDPost(ByProjectKeyZonesByIDPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/zones/%s", this.projectKey, this.ID); + String httpRequestPath = String.format("%s/zones/%s", encodePathParam(this.projectKey), + encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyZonesGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyZonesGet.java index 2fdbcfb3401..bf651b206ff 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyZonesGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyZonesGet.java @@ -64,7 +64,7 @@ public ByProjectKeyZonesGet(ByProjectKeyZonesGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/zones", this.projectKey); + String httpRequestPath = String.format("%s/zones", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyZonesHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyZonesHead.java index 68477070a9a..97afeb21a88 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyZonesHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyZonesHead.java @@ -59,7 +59,7 @@ public ByProjectKeyZonesHead(ByProjectKeyZonesHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/zones", this.projectKey); + String httpRequestPath = String.format("%s/zones", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyZonesKeyByKeyDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyZonesKeyByKeyDelete.java index 9c7c5c6375f..df02a22ad2d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyZonesKeyByKeyDelete.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyZonesKeyByKeyDelete.java @@ -69,7 +69,8 @@ public ByProjectKeyZonesKeyByKeyDelete(ByProjectKeyZonesKeyByKeyDelete t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/zones/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/zones/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyZonesKeyByKeyGet.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyZonesKeyByKeyGet.java index 25d6bed727d..b23cc11c29c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyZonesKeyByKeyGet.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyZonesKeyByKeyGet.java @@ -65,7 +65,8 @@ public ByProjectKeyZonesKeyByKeyGet(ByProjectKeyZonesKeyByKeyGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/zones/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/zones/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyZonesKeyByKeyHead.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyZonesKeyByKeyHead.java index 243e1776a8d..5e99f9ec8a0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyZonesKeyByKeyHead.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyZonesKeyByKeyHead.java @@ -60,7 +60,8 @@ public ByProjectKeyZonesKeyByKeyHead(ByProjectKeyZonesKeyByKeyHead t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/zones/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/zones/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyZonesKeyByKeyPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyZonesKeyByKeyPost.java index 21f475269da..e7a86096b68 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyZonesKeyByKeyPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyZonesKeyByKeyPost.java @@ -71,7 +71,8 @@ public ByProjectKeyZonesKeyByKeyPost(ByProjectKeyZonesKeyByKeyPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/zones/key=%s", this.projectKey, this.key); + String httpRequestPath = String.format("%s/zones/key=%s", encodePathParam(this.projectKey), + encodePathParam(this.key)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyZonesPost.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyZonesPost.java index de1591679b8..70add320b60 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyZonesPost.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyZonesPost.java @@ -66,7 +66,7 @@ public ByProjectKeyZonesPost(ByProjectKeyZonesPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/zones", this.projectKey); + String httpRequestPath = String.format("%s/zones", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/client/ByProjectKeyByResourceTypeByIDGet.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/client/ByProjectKeyByResourceTypeByIDGet.java index 65d91d465ce..604ac4cef63 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/client/ByProjectKeyByResourceTypeByIDGet.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/client/ByProjectKeyByResourceTypeByIDGet.java @@ -67,7 +67,8 @@ public ByProjectKeyByResourceTypeByIDGet(ByProjectKeyByResourceTypeByIDGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/%s/%s", this.projectKey, this.resourceType, this.ID); + String httpRequestPath = String.format("%s/%s/%s", encodePathParam(this.projectKey), + encodePathParam(this.resourceType), encodePathParam(this.ID)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/client/ByProjectKeyByResourceTypeGet.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/client/ByProjectKeyByResourceTypeGet.java index 38cb79488fe..0ef6970889f 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/client/ByProjectKeyByResourceTypeGet.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/client/ByProjectKeyByResourceTypeGet.java @@ -62,7 +62,8 @@ public ByProjectKeyByResourceTypeGet(ByProjectKeyByResourceTypeGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/%s", this.projectKey, this.resourceType); + String httpRequestPath = String.format("%s/%s", encodePathParam(this.projectKey), + encodePathParam(this.resourceType)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/client/ByProjectKeyGet.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/client/ByProjectKeyGet.java index 94c9758f08d..4a8d9c326be 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/client/ByProjectKeyGet.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/client/ByProjectKeyGet.java @@ -59,7 +59,7 @@ public ByProjectKeyGet(ByProjectKeyGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s", this.projectKey); + String httpRequestPath = String.format("%s", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyCategoriesImportContainersByImportContainerKeyPost.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyCategoriesImportContainersByImportContainerKeyPost.java index 4ad3c7a2471..5503532eb9e 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyCategoriesImportContainersByImportContainerKeyPost.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyCategoriesImportContainersByImportContainerKeyPost.java @@ -68,8 +68,8 @@ public ByProjectKeyCategoriesImportContainersByImportContainerKeyPost( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/categories/import-containers/%s", this.projectKey, - this.importContainerKey); + String httpRequestPath = String.format("%s/categories/import-containers/%s", encodePathParam(this.projectKey), + encodePathParam(this.importContainerKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyCustomersImportContainersByImportContainerKeyPost.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyCustomersImportContainersByImportContainerKeyPost.java index 13fa4aaa94b..7ede3538351 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyCustomersImportContainersByImportContainerKeyPost.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyCustomersImportContainersByImportContainerKeyPost.java @@ -68,8 +68,8 @@ public ByProjectKeyCustomersImportContainersByImportContainerKeyPost( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/customers/import-containers/%s", this.projectKey, - this.importContainerKey); + String httpRequestPath = String.format("%s/customers/import-containers/%s", encodePathParam(this.projectKey), + encodePathParam(this.importContainerKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyDiscountCodesImportContainersByImportContainerKeyPost.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyDiscountCodesImportContainersByImportContainerKeyPost.java index 3047ff7623e..dc68ba8bd31 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyDiscountCodesImportContainersByImportContainerKeyPost.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyDiscountCodesImportContainersByImportContainerKeyPost.java @@ -68,8 +68,8 @@ public ByProjectKeyDiscountCodesImportContainersByImportContainerKeyPost( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/discount-codes/import-containers/%s", this.projectKey, - this.importContainerKey); + String httpRequestPath = String.format("%s/discount-codes/import-containers/%s", + encodePathParam(this.projectKey), encodePathParam(this.importContainerKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersByImportContainerKeyDelete.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersByImportContainerKeyDelete.java index 9d4e173d4c8..9962bb7923f 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersByImportContainerKeyDelete.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersByImportContainerKeyDelete.java @@ -62,7 +62,8 @@ public ByProjectKeyImportContainersByImportContainerKeyDelete( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/import-containers/%s", this.projectKey, this.importContainerKey); + String httpRequestPath = String.format("%s/import-containers/%s", encodePathParam(this.projectKey), + encodePathParam(this.importContainerKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersByImportContainerKeyGet.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersByImportContainerKeyGet.java index 2a179d2e743..19c05b79917 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersByImportContainerKeyGet.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersByImportContainerKeyGet.java @@ -61,7 +61,8 @@ public ByProjectKeyImportContainersByImportContainerKeyGet(ByProjectKeyImportCon @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/import-containers/%s", this.projectKey, this.importContainerKey); + String httpRequestPath = String.format("%s/import-containers/%s", encodePathParam(this.projectKey), + encodePathParam(this.importContainerKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersByImportContainerKeyImportOperationsGet.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersByImportContainerKeyImportOperationsGet.java index efcfd91c3c5..f296a93fb33 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersByImportContainerKeyImportOperationsGet.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersByImportContainerKeyImportOperationsGet.java @@ -68,8 +68,8 @@ public ByProjectKeyImportContainersByImportContainerKeyImportOperationsGet( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/import-containers/%s/import-operations", this.projectKey, - this.importContainerKey); + String httpRequestPath = String.format("%s/import-containers/%s/import-operations", + encodePathParam(this.projectKey), encodePathParam(this.importContainerKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersByImportContainerKeyImportSummariesGet.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersByImportContainerKeyImportSummariesGet.java index 8eac702915e..5c5973778b8 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersByImportContainerKeyImportSummariesGet.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersByImportContainerKeyImportSummariesGet.java @@ -63,8 +63,8 @@ public ByProjectKeyImportContainersByImportContainerKeyImportSummariesGet( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/import-containers/%s/import-summaries", this.projectKey, - this.importContainerKey); + String httpRequestPath = String.format("%s/import-containers/%s/import-summaries", + encodePathParam(this.projectKey), encodePathParam(this.importContainerKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersByImportContainerKeyPut.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersByImportContainerKeyPut.java index cddba8e3fa6..a8880ee7783 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersByImportContainerKeyPut.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersByImportContainerKeyPut.java @@ -66,7 +66,8 @@ public ByProjectKeyImportContainersByImportContainerKeyPut(ByProjectKeyImportCon @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/import-containers/%s", this.projectKey, this.importContainerKey); + String httpRequestPath = String.format("%s/import-containers/%s", encodePathParam(this.projectKey), + encodePathParam(this.importContainerKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersGet.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersGet.java index 903516234bd..e80a74ee31f 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersGet.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersGet.java @@ -60,7 +60,7 @@ public ByProjectKeyImportContainersGet(ByProjectKeyImportContainersGet t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/import-containers", this.projectKey); + String httpRequestPath = String.format("%s/import-containers", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersPost.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersPost.java index ea359cb77bc..36a1c130264 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersPost.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportContainersPost.java @@ -61,7 +61,7 @@ public ByProjectKeyImportContainersPost(ByProjectKeyImportContainersPost t) { @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/import-containers", this.projectKey); + String httpRequestPath = String.format("%s/import-containers", encodePathParam(this.projectKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportOperationsByIdGet.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportOperationsByIdGet.java index c26842c27f5..f890b2f60ac 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportOperationsByIdGet.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyImportOperationsByIdGet.java @@ -60,7 +60,8 @@ public ByProjectKeyImportOperationsByIdGet(ByProjectKeyImportOperationsByIdGet t @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/import-operations/%s", this.projectKey, this.id); + String httpRequestPath = String.format("%s/import-operations/%s", encodePathParam(this.projectKey), + encodePathParam(this.id)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyInventoriesImportContainersByImportContainerKeyPost.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyInventoriesImportContainersByImportContainerKeyPost.java index 093385e28f8..9de163d93ab 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyInventoriesImportContainersByImportContainerKeyPost.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyInventoriesImportContainersByImportContainerKeyPost.java @@ -68,8 +68,8 @@ public ByProjectKeyInventoriesImportContainersByImportContainerKeyPost( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/inventories/import-containers/%s", this.projectKey, - this.importContainerKey); + String httpRequestPath = String.format("%s/inventories/import-containers/%s", encodePathParam(this.projectKey), + encodePathParam(this.importContainerKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyOrderPatchesImportContainersByImportContainerKeyPost.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyOrderPatchesImportContainersByImportContainerKeyPost.java index 1ee48b75763..aa3acda22d4 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyOrderPatchesImportContainersByImportContainerKeyPost.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyOrderPatchesImportContainersByImportContainerKeyPost.java @@ -68,8 +68,8 @@ public ByProjectKeyOrderPatchesImportContainersByImportContainerKeyPost( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/order-patches/import-containers/%s", this.projectKey, - this.importContainerKey); + String httpRequestPath = String.format("%s/order-patches/import-containers/%s", + encodePathParam(this.projectKey), encodePathParam(this.importContainerKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyOrdersImportContainersByImportContainerKeyPost.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyOrdersImportContainersByImportContainerKeyPost.java index 9be161ee2d2..67d9b8747db 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyOrdersImportContainersByImportContainerKeyPost.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyOrdersImportContainersByImportContainerKeyPost.java @@ -68,8 +68,8 @@ public ByProjectKeyOrdersImportContainersByImportContainerKeyPost( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/orders/import-containers/%s", this.projectKey, - this.importContainerKey); + String httpRequestPath = String.format("%s/orders/import-containers/%s", encodePathParam(this.projectKey), + encodePathParam(this.importContainerKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyPricesImportContainersByImportContainerKeyPost.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyPricesImportContainersByImportContainerKeyPost.java index d17544c8e3c..0aca46a7be6 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyPricesImportContainersByImportContainerKeyPost.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyPricesImportContainersByImportContainerKeyPost.java @@ -68,8 +68,8 @@ public ByProjectKeyPricesImportContainersByImportContainerKeyPost( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/prices/import-containers/%s", this.projectKey, - this.importContainerKey); + String httpRequestPath = String.format("%s/prices/import-containers/%s", encodePathParam(this.projectKey), + encodePathParam(this.importContainerKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductDraftsImportContainersByImportContainerKeyPost.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductDraftsImportContainersByImportContainerKeyPost.java index 02e74a2fd32..d0a5ec4229b 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductDraftsImportContainersByImportContainerKeyPost.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductDraftsImportContainersByImportContainerKeyPost.java @@ -68,8 +68,8 @@ public ByProjectKeyProductDraftsImportContainersByImportContainerKeyPost( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-drafts/import-containers/%s", this.projectKey, - this.importContainerKey); + String httpRequestPath = String.format("%s/product-drafts/import-containers/%s", + encodePathParam(this.projectKey), encodePathParam(this.importContainerKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductTypesImportContainersByImportContainerKeyPost.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductTypesImportContainersByImportContainerKeyPost.java index 5dee4c88e03..caad6bbd9c2 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductTypesImportContainersByImportContainerKeyPost.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductTypesImportContainersByImportContainerKeyPost.java @@ -68,8 +68,8 @@ public ByProjectKeyProductTypesImportContainersByImportContainerKeyPost( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-types/import-containers/%s", this.projectKey, - this.importContainerKey); + String httpRequestPath = String.format("%s/product-types/import-containers/%s", + encodePathParam(this.projectKey), encodePathParam(this.importContainerKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductVariantPatchesImportContainersByImportContainerKeyPost.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductVariantPatchesImportContainersByImportContainerKeyPost.java index 7f29a4bd52a..1d471bb13f4 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductVariantPatchesImportContainersByImportContainerKeyPost.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductVariantPatchesImportContainersByImportContainerKeyPost.java @@ -68,8 +68,8 @@ public ByProjectKeyProductVariantPatchesImportContainersByImportContainerKeyPost @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-variant-patches/import-containers/%s", this.projectKey, - this.importContainerKey); + String httpRequestPath = String.format("%s/product-variant-patches/import-containers/%s", + encodePathParam(this.projectKey), encodePathParam(this.importContainerKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductVariantsImportContainersByImportContainerKeyPost.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductVariantsImportContainersByImportContainerKeyPost.java index 167d1a50878..c659ffb4198 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductVariantsImportContainersByImportContainerKeyPost.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductVariantsImportContainersByImportContainerKeyPost.java @@ -68,8 +68,8 @@ public ByProjectKeyProductVariantsImportContainersByImportContainerKeyPost( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/product-variants/import-containers/%s", this.projectKey, - this.importContainerKey); + String httpRequestPath = String.format("%s/product-variants/import-containers/%s", + encodePathParam(this.projectKey), encodePathParam(this.importContainerKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductsImportContainersByImportContainerKeyPost.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductsImportContainersByImportContainerKeyPost.java index 8df49da0153..c4976c48fe6 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductsImportContainersByImportContainerKeyPost.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductsImportContainersByImportContainerKeyPost.java @@ -68,8 +68,8 @@ public ByProjectKeyProductsImportContainersByImportContainerKeyPost( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/products/import-containers/%s", this.projectKey, - this.importContainerKey); + String httpRequestPath = String.format("%s/products/import-containers/%s", encodePathParam(this.projectKey), + encodePathParam(this.importContainerKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyStandalonePricesImportContainersByImportContainerKeyPost.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyStandalonePricesImportContainersByImportContainerKeyPost.java index c0bc766e248..f4bdb5f5fc3 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyStandalonePricesImportContainersByImportContainerKeyPost.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyStandalonePricesImportContainersByImportContainerKeyPost.java @@ -68,8 +68,8 @@ public ByProjectKeyStandalonePricesImportContainersByImportContainerKeyPost( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/standalone-prices/import-containers/%s", this.projectKey, - this.importContainerKey); + String httpRequestPath = String.format("%s/standalone-prices/import-containers/%s", + encodePathParam(this.projectKey), encodePathParam(this.importContainerKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyTypesImportContainersByImportContainerKeyPost.java b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyTypesImportContainersByImportContainerKeyPost.java index 545c30a7b2a..f6c2bd64190 100644 --- a/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyTypesImportContainersByImportContainerKeyPost.java +++ b/commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyTypesImportContainersByImportContainerKeyPost.java @@ -68,8 +68,8 @@ public ByProjectKeyTypesImportContainersByImportContainerKeyPost( @Override protected ApiHttpRequest buildHttpRequest() { List params = new ArrayList<>(getQueryParamUriStrings()); - String httpRequestPath = String.format("%s/types/import-containers/%s", this.projectKey, - this.importContainerKey); + String httpRequestPath = String.format("%s/types/import-containers/%s", encodePathParam(this.projectKey), + encodePathParam(this.importContainerKey)); if (!params.isEmpty()) { httpRequestPath += "?" + String.join("&", params); } diff --git a/reference.txt b/reference.txt new file mode 100644 index 00000000000..82311ce7ad9 --- /dev/null +++ b/reference.txt @@ -0,0 +1 @@ +d62922ce6b28a2fca6a09501a2714c94e4a1a908 diff --git a/references.txt b/references.txt index 2703363b737..5e1f1a82735 100644 --- a/references.txt +++ b/references.txt @@ -288,3 +288,4 @@ c2d41f9490412d38247db519a7ae49592d0761f9 1097ecaee5d79d53cdff84ef51b23a1a1f84ba41 dd89a432525ef32aad4af069a2dea5d461a991d9 d62922ce6b28a2fca6a09501a2714c94e4a1a908 +d3777f87ffd605785d0af34c175a0d61176413ca