Skip to content

Commit cc6cf59

Browse files
authored
Merge pull request #1099 from neuroglia-io/fix-allof-inheritance
Improve JSON Schema compatibility
2 parents e8e16c9 + b32b5e8 commit cc6cf59

File tree

84 files changed

+743
-725
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+743
-725
lines changed

.ci/validation/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export module SWSchemaValidator {
2424
const ajv = new Ajv({ strict: false, allowUnionTypes: true });
2525
addFormats(ajv);
2626

27-
const workflowSchemaId = "https://serverlessworkflow.io/schemas/1.0.0/workflow.yaml";
27+
const workflowSchemaId = "https://serverlessworkflow.io/schemas/1.0.1/workflow.yaml";
2828
const schemaPath = "../../../schema";
2929
export const defaultEncoding = "utf-8";
3030

.ci/validation/test/fixtures/invalid/extra-property-in-call.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
document:
2-
dsl: '1.0.0'
2+
dsl: '1.0.1'
33
namespace: examples
44
name: two-tasks-in-one-item
55
version: '0.1.0'

.ci/validation/test/fixtures/invalid/listen-any-until-any-until.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
document:
2-
dsl: '1.0.0'
2+
dsl: '1.0.1'
33
namespace: test
44
name: listen-to-any
55
version: '0.1.0'

.ci/validation/test/fixtures/invalid/two-tasks-in-one-item.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
document:
2-
dsl: '1.0.0'
2+
dsl: '1.0.1'
33
namespace: examples
44
name: two-tasks-in-one-item
55
version: '0.1.0'

ctk/features/branch.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Feature: Composite Task
88
Given a workflow with definition:
99
"""yaml
1010
document:
11-
dsl: '1.0.0'
11+
dsl: '1.0.1'
1212
namespace: default
1313
name: fork
1414
version: '1.0.0'

ctk/features/call.feature

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Feature: Call Task
1111
Given a workflow with definition:
1212
"""yaml
1313
document:
14-
dsl: '1.0.0'
14+
dsl: '1.0.1'
1515
namespace: default
1616
name: http-call-with-content-output
1717
version: '1.0.0'
@@ -40,7 +40,7 @@ Feature: Call Task
4040
Given a workflow with definition:
4141
"""yaml
4242
document:
43-
dsl: '1.0.0'
43+
dsl: '1.0.1'
4444
namespace: default
4545
name: http-call-with-response-output
4646
version: '1.0.0'
@@ -68,7 +68,7 @@ Feature: Call Task
6868
Given a workflow with definition:
6969
"""yaml
7070
document:
71-
dsl: '1.0.0'
71+
dsl: '1.0.1'
7272
namespace: default
7373
name: http-call-with-basic-auth
7474
version: '1.0.0'
@@ -98,7 +98,7 @@ Feature: Call Task
9898
Given a workflow with definition:
9999
"""yaml
100100
document:
101-
dsl: '1.0.0'
101+
dsl: '1.0.1'
102102
namespace: default
103103
name: openapi-call-with-content-output
104104
version: '1.0.0'
@@ -127,7 +127,7 @@ Feature: Call Task
127127
Given a workflow with definition:
128128
"""yaml
129129
document:
130-
dsl: '1.0.0'
130+
dsl: '1.0.1'
131131
namespace: default
132132
name: openapi-call-with-response-output
133133
version: '1.0.0'

ctk/features/data-flow.feature

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Feature: Data Flow
88
Given a workflow with definition:
99
"""yaml
1010
document:
11-
dsl: '1.0.0'
11+
dsl: '1.0.1'
1212
namespace: default
1313
name: output-filtering
1414
version: '1.0.0'
@@ -36,7 +36,7 @@ Feature: Data Flow
3636
Given a workflow with definition:
3737
"""yaml
3838
document:
39-
dsl: '1.0.0'
39+
dsl: '1.0.1'
4040
namespace: default
4141
name: output-filtering
4242
version: '1.0.0'
@@ -65,7 +65,7 @@ Feature: Data Flow
6565
Given a workflow with definition:
6666
"""yaml
6767
document:
68-
dsl: '1.0.0'
68+
dsl: '1.0.1'
6969
namespace: default
7070
name: non-object-output
7171
version: '1.0.0'

ctk/features/do.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Feature: Composite Task
88
Given a workflow with definition:
99
"""yaml
1010
document:
11-
dsl: '1.0.0'
11+
dsl: '1.0.1'
1212
namespace: default
1313
name: do
1414
version: '1.0.0'

ctk/features/emit.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Feature: Emit Task
88
Given a workflow with definition:
99
"""yaml
1010
document:
11-
dsl: '1.0.0'
11+
dsl: '1.0.1'
1212
namespace: default
1313
name: emit
1414
version: '1.0.0'

ctk/features/flow.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Feature: Flow Directive
77
Given a workflow with definition:
88
"""yaml
99
document:
10-
dsl: '1.0.0'
10+
dsl: '1.0.1'
1111
namespace: default
1212
name: implicit-sequence
1313
version: '1.0.0'
@@ -35,7 +35,7 @@ Feature: Flow Directive
3535
Given a workflow with definition:
3636
"""yaml
3737
document:
38-
dsl: '1.0.0'
38+
dsl: '1.0.1'
3939
namespace: default
4040
name: explicit-sequence
4141
version: '1.0.0'

0 commit comments

Comments
 (0)