Class BowireMockManagementServiceCollectionExtensions
- Namespace
- Kuestenlogik.Bowire.Mock.Management
- Assembly
- Kuestenlogik.Bowire.Mock.dll
DI helpers for the mock-management surface introduced in #56. Pair with MapBowireMockManagement(IEndpointRouteBuilder, string) at host wire-in time.
public static class BowireMockManagementServiceCollectionExtensions
- Inheritance
-
BowireMockManagementServiceCollectionExtensions
- Inherited Members
Methods
AddBowireMockManagement(IServiceCollection)
Register the BowireMockHostManager singleton so
the endpoints + future MCP tools can resolve it. Single owner
of mock-server lifecycle after the #223 consolidation —
MockRegistry + the parallel /api/mock/* surface are
gone. Idempotent — re-calling is a no-op.
public static IServiceCollection AddBowireMockManagement(this IServiceCollection services)
Parameters
servicesIServiceCollection