Azure.ApiManagement.IngestTool.Utility.ResourceUtilities.GetSwaggerUrlForApiV1App C# (CSharp) Method

GetSwaggerUrlForApiV1App() static private method

static private GetSwaggerUrlForApiV1App ( string resourceId ) : string
resourceId string
return string
        internal static string GetSwaggerUrlForApiV1App(string resourceId)
        {
            var arr = resourceId.Split('/');
            return string.Format(Constants.APIA_V1_SWAGGER_URL_TEMPLATE,
                arr[2],
                arr[4],
                arr[8]
                );
        }
    }