#499·paperclip

How to specify the payload type ?

Author: patrickelectricCreated Mar 29, 2023Updated Mar 29, 2023

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.