-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ec45477
commit c56210e
Showing
1 changed file
with
3 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -429,11 +429,10 @@ rules: | |
description: Patch on a path that does not end with a path parameter is uncommon. | ||
severity: info | ||
formats: ['oas2', 'oas3'] | ||
given: $.paths[*].patch^~ | ||
given: $.paths[?([email protected](/\}']$/))] | ||
then: | ||
function: pattern | ||
functionOptions: | ||
match: '/\}$/' | ||
field: patch | ||
function: falsy | ||
|
||
# Static path segments should be kebab-case | ||
az-path-case-convention: | ||
|