elsa-core/src/modules/Elsa.Shells.Api/ShellFeatures/ShellsApiFeature.cs
2026-06-07 02:45:44 +02:00

29 lines
1,000 B
C#

using CShells.FastEndpoints.Features;
using CShells.Features;
using Elsa.ShellFeatures;
using Elsa.Platform.PackageManifest.Generator.Hints;
using JetBrains.Annotations;
using Microsoft.Extensions.DependencyInjection;
namespace Elsa.Shells.Api.ShellFeatures;
/// <summary>
/// Adds shells API features with FastEndpoints support.
/// </summary>
/// <remarks>
/// This feature implements <see cref="IFastEndpointsShellFeature"/> to indicate that this assembly
/// contains FastEndpoints that should be automatically discovered and registered.
/// </remarks>
[ManifestFeatureCategory(ManifestFeatureCategories.Shells)]
[ManifestFeatureCategory(ManifestFeatureCategories.API)]
[ShellFeature(
DisplayName = "Shells API",
Description = "Provides REST API endpoints for shell management",
DependsOn = [typeof(ElsaFastEndpointsFeature)])]
[UsedImplicitly]
public class ShellsApiFeature : IFastEndpointsShellFeature
{
public void ConfigureServices(IServiceCollection services)
{
}
}