Wrong format for UUID in open api #53
-
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
|
Thanks for reporting this 🙏 Once I finish analyzing it, I’ll open a dedicated GitHub Issue and share the link here so we can track progress properly. Thank you! Tunay |
Beta Was this translation helpful? Give feedback.
-
|
Hi, thanks a lot for the report and for taking the time to write this 🙌 I’ll be pushing the necessary crate updates very soon. Thanks again! |
Beta Was this translation helpful? Give feedback.
-
|
Hi @PeterGumball, I’ve fixed the issue you reported with the UUID format in the OpenAPI schema. Could you please try again and see if everything works now? If you still encounter any problems, feel free to ping me again. I’ll be happy to take another look! Thanks! 🚀 |
Beta Was this translation helpful? Give feedback.
-
|
Hi Peter, Thanks a lot for the feedback! I’ve fixed this issue in v0.1.191. (I've worked a little on versioning, sorry for my amateurism. I'm doing my best.) Root cause: Fix: type: string
format: uuidUsage: #[rustapi_macros::get("/pins/{id}")]
async fn get_pin(Path(id): Path<Uuid>) -> Json<Pin> { ... }You can upgrade using Thanks again! |
Beta Was this translation helpful? Give feedback.

Good Morning @PeterGumball
I’ve updated to v0.1.195, and it’s now parsing correctly in my local test environment.
just
cargo updateIf you can share the exact code snippet you tested with, I’d be happy to look into it further and try to come up with an even better solution.
Also, thank you for your valuable thoughts and feedback this kind of motivation really keeps me going, and I’ll continue improving the project.