Class IntrospectionEndpointMapper
- Namespace
- Cratis.Arc.Introspection
- Assembly
- Cratis.Arc.Core.dll
Maps endpoint introspection routes.
public static class IntrospectionEndpointMapper
- Inheritance
-
IntrospectionEndpointMapper
- Inherited Members
Methods
MapIntrospectionEndpoints(IEndpointMapper)
Maps introspection endpoints for commands and queries.
[Obsolete("Use MapIntrospectionEndpoints(IEndpointMapper, IntrospectionOptions) to honor configured exposure options.")]
public static void MapIntrospectionEndpoints(this IEndpointMapper mapper)
Parameters
mapperIEndpointMapperThe IEndpointMapper to use.
Remarks
This overload cannot resolve configured options from IEndpointMapper and always uses defaults.
MapIntrospectionEndpoints(IEndpointMapper, IntrospectionOptions)
Maps introspection endpoints using the configured exposure options.
public static void MapIntrospectionEndpoints(this IEndpointMapper mapper, IntrospectionOptions options)
Parameters
mapperIEndpointMapperThe IEndpointMapper to use.
optionsIntrospectionOptionsThe exposure options.
Exceptions
- InvalidIntrospectionConfiguration
The catalog configuration is invalid or the host cannot enforce it.