mirror of
https://github.com/hanzoai/python-sdk.git
synced 2026-10-23 20:23:00 +00:00
34 lines
716 B
JSON
34 lines
716 B
JSON
{
|
|
"rule": "`state` is required and not null: a null state is refused with 422.",
|
|
"cases": [
|
|
{
|
|
"path": [
|
|
"native",
|
|
"compat"
|
|
],
|
|
"send": [
|
|
{
|
|
"state": null,
|
|
"questions": {
|
|
"billing": {
|
|
"type": "noul",
|
|
"instructions": "Is this about billing?",
|
|
"criteria": {
|
|
"true": "it concerns charges, invoices or refunds",
|
|
"false": "it concerns something else"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"expect": {
|
|
"status": 422,
|
|
"error": "UnprocessableEntityError",
|
|
"checks": [
|
|
"fastapi"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|