Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

examples todo-actix can't run #967

Closed
zhengpanone opened this issue Jul 1, 2024 · 2 comments
Closed

examples todo-actix can't run #967

zhengpanone opened this issue Jul 1, 2024 · 2 comments

Comments

@zhengpanone
Copy link

I copied the todo-actix demo, but it couldn't run. Cargo build couldn't be compiled. The error was unexpected attribute, expected any of: handlers, components, modifiers, security, tags, external_docs, servers, no function or associated item named openapi found for struct ApiDoc in the current scope
image

@LucasOe
Copy link

LucasOe commented Jul 26, 2024

The nest attribute has been added in the 5.0.0-alpha version. The LTS is still 4.3.2, that's why you can't use it.

@BimaAdi
Copy link

BimaAdi commented Aug 9, 2024

@zhengpanone try use example based on your utoipa version, by changing tag on github repo
utoipa tag

@juhaku juhaku closed this as completed Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants