Skip to content

Commit b9ed27c

Browse files
author
Tihomir Surdilovic
authored
Merge pull request #49 from tsurdilo/removedataschemaprops
removing data schema props
2 parents 791926c + 46afd45 commit b9ed27c

File tree

4 files changed

+0
-30
lines changed

4 files changed

+0
-30
lines changed

api/src/main/java/io/serverlessworkflow/api/interfaces/State.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,6 @@ public interface State {
4040

4141
StateDataFilter getStateDataFilter();
4242

43-
String getDataInputSchema();
44-
45-
String getDataOutputSchema();
46-
4743
Transition getTransition();
4844

4945
List<Error> getOnErrors();

api/src/main/java/io/serverlessworkflow/api/serializers/WorkflowSerializer.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -75,16 +75,6 @@ public void serialize(Workflow workflow,
7575
workflow.getSchemaVersion());
7676
}
7777

78-
if (workflow.getDataInputSchema() != null && !workflow.getDataInputSchema().isEmpty()) {
79-
gen.writeObjectField("dataInputSchema",
80-
workflow.getDataInputSchema());
81-
}
82-
83-
if (workflow.getDataOutputSchema() != null && !workflow.getDataOutputSchema().isEmpty()) {
84-
gen.writeObjectField("dataOutputSchema",
85-
workflow.getDataOutputSchema());
86-
}
87-
8878
if (workflow.getExecTimeout() != null) {
8979
gen.writeObjectField("execTimeout", workflow.getExecTimeout());
9080
}

api/src/main/resources/schema/states/defaultstate.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,6 @@
4949
"transition": {
5050
"$ref": "../transitions/transition.json"
5151
},
52-
"dataInputSchema": {
53-
"type": "string",
54-
"description": "URI to JSON Schema that state data input adheres to"
55-
},
56-
"dataOutputSchema": {
57-
"type": "string",
58-
"description": "URI to JSON Schema that state data output adheres to"
59-
},
6052
"onErrors": {
6153
"type": "array",
6254
"description": "State error handling definitions",

api/src/main/resources/schema/workflow.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,6 @@
3131
"type": "string",
3232
"description": "Serverless Workflow schema version"
3333
},
34-
"dataInputSchema": {
35-
"type": "string",
36-
"description": "URI to JSON Schema that workflow data input adheres to"
37-
},
38-
"dataOutputSchema": {
39-
"type": "string",
40-
"description": "URI to JSON Schema that workflow data output adheres to"
41-
},
4234
"execTimeout": {
4335
"description": "Workflow execution timeout",
4436
"$ref": "exectimeout/exectimeout.json"

0 commit comments

Comments
 (0)