mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-18 20:02:54 +00:00
16 lines
235 B
Rust
16 lines
235 B
Rust
mod util;
|
|
use schemars::JsonSchema;
|
|
use url::Url;
|
|
use util::*;
|
|
|
|
#[allow(dead_code)]
|
|
#[derive(JsonSchema)]
|
|
struct UrlTypes {
|
|
url: Url,
|
|
}
|
|
|
|
#[test]
|
|
fn url_types() -> TestResult {
|
|
test_default_generated_schema::<UrlTypes>("url")
|
|
}
|