feignhttp-codegen 0.5.2

FeignHTTP macro support
Documentation
1
2
3
4
5
6
7
8
9
10
use feignhttp_codegen::post;

// error: one form parameter only supports scalar types, &str, String or struct
//    |  pub async fn send_post(#[form] s: &String) -> Result<String> {}
//    |                                 ^^^^^^^^^^

#[post("http://xxx")]
pub async fn send_post(#[form] s: &String) -> Result<String> {}

fn main() {}