How to specify a custom security scheme name #4774
-
I have an example typespec:
This produces the following:
How to change |
Beta Was this translation helpful? Give feedback.
Answered by
timotheeguerin
Oct 17, 2024
Replies: 1 comment 2 replies
-
If you use model MyOAuth2<Scopes extends string[]>
is OAuth2Auth<
[
{
type: OAuth2FlowType.clientCredentials;
tokenUrl: "https://example.com/auth/token";
}
],
Scopes
>; |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
forik
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you use
model is
instead you can achieve thatplayground