Skip to content

Commit 3737376

Browse files
Handle url format. (#1716)
1 parent 3a6d759 commit 3737376

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.generator/src/generator/formatter.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,7 @@ def format_boolean(x):
287287
"binary": lambda x: f'{{"data": Buffer.from(fs.readFileSync({format_string(x)}, "utf8")), "name": {format_string(x)}}}',
288288
"string": format_string,
289289
"uuid": format_string,
290+
"url": format_string,
290291
None: format_interface,
291292
}[schema.get("format", schema.get("type"))]
292293

0 commit comments

Comments
 (0)