Swagger supports adding a Header parameter for 1 method? #7836
Unanswered
psychomonkey911
asked this question in
Q&A
Replies: 1 comment
-
Too bad no one knows the answer to my question |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
i have method with attribute [Authorize("AtLeast21")]
and i want to add new header parameter to swagger only for method with this attribute
this case add to all api method parameter, but i want add only for method with this attribute.
how to do this?
Beta Was this translation helpful? Give feedback.
All reactions