You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for all the hard work on Paperclip. I'm using it together with Actix to generate a spec for my API, however I've noticed something odd. Almost every request handler (split out into modules) has a Request and Response struct, for the request and response respectively. However it seems to be only provided once in the final spec.
Hey there,
Thanks for all the hard work on Paperclip. I'm using it together with Actix to generate a spec for my API, however I've noticed something odd. Almost every request handler (split out into modules) has a
Request
andResponse
struct, for the request and response respectively. However it seems to be only provided once in the final spec.Assume I have the following two endpoints:
Both API will show the same request struct, rather than foo having it's own, and bar having it's own
Potential solution
I think a potential solution would be to include the module in the definition name, that way you can never have overlap
Versions
actix: 3.3.2
paperclip: 0.6.1
rustc: 1.57.0-beta
The text was updated successfully, but these errors were encountered: