feignhttp-codegen 0.5.2

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

// error: request must have only one body
//    |  pub async fn send_post(#[body] b: B, #[body] b2: B) -> Result<String> {}
//    |                                 ^^^^^^^^^^^^^^^^^^^

struct B;

#[post("http://xxx")]
pub async fn send_post(#[body] b: B, #[body] b2: B) -> Result<String> {}

fn main() {}