File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 14
14
15
15
package builder
16
16
17
- import "github.com/serverlessworkflow/sdk-go/v4/graph"
17
+ import (
18
+ "github.com/serverlessworkflow/sdk-go/v4/graph"
19
+ "github.com/serverlessworkflow/sdk-go/v4/internal/dsl"
20
+ )
18
21
19
22
type DocumentBuilder struct {
20
23
root * graph.Node
@@ -68,6 +71,6 @@ func NewDocumentBuilder(root *graph.Node) *DocumentBuilder {
68
71
documentBuilder := & DocumentBuilder {
69
72
root : root ,
70
73
}
71
- documentBuilder .SetDSL ("1.0.0-alpha1" )
74
+ documentBuilder .SetDSL (dsl . DSLVersion )
72
75
return documentBuilder
73
76
}
Original file line number Diff line number Diff line change 14
14
15
15
package dsl
16
16
17
+ const DSLVersion = "1.0.0-alpha1"
17
18
const DSLSpec = `
18
19
$id: https://serverlessworkflow.io/schemas/1.0.0-alpha1/workflow.yaml
19
20
$schema: https://json-schema.org/draft/2020-12/schema
You can’t perform that action at this time.
0 commit comments