Also implement JsonSchema for BytesMut
This commit is contained in:
parent
0e3938798f
commit
9e2ba85772
3 changed files with 26 additions and 10 deletions
|
@ -1,8 +1,8 @@
|
|||
mod util;
|
||||
use bytes::Bytes;
|
||||
use bytes::{Bytes, BytesMut};
|
||||
use util::*;
|
||||
|
||||
#[test]
|
||||
fn bytes() -> TestResult {
|
||||
test_default_generated_schema::<Bytes>("bytes")
|
||||
test_default_generated_schema::<(Bytes, BytesMut)>("bytes")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue