diff --git a/server/gx-workflow-ls-format2/src/profiles.ts b/server/gx-workflow-ls-format2/src/profiles.ts index c925738..5e621c4 100644 --- a/server/gx-workflow-ls-format2/src/profiles.ts +++ b/server/gx-workflow-ls-format2/src/profiles.ts @@ -36,7 +36,7 @@ export class GxFormat2IWCValidationProfile extends IWCCommonValidationProfile { new RequiredPropertyValidationRule( "doc", true, - DiagnosticSeverity.Error, + DiagnosticSeverity.Warning, "The workflow is not documented. Documenting workflows helps users understand the purpose of the workflow." ), new InputTypeValidationRule(DiagnosticSeverity.Error), diff --git a/server/gx-workflow-ls-native/src/profiles.ts b/server/gx-workflow-ls-native/src/profiles.ts index 1a44e6e..50f0a52 100644 --- a/server/gx-workflow-ls-native/src/profiles.ts +++ b/server/gx-workflow-ls-native/src/profiles.ts @@ -33,7 +33,7 @@ export class NativeIWCValidationProfile extends IWCCommonValidationProfile { new RequiredPropertyValidationRule( "annotation", true, - DiagnosticSeverity.Error, + DiagnosticSeverity.Warning, "The workflow is not annotated. Annotating workflows helps users understand the purpose of the workflow." ), new WorkflowOutputLabelValidationRule(DiagnosticSeverity.Error), diff --git a/server/packages/server-common/src/providers/validation/profiles.ts b/server/packages/server-common/src/providers/validation/profiles.ts index 53046e4..5e3cc4b 100644 --- a/server/packages/server-common/src/providers/validation/profiles.ts +++ b/server/packages/server-common/src/providers/validation/profiles.ts @@ -47,13 +47,13 @@ export class IWCCommonValidationProfile implements ValidationProfile { new RequiredPropertyValidationRule( "creator", true, - DiagnosticSeverity.Error, + DiagnosticSeverity.Warning, "The workflow does not specify a creator." ), new RequiredPropertyValidationRule( "license", true, - DiagnosticSeverity.Error, + DiagnosticSeverity.Warning, "The workflow does not specify a license." ), // Add more common rules here...