namespace Svrnty.CQRS.MinimalApi;
///
/// Configuration options for MinimalApi CQRS endpoints
///
public class MinimalApiCqrsOptions
{
///
/// Whether to map command endpoints (default: true)
///
public bool MapCommands { get; set; } = true;
///
/// Whether to map query endpoints (default: true)
///
public bool MapQueries { get; set; } = true;
///
/// Whether to map dynamic query endpoints (default: true)
///
public bool MapDynamicQueries { get; set; } = true;
///
/// Route prefix for command endpoints (default: "api/command")
///
public string CommandRoutePrefix { get; set; } = "api/command";
///
/// Route prefix for query endpoints (default: "api/query")
///
public string QueryRoutePrefix { get; set; } = "api/query";
///
/// Route prefix for dynamic query endpoints (default: "api/query")
///
public string DynamicQueryRoutePrefix { get; set; } = "api/query";
}