mirror of
https://github.com/langgenius/dify.git
synced 2026-11-12 06:11:12 +08:00
7 lines
292 B
Python
7 lines
292 B
Python
from controllers.openapi._models import AppDescribeResponse
|
|
|
|
|
|
def test_describe_response_all_blocks_optional() -> None:
|
|
payload = AppDescribeResponse().model_dump(mode="json", exclude_none=False)
|
|
assert payload == {"info": None, "parameters": None, "input_schema": None, "hints": []}
|