Closed ulf-stravito closed 2 months ago
I don't think QueryQs is wired up with actix, only axum.
I'm not using actix anymore, so supporting it has been best effort and/or community driven for now.
I welcome any PRs to fix it, but unfortunately I don't have bandwidth to dive into it myself.
Believe this is fixed now.
Hi!
I've been testing out the library to generate a spec for an actix-web service and noticed that my query string parameters are not included in the generated spec. example code:
resulting openapi.yml:
I'd have expected there to be a parameters property for the "route"-path.
I found issue #11 and saw that there was a test for this where this behavior seemed to be expected. And I found that there was a "serde_qs" feature flag, so I tried using the QsQuery-struct from that crate instead:
But this will not compile:
This is the Cargo.toml
Am I trying to do something wrong/unsupported? I noticed that this seems to be tested in the case of axum.
Appreciate any pointers in the right direction! :)