18 lines
428 B
C#
18 lines
428 B
C#
using GerstITS.Examples.Api.Swagger;
|
|
using GerstITS.Web.Api.Swagger;
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
|
|
namespace GerstITS.Examples.Api
|
|
{
|
|
public sealed partial class Module
|
|
{
|
|
#region Methods
|
|
|
|
private static void RegisterSwagger(IServiceCollection container)
|
|
{
|
|
container.AddSingleton<ISwaggerConfiguration, WebApiConfiguration>();
|
|
}
|
|
|
|
#endregion
|
|
}
|
|
} |