Initial Commit from Swagger-Gen
This commit is contained in:
29
src/IO.Swagger/Program.cs
Normal file
29
src/IO.Swagger/Program.cs
Normal file
@ -0,0 +1,29 @@
|
||||
using Microsoft.AspNetCore.Hosting;
|
||||
using Microsoft.AspNetCore;
|
||||
|
||||
namespace IO.Swagger
|
||||
{
|
||||
/// <summary>
|
||||
/// Program
|
||||
/// </summary>
|
||||
public class Program
|
||||
{
|
||||
/// <summary>
|
||||
/// Main
|
||||
/// </summary>
|
||||
/// <param name="args"></param>
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
CreateWebHostBuilder(args).Build().Run();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Create the web host builder.
|
||||
/// </summary>
|
||||
/// <param name="args"></param>
|
||||
/// <returns>IWebHostBuilder</returns>
|
||||
public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
|
||||
WebHost.CreateDefaultBuilder(args)
|
||||
.UseStartup<Startup>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user