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