Skip to content

Commit bf28dfe

Browse files
committed
perf: Use examples instead of example
1 parent dd3a4d0 commit bf28dfe

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

fastapi_amis_admin/crud/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
str,
1515
Query(
1616
title="ids",
17-
example="1,2,3",
17+
examples=["1", "1,2,3"],
1818
description="Primary key or list of primary keys",
1919
),
2020
]
@@ -36,7 +36,7 @@ def parser_item_id(
3636
...,
3737
min_length=1,
3838
title="pk",
39-
example="1,2,3",
39+
examples=["1", "1,2,3"],
4040
description="Primary key or list of primary keys",
4141
)
4242
) -> List[str]:

0 commit comments

Comments
 (0)