use rustify::endpoint::Endpoint; use rustify_derive::Endpoint; use serde::Serialize; #[derive(Debug, Endpoint, Serialize)] #[endpoint(path = "test/path")] struct Test { pub name: String, #[endpoint(raw)] pub data: String, } #[derive(Debug, Endpoint, Serialize)] #[endpoint(path = "test/path")] struct TestTwo { pub name: String, #[endpoint(raw)] pub data: Vec, #[endpoint(raw)] pub data_two: Vec, } fn main() {}