docs re-org, audit fixes, build fixes
This commit is contained in:
@@ -49,7 +49,7 @@ builder.Services.AddOpenApi();
|
||||
var routerOptions = builder.Configuration.GetSection("VexHub:Router").Get<StellaRouterOptionsBase>();
|
||||
builder.Services.TryAddStellaRouter(
|
||||
serviceName: "vexhub",
|
||||
version: typeof(Program).Assembly.GetName().Version?.ToString() ?? "1.0.0",
|
||||
version: System.Reflection.Assembly.GetExecutingAssembly().GetName().Version?.ToString() ?? "1.0.0",
|
||||
routerOptions: routerOptions);
|
||||
|
||||
var app = builder.Build();
|
||||
@@ -83,3 +83,9 @@ app.MapGet("/health", () => Results.Ok(new { Status = "Healthy", Service = "VexH
|
||||
app.TryRefreshStellaRouterEndpoints(routerOptions);
|
||||
|
||||
app.Run();
|
||||
|
||||
// Make Program class explicit to avoid conflicts with imported types
|
||||
namespace StellaOps.VexHub.WebService
|
||||
{
|
||||
public partial class Program { }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user