Commit Graph

19 Commits

Author SHA1 Message Date
adamsosterics
04493ba933
feat: show sets of required scopes correctly
It is possible to define alternative required scopes for an operation
and in the security header of the operation it is rendered correctly.
However, in the "Required scopes" part it looks like that all these scopes are required.
With these changes, the "Required scopes" part shows the required scopes per set.

See: https://github.com/OAI/OpenAPI-Specification/discussions/3001#discussioncomment-3456275
2025-09-23 11:30:22 +02:00
Alex Varchuk
1f11f597c4
chore: fix vulnerabilities and upgrade deps (#2445)
* chore: fix vulnerabilities and upgrade deps

* chore: use old version of cypress

* fix: additional vulnerabilities
2024-04-24 15:48:02 +03:00
Oprysk Viacheslav
76edc15939
fix: react18 cli integration (#2404)
* fix: react18 cli integration

* fix: update unit tests snapshots
2023-09-08 10:51:39 +03:00
Alex Varchuk
428fd6983d
fix: handle error if security scopes is invalid (#2113) 2022-08-02 13:52:15 +03:00
Anastasiia Derymarko
49cc11d917
feat: add hideSecuritySection option allowing to disable the Security panel (#2027) 2022-05-31 13:20:23 +03:00
Anastasiia Derymarko
a863302cc8
feat: remove auth section (#2022) 2022-05-30 18:55:39 +03:00
Josh
ab3e8a8f80
fix: move comma out of code block in SecurityRequirement.tsx (#1924) 2022-03-23 12:12:30 +02:00
Eli$
ac6fb458a4
use x-displayName in securityDefinitions (#1444)
Co-authored-by: elis-k <53352199+elis-k@users.noreply.github.com>
Co-authored-by: AlexVarchuk <olexandr.varchuk@gmail.com>
2022-03-15 15:47:22 +02:00
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
Gabriel Simon Gianotti
8e75f9929b
chore: remove commented out code (#1768) 2021-10-11 17:30:59 +03:00
Valdir Mendes
9e1ea703e5
fix: handle empty object in security array (#1678) 2021-07-30 11:18:13 +03:00
Roman Hotsiy
84ab95ddc7
fix: make schema layout more responsive on small screen (#1411) 2020-10-13 16:21:36 +03:00
Roman Hotsiy
0dd1c800c1
chore: update deps + fix deprecation warnings 2018-08-24 12:27:53 +03:00
Roman Hotsiy
528b8fbebc
chore: prettier all 2018-08-18 16:23:33 +03:00
Roman Hotsiy
43a22f5531
chore: refactor links 2018-08-17 14:54:28 +03:00
Roman Hotsiy
eae11682b8
chore: sections/markdown refactor 2018-08-16 09:56:47 +03:00
Roman Hotsiy
d13fe13eb8
fix: fix auth requirements font size 2018-08-09 08:53:35 +03:00
Roman Hotsiy
f96c481b34
fix: wrong display when combining multiple auth requirements
fies #577
2018-07-25 13:11:26 +03:00
Roman Hotsiy
59e05fbe75
chore: fix typo SecurityRequirement
fixes #571
2018-07-23 11:20:56 +03:00