Skip to content

Commit

Permalink
fix(rulesets): remove step summary rule
Browse files Browse the repository at this point in the history
  • Loading branch information
frankkilcommins committed Sep 16, 2024
1 parent f3d548c commit 80b9a78
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 16 deletions.
6 changes: 0 additions & 6 deletions docs/reference/arazzo-rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,12 +275,6 @@ In order to improve consumer experience, Step `description` should be present an

**Recommend:** Yes

### arazzo-step-summary

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

**Recommend:** Yes

### arazzo-step-operationPath

It is recommended to use `operationId` rather than `operationPath` within a step to reference an API operation.
Expand Down
2 changes: 1 addition & 1 deletion packages/rulesets/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stoplight/spectral-rulesets",
"version": "1.20.1",
"version": "1.20.2",
"homepage": "https://github.com/stoplightio/spectral",
"bugs": "https://github.com/stoplightio/spectral/issues",
"author": "Stoplight <[email protected]>",
Expand Down
9 changes: 0 additions & 9 deletions packages/rulesets/src/arazzo/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,15 +202,6 @@ export default {
function: truthy,
},
},
'arazzo-step-summary': {
description: 'Step "summary" is recommended to be present and a non-empty string.',
severity: 'hint',
given: '$.workflows[*].steps[*]',
then: {
field: 'summary',
function: truthy,
},
},
'arazzo-step-stepId': {
description: 'Step "stepId" should follow the pattern "^[A-Za-z0-9_\\-]+$".',
severity: 'warn',
Expand Down

0 comments on commit 80b9a78

Please sign in to comment.