Skip to content

Commit 251290e

Browse files
committed
Add the missing "null" datatype for OpenAPI v3.0.3
1 parent 3dda62a commit 251290e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

openapi_pydantic/v3/v3_0_3/datatype.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
class DataType(str, enum.Enum):
55
"""Data type of an object."""
66

7+
NULL = "null"
78
STRING = "string"
89
NUMBER = "number"
910
INTEGER = "integer"

0 commit comments

Comments
 (0)