Skip to content

Commit 528419b

Browse files
CLOUDP-306579: IPA-124: Repeated Fields (fix)
1 parent fe9af1a commit 528419b

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

tools/spectral/ipa/__tests__/IPA124ArrayMaxItems.test.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,15 @@ testRule('xgen-IPA-124-array-max-items', [
5757
type: 'object',
5858
},
5959
},
60+
mapProperty: {
61+
type: 'object',
62+
additionalProperties: {
63+
type: 'array',
64+
items: {
65+
type: 'string',
66+
},
67+
},
68+
},
6069
},
6170
},
6271
},

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,4 @@ rules:
2929
ignore:
3030
- links
3131
- results
32+
- additionalProperties

0 commit comments

Comments
 (0)