Skip to content

Commit

Permalink
fix(experimentalIdentityAndAuth): fix @httpApiKeyAuth scheme prop…
Browse files Browse the repository at this point in the history
…erty writer (#1001)
  • Loading branch information
Steven Yuan authored Oct 10, 2023
1 parent 0080492 commit 38b85bb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public Optional<HttpAuthScheme> getHttpAuthScheme() {
.source(t -> w -> {
HttpApiKeyAuthTrait httpApiKeyAuthTrait = (HttpApiKeyAuthTrait) t;
httpApiKeyAuthTrait.getScheme().ifPresentOrElse(
s -> w.write(s),
s -> w.write("$S", s),
() -> w.write("undefined"));
})
.build())
Expand Down

0 comments on commit 38b85bb

Please sign in to comment.