Skip to content

Commit

Permalink
fix(query): correct keyActualValue and keyExpectedValue for maxItems …
Browse files Browse the repository at this point in the history
…validation (#7328)
  • Loading branch information
ArturRibeiro-CX authored Feb 3, 2025
1 parent 3f5c065 commit 4297cc0
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ CxPolicy[result] {
"documentId": doc.id,
"searchKey": sprintf("%s.type", [openapi_lib.concat_path(path)]),
"issueType": "MissingAttribute",
"keyActualValue": "Array schema has 'maxItems' set",
"keyExpectedValue": "Array schema has 'maxItems' undefined",
"keyExpectedValue": "Array schema has 'maxItems' set",
"keyActualValue": "Array schema has 'maxItems' undefined",
"searchLine": common_lib.build_search_line(path, []) ,
"overrideKey": version,
}
Expand All @@ -37,8 +37,8 @@ CxPolicy[result] {
"documentId": doc.id,
"searchKey": sprintf("%s.type", [openapi_lib.concat_path(path)]),
"issueType": "MissingAttribute",
"keyActualValue": "Array schema has 'maxItems' set",
"keyExpectedValue": "Array schema has 'maxItems' undefined",
"keyExpectedValue": "Array schema has 'maxItems' set",
"keyActualValue": "Array schema has 'maxItems' undefined",
"searchLine": common_lib.build_search_line(path, []) ,
"overrideKey": version,
}
Expand Down

0 comments on commit 4297cc0

Please sign in to comment.