redoc/src/common-elements
Oprysk Vyacheslav b604bd8da8
fix: exclusiveMin/Max shows incorect range (#1799)
* fix: exclusiveMin/Max shows incorect range

* cover all number range cases & add unit tests

* add more tests

* fix maximum value

* simplify humanizeNumberRange function

* simplify exclusive checks

* Update src/utils/openapi.ts

Co-authored-by: Roman Hotsiy <gotsijroman@gmail.com>

* update test coverage

* linting

* revert weird prettier changes

* add md files to prettier ignore

Co-authored-by: Roman Hotsiy <gotsijroman@gmail.com>
2021-11-24 16:47:24 +02:00
..
CopyButtonWrapper.tsx fix: make sample controls focusable 2020-07-13 11:29:53 +03:00
dropdown.ts fix: exclusiveMin/Max shows incorect range (#1799) 2021-11-24 16:47:24 +02:00
fields-layout.ts chore: run prettier & add husky pre-commit hook (#1800) 2021-11-24 16:11:45 +02:00
fields.ts feat: add basic support openApi 3.1 (#1622) 2021-05-31 19:23:05 +03:00
headers.ts feat: add lineHeight config for headings (#894) 2019-04-19 11:31:50 +03:00
index.ts fix: various search fixes 2018-03-05 17:48:34 +02:00
linkify.tsx chore: run prettier & add husky pre-commit hook (#1800) 2021-11-24 16:11:45 +02:00
mixins.ts fix: increase colors contrast to make them more accessible (#1433) 2020-10-27 10:44:06 +02:00
panels.ts fix: remove excessive whitespace between md sections on small screens 2019-09-30 13:10:35 +03:00
perfect-scrollbar.tsx chore: run prettier & add husky pre-commit hook (#1800) 2021-11-24 16:11:45 +02:00
PrismDiv.tsx fix: increase colors contrast to make them more accessible (#1433) 2020-10-27 10:44:06 +02:00
samples.tsx fix: increase colors contrast to make them more accessible (#1433) 2020-10-27 10:44:06 +02:00
schema.ts fix: make elements accessible by keyboard navigation tools (#1339) 2020-08-04 12:19:01 +03:00
shelfs.tsx fix: fix arrow color in responses (#1452) 2020-11-05 15:22:42 +02:00
tabs.ts feat: add tabTextColor option for responses (#1451) 2020-11-05 15:23:05 +02:00
Tooltip.tsx fix: theme improvments by @stasiukanya 2018-11-27 12:07:52 +02:00