Closed niklasad1 closed 1 month ago
Yeah I think this is a bug. Actix hasn't received as much love as the axum side.
If you look at axum::Path, fixing one half of it is really simple. The problem is that it's hard to capture the parameter name. One solution would be to modify the parameter name when it's added with .get
. The other solution is probably annotations.
I won't be able to get to this until the weekend, but PR welcome in the meantime.
Ok, no rush I switched to axum instead
Believe this is fixed now.
Hey,
I'm not sure if I'm doing something wrong but I have code such as this:
I'm expecting it to generate path parameters such as https://swagger.io/docs/specification/describing-parameters/#path-parameters but it generates the following yaml:
Am I doing something wrong or is it not supported?