Class BowireContractsEndpointContribution
- Namespace
- Kuestenlogik.Bowire.Contracts
- Assembly
- Kuestenlogik.Bowire.Contracts.dll
Discoverable endpoint-mount entry point for the Contracts rail (#364).
Picked up by Core's BowireApiEndpoints scan via the
IBowireEndpointContribution seam, so the matrix endpoint
inherits the auth-gated route group and the host's base path without
core knowing this package exists.
public sealed class BowireContractsEndpointContribution : IBowireEndpointContribution
- Inheritance
-
BowireContractsEndpointContribution
- Implements
- Inherited Members
Constructors
BowireContractsEndpointContribution()
public BowireContractsEndpointContribution()
Methods
MapEndpoints(IEndpointRouteBuilder, string)
Map this contribution's endpoints. Called once per host startup
from BowireApiEndpoints.MapBowire.
public void MapEndpoints(IEndpointRouteBuilder endpoints, string basePath)
Parameters
endpointsIEndpointRouteBuilderThe auth-gated IEndpointRouteBuilder group every workbench feature endpoint lives under.
basePathstringThe URL fragment every route is anchored under (e.g.
/bowirefor embedded hosts, empty for the standalone CLI).