From 509b2e4aa1ae2ffeda711b03dec04018983efe6c Mon Sep 17 00:00:00 2001 From: Vitali Semianiaka Date: Wed, 31 Dec 2025 16:23:14 +0300 Subject: [PATCH] fix build --- s8n-runtime/WorkflowEditApiChannel.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/s8n-runtime/WorkflowEditApiChannel.cs b/s8n-runtime/WorkflowEditApiChannel.cs index 860f0f7..a05afa1 100644 --- a/s8n-runtime/WorkflowEditApiChannel.cs +++ b/s8n-runtime/WorkflowEditApiChannel.cs @@ -14,7 +14,7 @@ public class WorkflowEditApiChannel : WorkflowRuntimeNodeBase, IWorkflowNodeRunn { var builder = WebApplication.CreateBuilder(); builder.WebHost.UseUrls($"http://localhost:{Port}"); - builder.Services.AddOpenApi().ConfigureHttpJsonOptions(options => + builder.Services.ConfigureHttpJsonOptions(options => { var opts = options.SerializerOptions; opts.IncludeFields = true; @@ -27,7 +27,6 @@ public class WorkflowEditApiChannel : WorkflowRuntimeNodeBase, IWorkflowNodeRunn })); _app = builder.Build(); - _app.MapOpenApi(); _app.UseCors(policy => policy.AllowAnyOrigin()); _app.MapGet("/api/runtime", () => runtime); _app.MapGet("/api/log", (Channel channel) =>