Skip to content

Commit 2b71734

Browse files
Add UUID format support (#1388)
* add uuid string handling * remove tabs
1 parent c551e02 commit 2b71734

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
@@ -286,6 +286,7 @@ def format_boolean(x):
286286
"email": format_string,
287287
"binary": lambda x: f'{{"data": Buffer.from(fs.readFileSync({format_string(x)}, "utf8")), "name": {format_string(x)}}}',
288288
"string": format_string,
289+
"uuid": format_string,
289290
None: format_interface,
290291
}[schema.get("format", schema.get("type"))]
291292

0 commit comments

Comments
 (0)