Skip to content

Commit f923783

Browse files
IPA-112 fix for incorrect paths in the error messages
1 parent 6c00c98 commit f923783

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ rules:
2020
- Suggests using "group", "groups", or "groupId" as alternatives
2121
message: '{{error}} https://mdb.link/mongodb-atlas-openapi-validation#xgen-IPA-112-avoid-project-field-names'
2222
severity: warn
23+
resolved: false
2324
given:
2425
- '$.components.schemas..properties'
2526
- '$.paths..requestBody.content[?(@property.match(/json$/i))].schema..properties'
@@ -46,6 +47,7 @@ rules:
4647
- Reports any instances where these field names are not in camelCase format
4748
message: '{{error}} https://mdb.link/mongodb-atlas-openapi-validation#xgen-IPA-112-field-names-are-camel-case'
4849
severity: warn
50+
resolved: false
4951
given:
5052
- '$.components.schemas..properties'
5153
- '$.paths..requestBody.content[?(@property.match(/json$/i))].schema..properties'
@@ -64,6 +66,7 @@ rules:
6466
- Suggests using the direct adjective form instead (e.g., "disabled" instead of "isDisabled")
6567
message: '{{error}} https://mdb.link/mongodb-atlas-openapi-validation#xgen-IPA-112-boolean-field-names-avoid-is-prefix'
6668
severity: warn
69+
resolved: false
6770
given:
6871
- '$.components.schemas..properties'
6972
- '$.paths..requestBody.content[?(@property.match(/json$/i))].schema..properties'

0 commit comments

Comments
 (0)