Commit Graph

5515 Commits

Author SHA1 Message Date
Tim Lai
aaf4843f69 ci(ga): add next branch to build and dependabot workflows (#8394) 2023-02-15 16:01:29 -08:00
Tim Lai
f9240717d7 ci(ga): copy ga workflows from next (#8393) 2023-02-15 15:54:56 -08:00
Tim Lai
33f2a0b804 ci(release): update npm token (#8385)
* ci(release): update github action for npm package

* ci(release): update npm token
2023-02-14 14:58:00 -08:00
Tim Lai
e2e2920eda ci(release): update github action for npm package (#8384) 2023-02-14 14:44:33 -08:00
Tim Lai
812403e08f ci(release): update ga for swagger-ui-react to npm publish (#8382) 2023-02-13 12:08:04 -08:00
Tim Lai
9fd26cdb83 ci(release): github actions to release next branch (#8380)
* swagger-ui
* swagger-ui-react
2023-02-13 11:09:59 -08:00
dependabot[bot]
fb2eefcaf6 chore(deps): bump @sideway/formula from 3.0.0 to 3.0.1 (#8375) 2023-02-09 00:46:32 +00:00
Vladimír Gorej
773a372f76 chore(SCA): remove all whitesource configs (#8371)
We've stopped using Whitesource as of 1st January 2023.
2023-02-06 11:14:23 +01:00
dependabot[bot]
718924bfde chore(deps): bump json5 and babel-plugin-module-resolver (#8369) 2023-02-03 05:17:10 +00:00
dependabot[bot]
b9d8668baf chore(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 (#8368) 2023-02-03 05:04:51 +00:00
dependabot[bot]
f3c6a2552d chore(deps): bump nginx from 1.23.2-alpine to 1.23.3-alpine (#8327) 2022-12-19 11:11:22 +00:00
Vladimír Gorej
f8f674004a ci(dependabot-merge): replace non-functioning merge action (#8306)
Refs https://github.com/ahmadnassri/action-dependabot-auto-merge/issues/166
2022-11-24 11:38:01 +01:00
dependabot[bot]
ab36a82b9f chore(deps): bump loader-utils from 1.4.1 to 1.4.2 (#8300) 2022-11-18 00:36:51 +00:00
swagger-bot
118ea1329c chore(release): cut the v4.15.5 release 2022-11-09 06:53:40 +00:00
Tim Lai
c858a266f4 chore: manually bump version from failed release (#8290) 2022-11-08 22:02:32 -08:00
Tim Lai
34b429744e fix(deps): move patch-package to prod deps for ci (#8288) 2022-11-08 19:34:30 -08:00
Tim Lai
6cbee7e80e revert(patch-package): temporarily remove postinstall hook (#8287) 2022-11-08 17:10:21 -08:00
dependabot[bot]
56b671d7d7 chore(deps): bump loader-utils from 1.4.0 to 1.4.1 (#8286) 2022-11-08 23:58:43 +00:00
swagger-bot
aea7886ed1 chore(release): cut the v4.15.3 release 2022-11-08 23:52:46 +00:00
Mathias Spanhove
ffe24d5a83 fix(try-it-out): reset of oas3 requestBody should use default values (#8265)
Co-authored-by: Mathias Spanhove <mathias.spanhove@katoennatie.com>
2022-11-08 15:23:19 -08:00
dependabot[bot]
0b8de2c179 chore(deps-dev): bump @babel/preset-env from 7.16.8 to 7.20.2 (#8279) 2022-11-07 19:14:21 +00:00
Florian Dreier
073c31a36a fix: remove IE7 star property hack in tachyons-sass via patch-package (#8266)
Fixes #8243

Co-authored-by: Tim Lai <timothy.lai@smartbear.com>
2022-11-07 11:06:02 -08:00
Andreas Born
7b0ac1ae28 fix: show client secret input for PKCE auth code flow (#8268)
* fix: show client secret input for PKCE auth code flow

PKCE and Client Secrets are allowed to coexist and neither is designed
as a replacement for the other. [1] It is wrong to assume that a client
secret must not or cannot be used in combination with PKCE. Quite the
opposite, when possible both PKCE and client secret should be used. [2]
So the premises of #6290 and #8146 are not correct.

Admittedly, for users of the PKCE mechanism WITHOUT a client secret it
might be a minor nuisance to see the client secret input in the Swagger
UI. But they can just leave it empty. On the other hand, for users of
the PKCE mechanism WITH a client secret it is more than just a nuisance
if the client secret input is not shown. The Swagger UI becomes unusable
for them (unless they've set a default value for the client secret,
which will be used hiddenly without being shown to the user).

Therefore the right course of action for now would be to revert #7438 to
show the client secret input always regardless of PKCE. In the future a
new flag could be introduced to hide the client secret input regardless
of the PKCE flag.

[1] https://oauth.net/2/pkce/
[2] https://www.oauth.com/oauth2-servers/pkce/

* docs: explain why client secret input is shown despite PKCE
2022-11-04 15:46:38 -07:00
dependabot[bot]
cced547006 chore(deps): bump react-syntax-highlighter from 15.4.5 to 15.5.0 (#8261) 2022-10-27 11:22:15 +00:00
dependabot[bot]
f346cfaeb9 chore(deps-dev): bump @babel/plugin-proposal-object-rest-spread (#8259) 2022-10-26 19:54:26 +00:00
swagger-bot
6ce623329e chore(release): cut the v4.15.2 release 2022-10-26 19:47:11 +00:00
Guillaume Tassery
b010b558f1 fix(ui): handle missing schema reference case for discriminant definitions (#8257)
Co-authored-by: Tim Lai <timothy.lai@gmail.com>
2022-10-26 12:14:28 -07:00
dependabot[bot]
0e8a0407fa chore(deps-dev): bump @babel/eslint-parser from 7.17.0 to 7.19.1 (#8258) 2022-10-26 11:38:30 +00:00
swagger-bot
a44840ca0d chore(release): cut the v4.15.1 release 2022-10-25 19:30:08 +00:00
ishuen
2a967e9b25 fix(parameters): allowedValues for enum and boolean types (#8231)
* Change parameter with empty map

* Change allowValues data type

Co-authored-by: Tim Lai <timothy.lai@smartbear.com>
2022-10-25 11:01:07 -07:00
dependabot[bot]
99ef4b9945 chore(deps-dev): bump express from 4.17.1 to 4.18.2 (#8253) 2022-10-25 11:31:39 +00:00
dependabot[bot]
8acb5d583f chore(deps-dev): bump terser-webpack-plugin from 5.3.1 to 5.3.6 (#8252) 2022-10-25 11:23:58 +00:00
Jack Kavanagh
5ffe93c3cd chore(deps): bump react-copy-to-clipboard and react-inspector for React 18 peer deps support (#8244)
Co-authored-by: Tim Lai <timothy.lai@smartbear.com>
2022-10-24 14:05:31 -07:00
kai-morich
94575666c3 fix(oauth2): only display scopes relevant for current endpoint (#8229)
* 'available authorization' popup: only show oauth2 scopes relevant for current endpoint (issue #8219)

* unit tests for oauth2 scope filter

Co-authored-by: Kai Morich <kai.morich@sap.com>
Co-authored-by: Tim Lai <timothy.lai@smartbear.com>
2022-10-24 13:37:49 -07:00
dependabot[bot]
95463759c6 chore(deps): bump nginx from 1.23.1-alpine to 1.23.2-alpine (#8247) 2022-10-24 11:15:49 +00:00
swagger-bot
2005a0c996 chore(release): cut the v4.15.0 release 2022-10-20 20:57:58 +00:00
Hunmin Park
a43ae1c804 fix(ui): change input line-height to prevent clipped characters (#8216)
Co-authored-by: Tim Lai <timothy.lai@smartbear.com>
2022-10-19 13:55:24 -07:00
Ahmed Yarub Hani Al Nuaimi
f5bb456ffa feat(example): set discriminated properties to mapped value (#8213) 2022-10-17 16:22:43 -07:00
Pompette
7936ec9fea fix(ui): alignment of markdown description in parameter/response columns (#8214) 2022-10-14 10:43:10 -07:00
Dan Wallis
130a1be133 feat(try-it-out): display validation error messages (#8212) 2022-10-14 09:36:13 -07:00
Anton Yakutovich
0a7b3d6b2f ci(nodejs.yml): refactor with single cache step (#8221) 2022-10-11 13:04:50 +02:00
swagger-bot
278dc05c88 chore(release): cut the v4.14.3 release 2022-10-11 09:13:18 +00:00
Vladimír Gorej
3524fdb2ef chore(security): use minimum 16.17.1-r0 in docker image (#8222) 2022-10-11 10:42:00 +02:00
swagger-bot
775d307d56 chore(release): cut the v4.14.2 release 2022-09-29 17:30:08 +00:00
Tim Lai
4b5d4bda96 fix(xml): render example with oneOf/anyOf (#8206)
* test(e2e): render xml example with oneOf/anyOf
2022-09-28 14:33:58 -07:00
dependabot[bot]
5558bc81f6 chore(deps): bump vm2 from 3.9.9 to 3.9.11 (#8204) 2022-09-28 13:47:36 +00:00
dependabot[bot]
30098e8530 chore(deps-dev): bump @babel/plugin-proposal-nullish-coalescing-operator (#8196) 2022-09-23 11:28:28 +00:00
swagger-bot
0b4426ab6c chore(release): cut the v4.14.1 release 2022-09-22 16:50:30 +00:00
dependabot[bot]
6afa9a02e1 chore(deps-dev): bump prettier from 2.5.1 to 2.7.1 (#8193) 2022-09-22 11:33:37 +00:00
An Tran
82e3290de4 docs(samples-webpack): updated config and dependencies (#8184) 2022-09-21 16:06:52 -07:00