-
Notifications
You must be signed in to change notification settings - Fork 0
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
Incompatible with utoipa crate #16
Comments
Thanks for the report. Yeah, I would like very much for this library to be compatible with utoipa. I don't know which crate would need to make a change yet. I will look into the implementation details this weekend. |
Hey, I opened an issue at utoipa as ai am not sure if the issue is here or at the other library. |
If the syntax in your code is something like in the example in the README.md then I believe that the issue lies in the async fn hello(Validated(Json(payload)): Validated<Json<Example>>) -> impl Responder {
HttpResponse::Ok().body(format!("Hello {}", payload.name))
} I am now implementing a fix for this here juhaku/utoipa#977 |
Though the fix is not expected to be released separately but will eventually land in utoipa |
Hey, would it be possible to release a v5.0.0-beta.1 that includes this fix? |
I think this can be closed now. Wasn't an issue with this crate. |
I'll see if I could release a patch release for the 4.x.x serie. Though I could release the |
@DenuxPlays Published another pre-release with the fix: juhaku/utoipa#976 (comment) https://github.com/juhaku/utoipa/releases/tag/utoipa-5.0.0-alpha.1 |
Hey,
I wanted to implement this crate into my backend.
We use the utoipa crate to generate OpenAPI documentation but unfortunately this validation library is not compatible with utoipa.
I am not sure if the issue should be opened here or at utoipa but other validation libraries seem to work with it completely fine.
Error:
How to reproduce
cargo build
The text was updated successfully, but these errors were encountered: