openapi / actix-swagger

Swagger code generator for actix-web framework
https://crates.io/crates/cargo-swagg
MIT License
111 stars 8 forks source link

question: it is possible to generate swagger from rest code (reverse direction)? #2

Open publicocean0 opened 4 years ago

publicocean0 commented 4 years ago

Hi , i m new in rust so i m trying to learn a bit possibilities. It is possible to create a macro over a method permitting to generate the swagger code analyzing function input/output and mapping ?

sergeysova commented 4 years ago

Hi! Thank you for your issue. Read this https://github.com/actix/actix-web/issues/310

sergeysova commented 4 years ago

https://paperclip.waffles.space/actix-plugin.html