Skip to content

Conversation

@AlbinaBlazhko17
Copy link

@AlbinaBlazhko17 AlbinaBlazhko17 commented Oct 29, 2025

What issue does this pull request resolve?
Resolves #1610

What changes did you make?

  • Changed limitNumbers.ts functionality to trigger only for minimum and maximum keywords. However, kwdOp function will check if boolean exclusiveMinimum/exclusiveMaximum exists in parent and return proper validation operation.
  • Added limitNumberExclusive.ts file to trigger only when exclusiveMinimum/exclusiveMaximum provided.
  • Removed irrelevant tests due to draft-04 doesn't support resolving $data in runtime.

Is there anything that requires more attention while reviewing?

@AlbinaBlazhko17
Copy link
Author

Ran tests in ajv and tested this version in CLI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Lint rules for examples require exclusiveMinimum to be number in openapi 3.0.x

2 participants