Default values for SecurityScheme #783
Answered
by
juhaku
open-schnick
asked this question in
Q&A
-
Hey is there a way i can provide default values for the used SecuritySchema? |
Beta Was this translation helpful? Give feedback.
Answered by
juhaku
Aug 26, 2024
Replies: 1 comment 2 replies
-
As what I understand from the specification there are no such fields available. https://spec.openapis.org/oas/latest.html#security-scheme-object |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Okay, Probably there is a way to do this that I am not aware of. I don't know the SpringDoc's implementation details thus it is hard to say that how the have solved this. Maybe it is some extension field. This is probably something that could be investigated in future however now I don't have bandwidth to investigate this matter. Though as always PR:s are welcome in that matter. 🙂