feat: sample value generation for uuid, hostname, ipv4, & ipv6 formats (via #5033)
This commit is contained in:
@@ -7,6 +7,10 @@ const primitives = {
|
||||
"string_email": () => "user@example.com",
|
||||
"string_date-time": () => new Date().toISOString(),
|
||||
"string_date": () => new Date().toISOString().substring(0, 10),
|
||||
"string_uuid": () => "3fa85f64-5717-4562-b3fc-2c963f66afa6",
|
||||
"string_hostname": () => "example.com",
|
||||
"string_ipv4": () => "198.51.100.42",
|
||||
"string_ipv6": () => "2001:0db8:5b96:0000:0000:426f:8e17:642a",
|
||||
"number": () => 0,
|
||||
"number_float": () => 0.0,
|
||||
"integer": () => 0,
|
||||
|
||||
Reference in New Issue
Block a user