Files
yoi/crates/api-macros/tests/ui/unsupported_wire_kind.rs

13 lines
223 B
Rust

use api_macros::api;
pub struct StreamRequest;
pub struct Response;
#[api]
pub trait UnsupportedWireKind {
#[post("/widgets")]
async fn create(&self, #[stream] request: StreamRequest) -> Response;
}
fn main() {}