Vladimír Gorej
21cfda392f
test(cypress): fix tests flakiness by stubbing httpbin.org requests ( #8410 )
...
Closes #8409
2023-02-23 16:15:44 +01:00
Vladimír Gorej
61642927b6
feat: integrate swagger-client@3.19.0-beta.6 ( #8405 )
...
Refs #8401
2023-02-23 12:28:43 +01:00
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
semantic-release-bot
eba8e36499
chore(release): cut the 4.16.0-alpha.3 release
...
# [4.16.0-alpha.3](https://github.com/swagger-api/swagger-ui/compare/v4.16.0-alpha.2...v4.16.0-alpha.3 ) (2023-02-15)
### Bug Fixes
* **ci-react:** add ga build step ([#8392 ](https://github.com/swagger-api/swagger-ui/issues/8392 )) ([0992c32 ](0992c320f1 ))
* **ci:** add ga --tag alpha for swagger-ui-react next ([#8391 ](https://github.com/swagger-api/swagger-ui/issues/8391 )) ([f3570bc ](f3570bc29d ))
2023-02-15 22:11:22 +00:00
Tim Lai
0992c320f1
fix(ci-react): add ga build step ( #8392 )
2023-02-15 11:36:01 -08:00
Tim Lai
f3570bc29d
fix(ci): add ga --tag alpha for swagger-ui-react next ( #8391 )
2023-02-15 10:54:32 -08:00
semantic-release-bot
369f118455
chore(release): cut the 4.16.0-alpha.2 release
...
# [4.16.0-alpha.2](https://github.com/swagger-api/swagger-ui/compare/v4.16.0-alpha.1...v4.16.0-alpha.2 ) (2023-02-15)
### Bug Fixes
* **ci:** add github actions build step ([#8390 ](https://github.com/swagger-api/swagger-ui/issues/8390 )) ([d3c86d5 ](d3c86d5395 ))
2023-02-15 18:46:36 +00:00
Tim Lai
d3c86d5395
fix(ci): add github actions build step ( #8390 )
2023-02-15 10:42:02 -08:00
Tim Lai
2fc78c7e3f
ci(release): update ga workflow to release swagger-ui-react ( #8387 )
2023-02-14 15:24:57 -08:00
semantic-release-bot
a22acf0e08
chore(release): cut the 4.16.0-alpha.1 release
...
# [4.16.0-alpha.1](https://github.com/swagger-api/swagger-ui/compare/v4.15.5...v4.16.0-alpha.1 ) (2023-02-14)
### Features
* OpenAPI 3.1 support ([#8367 ](https://github.com/swagger-api/swagger-ui/issues/8367 )) ([4557b24 ](4557b2497b ))
2023-02-14 23:13:26 +00:00
Tim Lai
c9c7177e2a
ci(release): merge workflow updates into 'next' branch ( #8386 )
2023-02-14 15:09:20 -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
a79f493145
BREAKING CHANGE: trigger major semver release from 'next' branch ( #8381 )
2023-02-13 11:29:55 -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
Tim Lai
4557b2497b
feat: OpenAPI 3.1 support ( #8367 )
...
- New top-level field - `webhooks`. This allows describing out-of-band webhooks that are available as part of the API.
- New top-level field - `jsonSchemaDialect`. This allows defining of a default `$schema` value for Schema Objects
- The Info Object has a new `summary` field.
- The License Object now has a new `identifier` field for SPDX licenses. This `identifier` field is mutually exclusive with the `url` field. Either can be used in OpenAPI 3.1 definitions.
- Components Object now has a new entry `pathItems`, to allow for reusable Path Item Objects to be defined within a valid OpenAPI document.
- `License` and `Contact` components are now exported and available via `getComponent`
- New version predicates and selectors for `isOpenAPI30` and `isOpenAPI31`. This avoids needing to change the usage of `isOAS3` selector.
- New OAS3 components: `Webhooks`
- New OAS3 wrapped components: `Info`, `License`
2023-02-03 14:06:56 -08: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