elsa-core/src/modules/Elsa.Dashboard.Api/ShellFeatures/DashboardApiFeature.cs

21 lines
636 B
C#
Raw Normal View History

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();
}
}