Class ApiEndpointOptions
- Namespace
- Cratis.Applications
- Assembly
- Cratis.Applications.dll
Represents the options for API endpoints.
public class ApiEndpointOptions
- Inheritance
-
ApiEndpointOptions
- Inherited Members
- Extension Methods
Properties
IncludeCommandNameInRoute
Whether to include the command name as the last segment of the route.
public bool IncludeCommandNameInRoute { get; set; }
Property Value
IncludeQueryNameInRoute
Whether to include the query name as the last segment of the route.
public bool IncludeQueryNameInRoute { get; set; }
Property Value
RoutePrefix
Gets or sets the route prefix to use for endpoints.
public string RoutePrefix { get; set; }
Property Value
SegmentsToSkipForRoute
Number of segments to skip from the start of the type's namespace when constructing the route.
public int SegmentsToSkipForRoute { get; set; }