Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(query): correct keyActualValue and keyExpectedValue for maxItems validation #7328

Merged

Conversation

cx-artur-ribeiro
Copy link
Contributor

Reason for Proposed Changes

  • Actual and Expected values are swapped.

Proposed Changes

  • Swap Actual and Expected values on query results.

I submit this contribution under the Apache-2.0 license.

@github-actions github-actions bot added the query New query feature label Feb 3, 2025
@cx-artur-ribeiro cx-artur-ribeiro self-assigned this Feb 3, 2025
@cx-artur-ribeiro cx-artur-ribeiro added the openapi OpenAPI query label Feb 3, 2025
Copy link
Contributor

github-actions bot commented Feb 3, 2025

kics-logo

KICS version: v2.1.4

Category Results
CRITICAL CRITICAL 0
HIGH HIGH 0
MEDIUM MEDIUM 0
LOW LOW 0
INFO INFO 0
TRACE TRACE 0
TOTAL TOTAL 0
Metric Values
Files scanned placeholder 1
Files parsed placeholder 1
Files failed to scan placeholder 0
Total executed queries placeholder 47
Queries failed to execute placeholder 0
Execution time placeholder 0

@cx-artur-ribeiro cx-artur-ribeiro marked this pull request as ready for review February 3, 2025 15:33
@cx-artur-ribeiro cx-artur-ribeiro requested a review from a team as a code owner February 3, 2025 15:33
Copy link
Contributor

@cx-eduardo-semanas cx-eduardo-semanas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@cx-rui-araujo cx-rui-araujo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cx-artur-ribeiro cx-artur-ribeiro merged commit 4297cc0 into master Feb 3, 2025
26 checks passed
@cx-artur-ribeiro cx-artur-ribeiro deleted the AST-70809-value_and_expected_value_swapped branch February 3, 2025 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
openapi OpenAPI query query New query feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants