Refactor auth type properties to use strong enum type

Changed Type in EndpointAuth and EndpointAuthType in RecActionView from string? to EndpointAuthType? for improved type safety and clarity. This enforces the use of a specific enum for authentication types instead of plain strings.
This commit is contained in:
2025-12-12 13:58:39 +01:00
parent 961b87de3d
commit f8c5502905
2 changed files with 2 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ public class EndpointAuth
public string? Description { get; set; }
public string? Type { get; set; }
public EndpointAuthType? Type { get; set; }
public string? ApiKey { get; set; }

View File

@@ -42,7 +42,7 @@ public class RecActionView
[ForeignKey("EndpointAuthId")]
public EndpointAuth? EndpointAuth { get; set; }
public string? EndpointAuthType { get; set; }
public EndpointAuthType? EndpointAuthType { get; set; }
public string? EndpointAuthApiKey { get; set; }