utoipauto
utoipauto copied to clipboard
Version 0.2.0 (For utoipa v5)
Things that break our implementation:
- [ ] Real generics
- [ ] Automatic Schema Collection (maybe?) & https://github.com/juhaku/utoipa/issues/1065
I am not sure if the second thing really does break uotipauto but we could reduce compile times if we can somehow filter out what is already collected by utoipa.
Our issues that we need to fix:
- [ ] ~~https://github.com/ProbablyClem/utoipauto/issues/43~~ not needed in v0.2.0 anymore
New Generics
As the aliases
attribute does not exist anymore we need to gather these information on a different way.
We need to parse the response & request bodies and add them accordingly.
- [ ] Check where a generic schema could be used (Founds: request_body, response (in path, IntoResponses, ToResponse), Parameters)
- [ ] Parse the Generic and add them as types
- [ ] resolve imports (drop the
generic_full_path
feature and include it directly)- [ ] checkout how to resolve relative imports like
super::
- [ ] checkout how to resolve relative imports like