How to attach @doc()
to an @useAuth()
Model
?
#3359
Answered
by
timotheeguerin
charlypoly
asked this question in
Q&A
-
Hi 👋🏼 I've been trying to get the following {
"securitySchemes": {
"bearerAuth": {
"type": "apiKey",
"in": "header",
"name": "x-my-key",
"description": "A custom explanation on API Key"
}
}
} Adding a typespec/packages/http/src/decorators.ts Line 610 in 69d6cb7 However, I did not find how to properly apply the |
Beta Was this translation helpful? Give feedback.
Answered by
timotheeguerin
May 15, 2024
Replies: 1 comment 1 reply
-
If you create a custom model for your authentication you can do that playground example
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
charlypoly
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you create a custom model for your authentication you can do that playground example