Support Bytes (#68)
This commit is contained in:
parent
9c68e080d6
commit
0e3938798f
7 changed files with 33 additions and 0 deletions
8
schemars/tests/bytes.rs
Normal file
8
schemars/tests/bytes.rs
Normal file
|
@ -0,0 +1,8 @@
|
|||
mod util;
|
||||
use bytes::Bytes;
|
||||
use util::*;
|
||||
|
||||
#[test]
|
||||
fn bytes() -> TestResult {
|
||||
test_default_generated_schema::<Bytes>("bytes")
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue