From 7b6e5674fe223b504bdd8f3ddcc382fa5ca239b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Serdar=20G=C3=B6kay=20K=C3=BC=C3=A7=C3=BCk?= Date: Tue, 5 Dec 2023 19:13:10 +0300 Subject: [PATCH] added uuid to fields --- ninja/orm/fields.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ninja/orm/fields.py b/ninja/orm/fields.py index f180c417..a0c50341 100644 --- a/ninja/orm/fields.py +++ b/ninja/orm/fields.py @@ -89,6 +89,7 @@ def __get_pydantic_json_schema__(cls, schema, handler): int: "integer", str: "string", float: "number", + UUID: "string", }[type_] return {"type": json_type}