elsa-core/src/modules/Elsa.Dashboard.Api/ShellFeatures/DashboardApiFeature.cs
Sipke Schoorstra a928c2af2a
Adds operational Dashboard API for Elsa Studio (#7681)
* Add dashboard API foundation

Merge dashboard API foundation into dashboard-v2

* Harden dashboard API provider

Documents the dashboard API contract, adds provider behavior tests, and degrades diagnostics capability states independently.

* Add DashboardApi configuration to appsettings.json
2026-06-02 21:12:32 +02:00

21 lines
636 B
C#

using CShells.FastEndpoints.Features;
using CShells.Features;
using Elsa.Dashboard.Api.Extensions;
using JetBrains.Annotations;
using Microsoft.Extensions.DependencyInjection;
namespace Elsa.Dashboard.Api.ShellFeatures;
[ShellFeature(
DisplayName = "Dashboard API",
Description = "Provides operational dashboard API endpoints for Elsa Studio",
DependsOn = ["ElsaFastEndpoints", "WorkflowInstances", "WorkflowRuntime"])]
[UsedImplicitly]
public class DashboardApiFeature : IFastEndpointsShellFeature
{
public void ConfigureServices(IServiceCollection services)
{
services.AddDashboardApiServices();
}
}