spectral:arazzo hint on by default

arazzo-workflow-summary

Workflow "summary" should be present and non-empty string.

Applies to
summary
Selects
$.workflows[*]
Function
truthy
Specs
Arazzo 1.0

Use it

This rule ships with OpenLint in spectral:arazzo. Extending the ruleset turns it on:

extends: spectral:arazzo
rules:
  arazzo-workflow-summary: hint   # or off, or another severity

Definition

As defined in @openlint/openlint-rulesets. Functions show by name.

arazzo-workflow-summary:
  description: Workflow "summary" should be present and non-empty string.
  severity: hint
  given: '$.workflows[*]'
  then:
    field: summary
    function: truthy

About this rule

In order to improve consumer experience, Workflow summary should be present and a non-empty string.

Recommend: Yes

Sources