From b1de647597fa9e121521f8939742e0f473863c6b Mon Sep 17 00:00:00 2001 From: BLasan Date: Thu, 5 Sep 2024 09:15:07 +0530 Subject: [PATCH] Remove: APIDTO Sequence update --- .../api/publisher/v1/common/mappings/APIMappingUtil.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/components/apimgt/org.wso2.carbon.apimgt.rest.api.publisher.v1.common/src/main/java/org/wso2/carbon/apimgt/rest/api/publisher/v1/common/mappings/APIMappingUtil.java b/components/apimgt/org.wso2.carbon.apimgt.rest.api.publisher.v1.common/src/main/java/org/wso2/carbon/apimgt/rest/api/publisher/v1/common/mappings/APIMappingUtil.java index 5916c3b8c990..ab778815c2dc 100644 --- a/components/apimgt/org.wso2.carbon.apimgt.rest.api.publisher.v1.common/src/main/java/org/wso2/carbon/apimgt/rest/api/publisher/v1/common/mappings/APIMappingUtil.java +++ b/components/apimgt/org.wso2.carbon.apimgt.rest.api.publisher.v1.common/src/main/java/org/wso2/carbon/apimgt/rest/api/publisher/v1/common/mappings/APIMappingUtil.java @@ -192,11 +192,6 @@ public static API fromDTOtoAPI(APIDTO dto, String provider) throws APIManagement context = updateContextWithVersion(dto.getVersion(), originalContext, context); model.setContext(context); model.setDescription(dto.getDescription()); - - if (dto != null && dto.getSequence() != null) { - model.setSequence(dto.getSequence()); - } - Object endpointConfig = dto.getEndpointConfig(); // update the sequence name generated