Fix comment for different parameter types

This commit is contained in:
Yurii Motov
2026-02-06 16:35:39 +01:00
parent bfc09d9440
commit c733bab825
4 changed files with 4 additions and 4 deletions

View File

@@ -849,7 +849,7 @@ def test_nullable_with_non_null_default_schema(path: str):
}
if path == "/model-nullable-with-non-null-default":
# Check default value for list_val param for model-based Body parameters only.
# Check default value for list_val param for model-based parameters only.
# default_factory is not reflected in OpenAPI schema
assert body_model["properties"]["list_val"]["default"] == [0]

View File

@@ -576,7 +576,7 @@ def test_nullable_with_non_null_default_schema(path: str):
}
if path == "/model-nullable-with-non-null-default":
# Check default value for list_val param for model-based Body parameters only.
# Check default value for list_val param for model-based parameters only.
# default_factory is not reflected in OpenAPI schema
assert body_model["properties"]["list_val"]["default"] == [0]

View File

@@ -462,7 +462,7 @@ def test_nullable_with_non_null_default_schema(path: str):
]
if path == "/model-nullable-with-non-null-default":
# Check default value for list_val param for model-based Body parameters only.
# Check default value for list_val param for model-based parameters only.
# default_factory is not reflected in OpenAPI schema
assert parameters[2]["schema"]["default"] == [0]

View File

@@ -422,7 +422,7 @@ def test_nullable_with_non_null_default_schema(path: str):
]
if path == "/model-nullable-with-non-null-default":
# Check default value for list_val param for model-based Body parameters only.
# Check default value for list_val param for model-based parameters only.
# default_factory is not reflected in OpenAPI schema
assert parameters[2]["schema"]["default"] == [0]