Skip to content

Commit

Permalink
updated the algorithm for finding the best match
Browse files Browse the repository at this point in the history
  • Loading branch information
philasmar committed Dec 13, 2024
1 parent 253d032 commit 37aa2b7
Show file tree
Hide file tree
Showing 3 changed files with 319 additions and 101 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,4 @@ public class ApiGatewayRouteConfig
/// The API Gateway HTTP Path of the Lambda function
/// </summary>
public required string Path { get; set; }

/// <summary>
/// The type of API Gateway Route. This is used to determine the priority of the route when there is route overlap.
/// </summary>
internal ApiGatewayRouteType ApiGatewayRouteType { get; set; }

/// <summary>
/// The number of characters preceding a greedy path variable {proxy+}. This is used to determine the priority of the route when there is route overlap.
/// </summary>
internal int LengthBeforeProxy { get; set; }

/// <summary>
/// The number of parameters in a path. This is used to determine the priority of the route when there is route overlap.
/// </summary>
internal int ParameterCount { get; set; }
}
Loading

0 comments on commit 37aa2b7

Please sign in to comment.