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

mapper IEndpointMapper

The 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

mapper IEndpointMapper

The IEndpointMapper to use.

options IntrospectionOptions

The exposure options.

Exceptions

InvalidIntrospectionConfiguration

The catalog configuration is invalid or the host cannot enforce it.