[4 to 5 migration] How do I access Path::path_item
in utoipa 5?
#1290
-
Hi there, I used to build my paths like this: let paths = PathsBuilder::new()
.path(
__path_statement::path(),
__path_statement::path_item(EndpointTags::Accounts),
).build(); But since version 5, the |
Beta Was this translation helpful? Give feedback.
Answered by
vnermolaev
Jan 16, 2025
Replies: 1 comment 1 reply
-
I came up with let paths = PathsBuilder::new()
.path_form::<__path_statement>()
.build(); the tag needs to be inserted in |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
juhaku
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I came up with
the tag needs to be inserted in
#[utoipa::path(tag = ...)]
.