Use raw_body
for bytes payload in doc examples.
This commit is contained in:
parent
1c23df55e4
commit
e5e89b8929
@ -180,7 +180,7 @@ use http::Method;
|
||||
/// }
|
||||
///
|
||||
/// request {
|
||||
/// #[ruma_api(body)]
|
||||
/// #[ruma_api(raw_body)]
|
||||
/// pub file: Vec<u8>,
|
||||
/// }
|
||||
///
|
||||
|
Loading…
x
Reference in New Issue
Block a user