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) =>