Skip to content

Commit b349fe6

Browse files
committed
#140 Update workflow schema reference from site
Signed-off-by: manick02 <[email protected]>
1 parent f20fc84 commit b349fe6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

editor.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,14 +214,14 @@ <h5 class="card-title">
214214

215215
"}"
216216
].join('\n');
217-
var modelUri = monaco.Uri.parse("https://raw.githubusercontent.com/serverlessworkflow/specification/0.8.x/schema/workflow.json");
217+
var modelUri = monaco.Uri.parse("https://serverlessworkflow.io/schemas/0.8/workflow.json");
218218
var model = monaco.editor.createModel(JSON.stringify(helloWorldExample, null, 2), "json", modelUri);
219219

220220
// configure the JSON language support with schemas and schema associations
221221
monaco.languages.json.jsonDefaults.setDiagnosticsOptions({
222222
validate: true, allowComments: false,
223223
schemas: [{
224-
uri: "https://raw.githubusercontent.com/serverlessworkflow/specification/0.8.x/schema/workflow.json",
224+
uri: "https://serverlessworkflow.io/schemas/0.8/workflow.json",
225225
fileMatch: [modelUri.toString()]
226226
}], enableSchemaRequest: true
227227
});

0 commit comments

Comments
 (0)