Update InputValueRequest schema with additional component name
This commit is contained in:
parent
6b66834990
commit
b4d859db66
1 changed files with 4 additions and 1 deletions
|
|
@ -252,7 +252,10 @@ class InputValueRequest(BaseModel):
|
||||||
model_config = {
|
model_config = {
|
||||||
"json_schema_extra": {
|
"json_schema_extra": {
|
||||||
"examples": [
|
"examples": [
|
||||||
{"components": ["components_id"], "input_value": ["input_value"]},
|
{
|
||||||
|
"components": ["components_id", "Component Name"],
|
||||||
|
"input_value": ["input_value"],
|
||||||
|
},
|
||||||
{"components": ["Component Name"], "input_value": ["input_value"]},
|
{"components": ["Component Name"], "input_value": ["input_value"]},
|
||||||
{"input_value": ["input_value"]},
|
{"input_value": ["input_value"]},
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue