Skip to content

Commit

Permalink
fix(webhook): specify permitted auth subclasses explicitly to stabili…
Browse files Browse the repository at this point in the history
…ze the template generation (#2775)

(cherry picked from commit 5f93d4a)
  • Loading branch information
chillleader committed Jun 24, 2024
1 parent 928fbde commit 44f2bb6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
group = "authorization",
description = "Choose the authorization type",
defaultValue = "NONE")
public sealed interface WebhookAuthorization {
public sealed interface WebhookAuthorization permits None, BasicAuth, ApiKeyAuth, JwtAuth {

@TemplateSubType(id = "NONE", label = "None")
final class None implements WebhookAuthorization {}
Expand Down

0 comments on commit 44f2bb6

Please sign in to comment.