Skip to content

unexpected attribute "openapi" "paths" macro #249

Answered by juhaku
daniel-samson asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

Actually the syntax available in the examples and in README is for the next release 2.0.0 which is not available in 1.1 from crates. The next release should be available in not distant future.

Here is the Github link to the latest release: https://github.com/juhaku/utoipa/tree/utoipa-1.1.0.

Alternatively you can use git as source for the dependency to get the latest version for you according this: https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#specifying-dependencies-from-git-repositories

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@daniel-samson
Comment options

@daniel-samson
Comment options

@juhaku
Comment options

Answer selected by daniel-samson
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