Skip to content

Commit b0172b8

Browse files
committed
Add string as anyOf
Signed-off-by: Ricardo Zanini <ricardozanini@gmail.com>
1 parent e7da821 commit b0172b8

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

schema/workflow.yaml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1188,13 +1188,21 @@ $defs:
11881188
title: ExpressionErrorInstance
11891189
description: An expression based error instance.
11901190
title:
1191-
$ref: '#/$defs/runtimeExpression'
1192-
title: ErrorTitle
11931191
description: A short, human-readable summary of the error.
1192+
title: ErrorTitle
1193+
anyOf:
1194+
- $ref: '#/$defs/runtimeExpression'
1195+
title: ExpressionErrorTitle
1196+
- type: string
1197+
title: LiteralErrorTitle
11941198
detail:
1195-
$ref: '#/$defs/runtimeExpression'
11961199
title: ErrorDetails
11971200
description: A human-readable explanation specific to this occurrence of the error.
1201+
anyOf:
1202+
- $ref: '#/$defs/runtimeExpression'
1203+
title: ExpressionErrorDetails
1204+
- type: string
1205+
title: LiteralErrorDetails
11981206
required: [ type, status ]
11991207
errorFilter:
12001208
type: object

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy