About overload in fn #422
Answered
by
juhaku
josejachuf
asked this question in
Q&A
-
I have a question. The functions decorated with #[utoipa :: path ()] have some type of overload during the execution of the app? |
Beta Was this translation helpful? Give feedback.
Answered by
juhaku
Dec 28, 2022
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
josejachuf
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#[utoipa::path(...)]
works the same way as deriveToSchema
orIntoParams
it does not add runtime cost for the application but it generates OpenApi types at compile time. It does not change the implementation of the function in any way.