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 1 reply
-
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.
1 reply
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