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}