Skip to content

[4 to 5 migration] How do I access Path::path_item in utoipa 5? #1290

Closed Answered by vnermolaev
vnermolaev asked this question in Q&A
Discussion options

You must be logged in to vote

I came up with

let paths = PathsBuilder::new()
    .path_form::<__path_statement>()
    .build();

the tag needs to be inserted in #[utoipa::path(tag = ...)].

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@juhaku
Comment options

Answer selected by juhaku
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants