Skip to content

Commit a69ec80

Browse files
CLOUDP-306579: IPA-124: Repeated Fields (fix) (#667)
1 parent fe9af1a commit a69ec80

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

.github/workflows/optional-spec-validations.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,10 @@ jobs:
6161
env: ${{ inputs.env }}
6262
task_name: 'Optional Postman validation'
6363
team_id: ${{ vars.JIRA_TEAM_ID_APIX_1 }}
64-
secrets:
65-
jira_api_token: ${{ secrets.JIRA_API_TOKEN }}
6664
- name: Create Issue - IPA validation Failed
6765
if: ${{ failure() && steps.ipa-spectral-validation.outcome == 'failure'}}
6866
uses: ./.github/workflows/task-failure-handler.yml
6967
with:
7068
env: ${{ inputs.env }}
7169
task_name: 'Optional IPA validation'
7270
team_id: ${{ vars.JIRA_TEAM_ID_APIX_1 }}
73-
secrets:
74-
jira_api_token: ${{ secrets.JIRA_API_TOKEN }}

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)