use rustified::endpoint::Endpoint; use rustified_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() {}