Skip to content

Commit e56f6de

Browse files
committed
must be nullable
1 parent f56d90f commit e56f6de

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

packages/models-library/src/models_library/projects_nodes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ class Node(BaseModel):
263263
] = DEFAULT_FACTORY
264264

265265
inputs_required: Annotated[
266-
list[InputID],
266+
list[InputID] | None,
267267
Field(
268268
default_factory=list,
269269
description="Defines inputs that are required in order to run the service",

services/web/server/src/simcore_service_webserver/api/v0/openapi.yaml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13474,10 +13474,12 @@ components:
1347413474
title: Inputs
1347513475
description: values of input properties
1347613476
inputsRequired:
13477-
items:
13478-
type: string
13479-
pattern: ^[-_a-zA-Z0-9]+$
13480-
type: array
13477+
anyOf:
13478+
- items:
13479+
type: string
13480+
pattern: ^[-_a-zA-Z0-9]+$
13481+
type: array
13482+
- type: 'null'
1348113483
title: Inputsrequired
1348213484
description: Defines inputs that are required in order to run the service
1348313485
inputsUnits:
@@ -13607,10 +13609,12 @@ components:
1360713609
title: Inputs
1360813610
description: values of input properties
1360913611
inputsRequired:
13610-
items:
13611-
type: string
13612-
pattern: ^[-_a-zA-Z0-9]+$
13613-
type: array
13612+
anyOf:
13613+
- items:
13614+
type: string
13615+
pattern: ^[-_a-zA-Z0-9]+$
13616+
type: array
13617+
- type: 'null'
1361413618
title: Inputsrequired
1361513619
description: Defines inputs that are required in order to run the service
1361613620
inputsUnits:

0 commit comments

Comments
 (0)