Skip to content

Commit

Permalink
Update src/Arcus.WebApi.OpenApi.Extensions/SharedAccessKeyAuthenticat…
Browse files Browse the repository at this point in the history
…ionOperationFilter.cs

Co-authored-by: Stijn Moreels <[email protected]>
  • Loading branch information
fgheysels and stijnmoreels authored Jan 16, 2025
1 parent 7d17a69 commit bf4a3b5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public SharedAccessKeyAuthenticationOperationFilter(
{
if (string.IsNullOrWhiteSpace(securitySchemeName))
{
throw new ArgumentNullException(nameof(securitySchemeName), "Requires a name for the Shared Access Key security scheme");
throw new ArgumentException("Requires a name for the Shared Access Key security scheme", nameof(securitySchemeName));
}

if (!Enum.IsDefined(typeof(SecuritySchemeType), securitySchemeType))
Expand Down

0 comments on commit bf4a3b5

Please sign in to comment.