utoipauto
utoipauto copied to clipboard
Components lack full module paths
Hello, we're trying out this crate for a college assignment involving a backend server.
We've setup the project to use just utoipa
then proceeded to replace the declarations with this crate's macro.
The derived components seem to lack the module path, so instead of crate::routing::api::audio::DeleteSamplesRequest
the macro generates just DeleteSamplesRequest
. And so it asks us to import it, as well as every other missing model.
This is the error
Intuition is telling me, the components should be added with the full paths. Not sure if this is a problem by design.
There are few examples where paths are added to the macro, but I don't think that's our use case. Do let me know if I'm doing something wrong.