Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .changeset/warm-paths-glow.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
"@redocly/cli": minor
"@redocly/openapi-core": minor
---

Expand Down
6 changes: 3 additions & 3 deletions docs/@v2/rules/oas/no-http-verbs-in-paths.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ With the `splitIntoWords` option enabled, "posters" is identified as a resource
| -------------- | -------- | --------------------------------------------------------------------------------------------------------------------------- |
| severity | string | Possible values: `off`, `warn`, `error`. Default `off` (in `recommended` configuration). |
| splitIntoWords | boolean | Matches http verbs when the string is split into words based on casing. This can reduce false positives. Default **false**. |
| excludedPaths | [string] | List of paths to exclude from the check. Use exact path strings (e.g. `/token`). Default **[]**. |
| excludedPaths | [string] | List of paths to exclude from the check. Use exact path strings (e.g. `/get-signed-url` ). Default **[]**. |

An example configuration:

Expand All @@ -74,8 +74,8 @@ rules:
no-http-verbs-in-paths:
severity: error
excludedPaths:
- /token
- /oauth/callback
- /get-signed-url
- /oauth/postback
```

## Examples
Expand Down
Loading