Skip to content

Commit f6d1974

Browse files
author
Sophia Marie Terry
committed
Update to custom method and docs
1 parent 5c5b0d5 commit f6d1974

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tools/spectral/ipa/rulesets/IPA-109.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,6 @@ rules:
7373
- Confirms that the existing operationId is compliant with generated IPA Compliant OperationId
7474
message: '{{error}} https://mdb.link/mongodb-atlas-openapi-validation#xgen-IPA-109-valid-operation-id'
7575
severity: warn
76-
given: '$.paths[*]'
76+
given: '$.paths[*][*]'
7777
then:
7878
function: 'IPA109ValidOperationID'

tools/spectral/ipa/rulesets/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ Rule checks for the following conditions:
141141

142142
#### xgen-IPA-104-valid-operation-id
143143

144-
`off`
144+
![warn](https://img.shields.io/badge/warning-yellow)
145145
The Operation ID must start with the verb “get” and should be followed by a noun or compound noun.
146146
The noun(s) in the Operation ID should be the collection identifiers from the resource identifier in singular form.
147147
If the resource is a singleton resource, the last noun may be the plural form of the collection identifier.

0 commit comments

Comments
 (0)