public void PublishSwaggerAPI() { string url = @"http://localhost:2598/swagger/docs/Profiles"; APIBuilder builder = APIBuilder.GetBuilder(url); API api = builder.BuildAPIAndOperations(); var entity = _Client.CreateAPIAsync(api).Result; Assert.IsNotNull(entity); foreach (var operation in api.Operations) { var entityOperation = _Client.CreateAPIOperationAsync(entity, operation).Result; Assert.IsNotNull(entityOperation); } }