Skip to content

Commit

Permalink
Merge pull request #12179 from rmsamitha/master
Browse files Browse the repository at this point in the history
Fix wsdl viewing issue for imported SOAP apis
  • Loading branch information
rmsamitha authored Oct 30, 2023
2 parents 4dff3d6 + 82d5a68 commit c1c0e08
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,6 @@ public static API importApi(String extractedFolderPath, APIDTO importedApiDTO, B
// implementation
ApiTypeWrapper apiTypeWrapperWithUpdatedApi = new ApiTypeWrapper(importedApi);
addDocumentation(extractedFolderPath, apiTypeWrapperWithUpdatedApi, apiProvider, organization);
addAPIWsdl(extractedFolderPath, importedApi, apiProvider);
if (StringUtils
.equals(importedApi.getType().toLowerCase(), APIConstants.API_TYPE_SOAPTOREST.toLowerCase())) {
addSOAPToREST(importedApi, validationResponse.getContent(), apiProvider);
Expand All @@ -372,6 +371,7 @@ public static API importApi(String extractedFolderPath, APIDTO importedApiDTO, B
// lifecycle transition state, it will override the thumbnail RXT field as it is null in the api object
// and without it, thumbnail is not be visible in publisher portal.
addThumbnailImage(extractedFolderPath, apiTypeWrapperWithUpdatedApi, apiProvider);
addAPIWsdl(extractedFolderPath, importedApi, apiProvider);
String tenantDomain = RestApiCommonUtil.getLoggedInUserTenantDomain();
if (deploymentInfoArray == null && !isAdvertiseOnlyAPI(importedApiDTO)) {
//If the params have not overwritten the deployment environments, yaml file will be read
Expand Down

0 comments on commit c1c0e08

Please sign in to comment.