fix api model to use None
instead of Literal[None]
This commit is contained in:
parent
c04895dcff
commit
687c5b4276
1 changed files with 1 additions and 1 deletions
|
@ -611,7 +611,7 @@ class LocationDisplay(SerializableSchema):
|
|||
Annotated[str, APIField(title="a simple string value")],
|
||||
Annotated[DisplayLink, APIField(title="a link value")],
|
||||
Annotated[list[DisplayLink], APIField(title="a list of link values")],
|
||||
Annotated[Literal[None], APIField(title="no value")]
|
||||
Annotated[None, APIField(title="no value")]
|
||||
], APIField(title="field value", union_mode='left_to_right')]
|
||||
]
|
||||
] = APIField(description="a list of human-readable display values")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue