fix: Consistent usage of ≤ and ≥ when displaying min/max attributes #10159
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
See the screenshots below. When displaying min/max attributes of schema properties, the schema renderer used a mix of
≤ ≥
and>= <=
characters. This inconsistency was bugging me, so I changed all uses to≤ ≥
. (If you prefer>= <=
, let me know and I'll update the PR.)OpenAPI spec for testing: https://gist.githubusercontent.com/hkosova/dc9ea2c285b61cd36a5ec8eb18b43676/raw/7defc7378734e7494d7ec3a2bf0928bc7fe9ff48/min-max.yaml
Motivation and Context
Consistency.
How Has This Been Tested?
Tested manually by comparing visual appearance before and after the change.
Screenshots (if appropriate):
Before:
After:
Checklist
My PR contains...
src/
is unmodified: changes to documentation, CI, metadata, etc.)package.json
)My changes...
Documentation
Automated tests