Open patrickelectric opened 1 year ago
From my code:
#[api_v2_operation] /// Send a MAVLink message for the desired vehicle pub fn mavlink_post( data: web::Data<MAVLinkVehicleArcMutex>, _req: HttpRequest, bytes: web::Bytes, ) -> HttpResponse {
The bytes field does not show on the swagger api.
Seems that there's an "empty" implementation of the traits for web::Bytes:
web::Bytes
core/src/v2/actix.rs 251:impl_empty!(HttpRequest, HttpResponse, Bytes, Payload);
From my code:
The bytes field does not show on the swagger api.