Skip to content

Commit 1cec2bb

Browse files
committed
must be nullable
1 parent e9ee94c commit 1cec2bb

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
@@ -13782,10 +13782,12 @@ components:
1378213782
title: Inputs
1378313783
description: values of input properties
1378413784
inputsRequired:
13785-
items:
13786-
type: string
13787-
pattern: ^[-_a-zA-Z0-9]+$
13788-
type: array
13785+
anyOf:
13786+
- items:
13787+
type: string
13788+
pattern: ^[-_a-zA-Z0-9]+$
13789+
type: array
13790+
- type: 'null'
1378913791
title: Inputsrequired
1379013792
description: Defines inputs that are required in order to run the service
1379113793
inputsUnits:
@@ -13915,10 +13917,12 @@ components:
1391513917
title: Inputs
1391613918
description: values of input properties
1391713919
inputsRequired:
13918-
items:
13919-
type: string
13920-
pattern: ^[-_a-zA-Z0-9]+$
13921-
type: array
13920+
anyOf:
13921+
- items:
13922+
type: string
13923+
pattern: ^[-_a-zA-Z0-9]+$
13924+
type: array
13925+
- type: 'null'
1392213926
title: Inputsrequired
1392313927
description: Defines inputs that are required in order to run the service
1392413928
inputsUnits:

0 commit comments

Comments
 (0)