Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from swagger-api:master #533

Open
wants to merge 1,630 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1630 commits
Select commit Hold shift + click to select a range
cebccaa
chore(deps-dev): bump postcss-preset-env from 9.5.0 to 9.5.1 (#9695)
dependabot[bot] Mar 14, 2024
37e2c27
chore(deps): bump follow-redirects from 1.15.4 to 1.15.6 (#9704)
dependabot[bot] Mar 16, 2024
95feee2
chore(deps-dev): bump @commitlint/cli from 19.1.0 to 19.2.0 (#9701)
dependabot[bot] Mar 16, 2024
b4b42ac
chore(deps-dev): bump postcss-preset-env from 9.5.1 to 9.5.2 (#9706)
dependabot[bot] Mar 18, 2024
24c0165
chore(deps-dev): bump postcss from 8.4.35 to 8.4.36 (#9708)
dependabot[bot] Mar 18, 2024
f91ca82
chore(deps-dev): bump eslint-plugin-react from 7.34.0 to 7.34.1 (#9707)
dependabot[bot] Mar 18, 2024
ac4c853
chore(deps-dev): bump @babel/eslint-parser from 7.23.10 to 7.24.1 (#9…
dependabot[bot] Mar 19, 2024
a2daeda
chore(deps-dev): bump @babel/plugin-transform-runtime (#9716)
dependabot[bot] Mar 19, 2024
6bb810a
chore(deps-dev): bump @babel/core from 7.24.0 to 7.24.1 (#9715)
dependabot[bot] Mar 19, 2024
8edca10
chore(deps): bump dompurify from 3.0.9 to 3.0.10 (#9720)
dependabot[bot] Mar 20, 2024
b3fb525
chore(deps-dev): bump @babel/preset-react from 7.23.3 to 7.24.1 (#9721)
dependabot[bot] Mar 20, 2024
7c4fa83
chore(deps-dev): bump webpack-dev-server from 5.0.3 to 5.0.4 (#9719)
dependabot[bot] Mar 20, 2024
99724a1
chore(deps-dev): bump @commitlint/cli from 19.2.0 to 19.2.1 (#9725)
dependabot[bot] Mar 21, 2024
b928c09
chore(deps-dev): bump express from 4.18.3 to 4.19.1 (#9727)
dependabot[bot] Mar 21, 2024
a2fdae9
chore(deps-dev): bump webpack from 5.90.3 to 5.91.0 (#9726)
dependabot[bot] Mar 21, 2024
ec4e982
chore(deps): bump @braintree/sanitize-url from 7.0.0 to 7.0.1 (#9736)
dependabot[bot] Mar 22, 2024
9694620
chore(deps-dev): bump cypress from 13.7.0 to 13.7.1 (#9735)
dependabot[bot] Mar 22, 2024
bf65c4e
chore(deps-dev): bump cssnano from 6.1.0 to 6.1.1 (#9737)
dependabot[bot] Mar 22, 2024
0dc3c7c
chore(deps): bump dompurify from 3.0.10 to 3.0.11 (#9741)
dependabot[bot] Mar 25, 2024
357dff3
chore(deps-dev): bump autoprefixer from 10.4.18 to 10.4.19 (#9742)
dependabot[bot] Mar 25, 2024
8225cfd
chore(deps-dev): bump @babel/cli from 7.23.9 to 7.24.1 (#9743)
dependabot[bot] Mar 25, 2024
b2e673d
fix(try-it-out): fix issues related to building requests from paramet…
glowcloud Mar 26, 2024
3afed64
chore(deps-dev): bump express from 4.19.1 to 4.19.2 (#9747)
dependabot[bot] Mar 26, 2024
7101272
fix: fix failed v5.12.1 release (#9748)
char0n Mar 26, 2024
fd90a68
chore: fix latest release version (#9750)
char0n Mar 26, 2024
b2cf964
chore(release): cut the v5.12.2 release
swagger-bot Mar 26, 2024
024734a
chore(deps): bump @babel/runtime-corejs3 from 7.24.0 to 7.24.1 (#9752)
dependabot[bot] Mar 26, 2024
3e73e5c
chore(deps-dev): bump @babel/plugin-transform-runtime (#9753)
dependabot[bot] Mar 26, 2024
a82f644
chore(deps-dev): bump cssnano from 6.1.1 to 6.1.2 (#9751)
dependabot[bot] Mar 26, 2024
c002e59
fix(json-schema-2020-12-samples): fix constraints for integer example…
glowcloud Mar 26, 2024
7f4e480
chore(release): cut the v5.12.3 release
swagger-bot Mar 27, 2024
a593658
chore(deps-dev): bump @babel/core from 7.24.1 to 7.24.3 (#9758)
dependabot[bot] Mar 27, 2024
8668ad0
chore(deps-dev): bump postcss from 8.4.36 to 8.4.38 (#9759)
dependabot[bot] Mar 27, 2024
3a78973
chore(deps-dev): bump @babel/preset-env from 7.24.0 to 7.24.3 (#9757)
dependabot[bot] Mar 27, 2024
c0e3eb6
docs: remove repetitive word in docs (#9764)
shandongbinzhou Mar 29, 2024
6a493fb
feat(plugins): expose JSON Schema merging mechanism from samples plug…
glowcloud Mar 29, 2024
8086d97
fix(oas3): fix getting initial values for request body in OpenAPI 3.x…
glowcloud Mar 29, 2024
ed983eb
fix(oas3): add support for oneOf/anyOf JSON Schema keywords in reques…
glowcloud Mar 29, 2024
65e4f23
chore(release): cut the v5.13.0 release
swagger-bot Mar 29, 2024
f3e3b4a
chore(deps-dev): bump html-webpack-skip-assets-plugin (#9768)
dependabot[bot] Apr 1, 2024
407b851
chore(deps-dev): bump local-web-server from 5.3.1 to 5.3.3 (#9769)
dependabot[bot] Apr 1, 2024
1735ea8
chore(deps-dev): bump postcss-preset-env from 9.5.2 to 9.5.3 (#9770)
dependabot[bot] Apr 1, 2024
a0b164b
chore(deps-dev): bump cypress from 13.7.1 to 13.7.2 (#9772)
dependabot[bot] Apr 3, 2024
3110954
chore(deps-dev): bump postcss-preset-env from 9.5.3 to 9.5.4 (#9773)
dependabot[bot] Apr 3, 2024
cf13000
chore(deps-dev): bump @babel/preset-env from 7.24.3 to 7.24.4 (#9777)
dependabot[bot] Apr 4, 2024
5e95ffa
chore(deps): bump @babel/runtime-corejs3 from 7.24.1 to 7.24.4 (#9779)
dependabot[bot] Apr 4, 2024
086ffeb
chore(deps-dev): bump @babel/core from 7.24.3 to 7.24.4 (#9778)
dependabot[bot] Apr 4, 2024
4a5a879
chore(deps): bump swagger-client from 3.26.4 to 3.26.5 (#9780)
dependabot[bot] Apr 5, 2024
f844319
chore(deps-dev): bump sass from 1.72.0 to 1.74.1 (#9781)
dependabot[bot] Apr 5, 2024
7260005
feat: consolidate syntax highlighting code into standalone plugin (#9…
char0n Apr 5, 2024
ac0d2a3
refactor(syntax-highlighting): use component wrapping for syntax high…
char0n Apr 5, 2024
a94dd28
fix(docker): fix CVE-2024-27983 related to Node.js (#9786)
char0n Apr 8, 2024
7bcf090
chore(release): cut the v5.14.0 release
swagger-bot Apr 8, 2024
af538a3
chore(deps): bump dependabot/fetch-metadata from 1.6.0 to 2.0.0 (#9729)
dependabot[bot] Apr 8, 2024
111e420
fix(oas31): allow override names of top level schemas (#9787)
char0n Apr 8, 2024
6e91056
chore(deps): bump dompurify from 3.0.11 to 3.1.0 (#9789)
dependabot[bot] Apr 8, 2024
1267c04
chore(deps-dev): bump eslint-plugin-jest from 27.9.0 to 28.2.0 (#9793)
dependabot[bot] Apr 9, 2024
7db9c98
feat(json-schema-2020-12-sample): introduce option API (#9795)
char0n Apr 9, 2024
b6b0d28
fix(json-schema-2020-12-samples): apply string constraints sensibly (…
char0n Apr 9, 2024
3bea389
fix(oas3): compensate for JSON Schemas left unresolved by swagger-cli…
glowcloud Apr 10, 2024
13aa3bf
chore(release): cut the v5.15.0 release
swagger-bot Apr 10, 2024
46c849b
docs(configuration): fix wrong syntaxHighlight option name (#9776)
danielkaneider Apr 10, 2024
3b72ee1
refactor: consolidate all JSON Schema 5 rendering code into json-sche…
char0n Apr 10, 2024
0f395c2
fix(spec): format validation errors for nested parameters (#9775)
glowcloud Apr 10, 2024
6160b10
refactor(json-schema-2020-12-samples): design formatAPI consistent wi…
twankamp Apr 11, 2024
1fb274a
chore(release): cut the v5.15.1 release
swagger-bot Apr 11, 2024
4070982
chore(deps-dev): bump css-loader from 6.10.0 to 7.1.1 (#9801)
dependabot[bot] Apr 11, 2024
1a22b31
chore(deps-dev): bump dedent from 1.5.1 to 1.5.3 (#9803)
dependabot[bot] Apr 11, 2024
9e02f47
fix(try-it-out): fix objects in arrays being stringified twice when b…
glowcloud Apr 11, 2024
52c4b95
fix(utils): make URL search params parsing and serialization WHATWG U…
glowcloud Apr 11, 2024
675d94d
test: fix typos in test descriptions (#9802)
hugehope Apr 12, 2024
8ba4ffc
chore(deps-dev): bump sass from 1.74.1 to 1.75.0 (#9812)
dependabot[bot] Apr 12, 2024
a7c7aa8
chore(deps-dev): bump cypress from 13.7.2 to 13.7.3 (#9814)
dependabot[bot] Apr 12, 2024
8d94b55
chore(deps-dev): bump sass-loader from 14.1.1 to 14.2.0 (#9813)
dependabot[bot] Apr 12, 2024
fb075df
chore(release): cut the v5.15.2 release
swagger-bot Apr 15, 2024
68eb346
refactor: consolidate all config related code into config module (#9811)
glowcloud Apr 15, 2024
463cd35
feat: expose build info via new versions plugin (#9820)
char0n Apr 15, 2024
91819be
chore(deps): bump react-redux from 9.1.0 to 9.1.1 (#9822)
dependabot[bot] Apr 15, 2024
663f237
chore(deps-dev): bump @commitlint/cli from 19.2.1 to 19.2.2 (#9823)
dependabot[bot] Apr 15, 2024
cd7fb27
chore(deps-dev): bump release-it from 17.1.1 to 17.2.0 (#9821)
dependabot[bot] Apr 15, 2024
6923111
fix(config): handle query config options (#9824)
glowcloud Apr 16, 2024
06e6dfa
feat(request-snippets): use active class modifier for active snippet …
char0n Apr 16, 2024
f310135
chore(deps-dev): bump @commitlint/config-conventional (#9827)
dependabot[bot] Apr 16, 2024
f7b9f8d
chore(deps-dev): bump postcss-preset-env from 9.5.4 to 9.5.5 (#9828)
dependabot[bot] Apr 16, 2024
f4ac23b
chore(deps-dev): bump sass-loader from 14.2.0 to 14.2.1 (#9835)
dependabot[bot] Apr 17, 2024
2112975
chore(deps-dev): bump mini-css-extract-plugin from 2.8.1 to 2.9.0 (#9…
dependabot[bot] Apr 17, 2024
2720d76
fix(config): fix precedence for system options (#9831)
glowcloud Apr 17, 2024
3b78674
docs(REAMDE): use absolute GitHub links (#9834)
4geru Apr 18, 2024
c452527
fix(resolve): fix infinite recursions and cycle detection in OpenAPI …
char0n Apr 18, 2024
c2b63ab
style(request-snippets): change name of active tab class (#9839)
char0n Apr 18, 2024
7378821
fix(config): cast configuration values into proper types (#9829)
glowcloud Apr 18, 2024
2354788
chore: regenerate package-lock.json
char0n Apr 18, 2024
c3b6f50
chore(release): cut the v5.16.0 release
swagger-bot Apr 18, 2024
6cba057
chore(deps-dev): bump babel-plugin-module-resolver from 5.0.0 to 5.0.…
dependabot[bot] Apr 18, 2024
dc9650b
fix(config): address getting configUrl from options (#9840)
glowcloud Apr 18, 2024
bcd7388
fix(config): sync SwaggerUI default options with swagger-ui-react (#9…
glowcloud Apr 18, 2024
60670d1
fix(config): add options defined during runtime (#9845)
glowcloud Apr 18, 2024
aa36114
chore(release): cut the v5.16.1 release
swagger-bot Apr 18, 2024
3a671c6
fix(swagger-ui-react): avoid triggering implicit system rendering (#9…
char0n Apr 19, 2024
12d6685
style(core): apply prettier formatting (#9848)
char0n Apr 19, 2024
6bb5e28
chore(release): cut the v5.16.2 release
swagger-bot Apr 19, 2024
6434c19
chore(deps-dev): bump postcss-preset-env from 9.5.5 to 9.5.6 (#9850)
dependabot[bot] Apr 19, 2024
9742378
chore(deps-dev): bump cypress from 13.7.3 to 13.8.0 (#9851)
dependabot[bot] Apr 19, 2024
8c43f17
chore(deps-dev): bump babel-plugin-module-resolver from 5.0.1 to 5.0.…
dependabot[bot] Apr 19, 2024
d578669
docs: fix typos in code comments (#9841)
careworry Apr 20, 2024
c8f892d
refactor(config): export config options typecasing mechanism (#9854)
char0n Apr 20, 2024
fee426b
chore(deps): bump nginx from 1.25.4-alpine to 1.25.5-alpine (#9859)
dependabot[bot] Apr 22, 2024
351191b
feat(swagger-ui-react): rewrite into SSR compatible function componen…
char0n Apr 22, 2024
17d50a6
feat(config): expose config and make it overridable (#9862)
char0n Apr 22, 2024
84f66a6
chore(release): cut the v5.17.0 release
swagger-bot Apr 22, 2024
cf7b769
chore(deps-dev): bump postcss-preset-env from 9.5.6 to 9.5.8 (#9861)
dependabot[bot] Apr 22, 2024
6fccf9e
fix(utils): fix validation for required values without specified type…
glowcloud Apr 23, 2024
4228d84
chore(deps-dev): bump postcss-preset-env from 9.5.8 to 9.5.9 (#9867)
dependabot[bot] Apr 23, 2024
dee2ad0
chore(deps): bump swagger-client from 3.27.0 to 3.27.2 (#9868)
dependabot[bot] Apr 23, 2024
f7373a0
fix(json-schema-2020-12-samples): skip anyOf and oneOf while merging …
glowcloud Apr 23, 2024
0fc96ce
chore(release): cut the v5.17.1 release
swagger-bot Apr 24, 2024
76495e8
chore(deps-dev): bump @commitlint/cli from 19.2.2 to 19.3.0 (#9871)
dependabot[bot] Apr 24, 2024
636c352
chore(deps): bump dependabot/fetch-metadata from 2.0.0 to 2.1.0 (#9872)
dependabot[bot] Apr 24, 2024
333e5e3
fix(config): remove system config source (#9875)
glowcloud Apr 25, 2024
a88cce2
chore(release): cut the v5.17.2 release
swagger-bot Apr 25, 2024
06dd809
chore(deps-dev): bump cypress from 13.8.0 to 13.8.1 (#9870)
dependabot[bot] Apr 25, 2024
dab5f88
chore(deps): bump react-dom from 18.2.0 to 18.3.0 (#9880)
dependabot[bot] Apr 26, 2024
6e1ca3f
chore(deps-dev): bump react-test-renderer from 18.2.0 to 18.3.0 (#9879)
dependabot[bot] Apr 26, 2024
b4d6341
chore(deps-dev): bump cssnano from 6.1.2 to 7.0.0 (#9874)
dependabot[bot] Apr 29, 2024
04d026f
chore(deps): bump nginx from 1.25.5-alpine to 1.26.0-alpine (#9886)
dependabot[bot] Apr 29, 2024
cdc902d
chore(deps-dev): bump cssnano from 7.0.0 to 7.0.1 (#9887)
dependabot[bot] Apr 29, 2024
cd1c96b
chore(deps): bump react-dom from 18.3.0 to 18.3.1 (#9889)
dependabot[bot] Apr 29, 2024
873bbc9
chore(deps-dev): bump react-refresh from 0.14.0 to 0.14.2 (#9890)
dependabot[bot] Apr 29, 2024
bfec5d7
chore(deps): bump dompurify from 3.1.0 to 3.1.1 (#9888)
dependabot[bot] Apr 29, 2024
f548525
chore(deps-dev): bump @pmmmwh/react-refresh-webpack-plugin (#9892)
dependabot[bot] Apr 29, 2024
7813b5f
chore(deps-dev): bump release-it from 17.2.0 to 17.2.1 (#9893)
dependabot[bot] Apr 29, 2024
b6805e5
chore(deps-dev): bump eslint-plugin-jest from 28.2.0 to 28.3.0 (#9894)
dependabot[bot] Apr 29, 2024
8c90d5d
fix: distribute proper source maps in npm distribution packages (#9877)
glowcloud Apr 30, 2024
3f67b08
fix(swagger-ui-react): call onComplete hook with system instance (#9895)
char0n Apr 30, 2024
e612c19
chore(release): cut the v5.17.3 release
swagger-bot Apr 30, 2024
ff40f8f
chore(deps): bump @babel/runtime-corejs3 from 7.24.4 to 7.24.5 (#9897)
dependabot[bot] Apr 30, 2024
cbed7a1
chore(deps-dev): bump @babel/core from 7.24.4 to 7.24.5 (#9896)
dependabot[bot] Apr 30, 2024
b127953
chore(deps-dev): bump @babel/preset-env from 7.24.4 to 7.24.5 (#9898)
dependabot[bot] Apr 30, 2024
a488cb6
chore(deps): bump dompurify from 3.1.1 to 3.1.2 (#9899)
dependabot[bot] May 1, 2024
8f47c7a
chore(deps-dev): bump react-test-renderer from 18.3.0 to 18.3.1 (#9900)
dependabot[bot] May 1, 2024
1c73e88
chore(deps-dev): bump @cfaester/enzyme-adapter-react-18 (#9901)
dependabot[bot] May 1, 2024
222a798
chore(deps-dev): bump @babel/cli from 7.24.1 to 7.24.5 (#9904)
dependabot[bot] May 2, 2024
c552d2a
chore(deps-dev): bump sass from 1.75.0 to 1.76.0 (#9905)
dependabot[bot] May 2, 2024
ba3557f
chore(deps): bump react-redux from 9.1.1 to 9.1.2 (#9903)
dependabot[bot] May 2, 2024
6f1bf99
chore(deps-dev): bump eslint-plugin-jest from 28.3.0 to 28.4.0 (#9907)
dependabot[bot] May 3, 2024
d5708bd
chore(deps-dev): bump @babel/eslint-parser from 7.24.1 to 7.24.5 (#9908)
dependabot[bot] May 3, 2024
2c8462b
docs(setting-up): add missing `npm install` command (#9906)
JanCizmar May 6, 2024
cb9a06f
fix(security): remove patch-package production dependency (#9909)
glowcloud May 6, 2024
5841e8c
chore(release): cut the v5.17.4 release
swagger-bot May 6, 2024
2329b6d
chore(deps-dev): bump postcss-preset-env from 9.5.9 to 9.5.11 (#9911)
dependabot[bot] May 6, 2024
a56643f
chore(deps-dev): bump eslint-plugin-jest from 28.4.0 to 28.5.0 (#9913)
dependabot[bot] May 6, 2024
fe6c1b8
refactor(config): use conventional naming
char0n May 6, 2024
5fa60ce
fix(config): perform configuration synchronously
char0n May 6, 2024
fc7410b
fix(try-it-out): fix parsing null values when building requests (#9914)
glowcloud May 6, 2024
9d4f8b9
docs(add-plugin): update file paths (#9910)
KevinBrother May 6, 2024
e998bed
chore(release): cut the v5.17.5 release
swagger-bot May 6, 2024
33555e9
refactor(config): fix naming of system options (#9917)
char0n May 7, 2024
6ae2c1f
fix(swagger-ui-react): display definition defined as YAML or JSON str…
glowcloud May 7, 2024
877470b
fix(system): allow wrapping components both from presets and plugins …
char0n May 7, 2024
d7a42b2
chore(release): cut the v5.17.6 release
swagger-bot May 7, 2024
11a6ec8
chore(deps-dev): bump sass from 1.76.0 to 1.77.0 (#9920)
dependabot[bot] May 7, 2024
0dd9afa
fix: render null values included in enum (#9683)
bejewel-kyoungmin May 7, 2024
1367a8f
fix(components): render parameter extensions in the description colum…
jrossignol May 7, 2024
450bb99
fix(json-schema-5): allow collapsing for primitive models (#9639)
dakkkshh May 8, 2024
a3aad9b
chore(deps-dev): bump sinon from 17.0.1 to 17.0.2 (#9923)
dependabot[bot] May 8, 2024
6030483
chore(release): cut the v5.17.7 release
swagger-bot May 9, 2024
9115678
chore(deps-dev): bump cypress from 13.8.1 to 13.9.0 (#9925)
dependabot[bot] May 9, 2024
a99be53
chore(deps): bump swagger-client from 3.27.7 to 3.27.8 (#9927)
dependabot[bot] May 10, 2024
94f2d82
fix(components): fix rendering for empty examples in responses (#9926)
glowcloud May 10, 2024
48abfde
chore(release): cut the v5.17.8 release
swagger-bot May 13, 2024
335372d
fix(deps): allow to consolidate deps in downstream projects (#9930)
char0n May 13, 2024
721b5d9
chore(release): cut the v5.17.9 release
swagger-bot May 13, 2024
b667130
chore(deps-dev): bump rimraf from 5.0.5 to 5.0.7 (#9932)
dependabot[bot] May 13, 2024
dcc87aa
chore(deps-dev): bump postcss-preset-env from 9.5.11 to 9.5.12 (#9933)
dependabot[bot] May 13, 2024
9037acf
fix(components): add support for oneOf/anyOf JSON Schema keywords in …
glowcloud May 14, 2024
fc1834c
chore(deps-dev): bump postcss-preset-env from 9.5.12 to 9.5.13 (#9940)
dependabot[bot] May 15, 2024
6d2b88e
chore(deps-dev): bump sass from 1.77.0 to 1.77.1 (#9939)
dependabot[bot] May 15, 2024
b5c84f4
fix(oas31): fix re-rendering of the Webhooks component (#9938)
glowcloud May 15, 2024
85c0122
chore(release): cut the v5.17.10 release
swagger-bot May 15, 2024
9477492
chore(deps): bump dompurify from 3.1.2 to 3.1.3 (#9943)
dependabot[bot] May 16, 2024
d5e56e5
chore(deps-dev): bump sass from 1.77.1 to 1.77.2 (#9944)
dependabot[bot] May 17, 2024
fddb2e1
chore(deps-dev): bump sinon from 17.0.2 to 18.0.0 (#9942)
dependabot[bot] May 21, 2024
10e1a5f
fix(swagger-client): fix OpenAPI 3.1.0 dereferencing (#9950)
char0n May 21, 2024
04bbeaa
fix(config): define missing default options and their types (#9949)
glowcloud May 21, 2024
a17e3fe
--- (#9951)
dependabot[bot] May 21, 2024
60e6647
--- (#9953)
dependabot[bot] May 21, 2024
0ff1e23
--- (#9952)
dependabot[bot] May 21, 2024
f28a48b
chore(release): cut the v5.17.11 release
char0n May 21, 2024
a35a71e
fix(release): fix failed v5.17.11 release
char0n May 21, 2024
0291215
chore(release): cut the v5.17.12 release
swagger-bot May 21, 2024
4f8d176
--- (#9955)
dependabot[bot] May 22, 2024
11cf64d
--- (#9956)
dependabot[bot] May 22, 2024
ee335f2
docs(SECURITY): align supported versions with reality (#9957)
char0n May 22, 2024
7bf16be
refactor(config): remove unused config options (#9958)
char0n May 22, 2024
767e498
chore(deps-dev): bump css-loader from 7.1.1 to 7.1.2 (#9959)
dependabot[bot] May 23, 2024
e57d0be
chore(deps-dev): bump postcss-preset-env from 9.5.13 to 9.5.14 (#9962)
dependabot[bot] May 24, 2024
df03a8f
fix(swagger-ui-react): re-render on spec prop change (#9966)
glowcloud May 27, 2024
31b35fd
ci(dependabot): use times that don't conflict with releases (#9975)
char0n May 27, 2024
c74fb2c
chore(release): cut the v5.17.13 release
swagger-bot May 27, 2024
8aa5292
fix(system): remediate component wrapping functionality (#9978)
char0n May 27, 2024
74ed0ad
chore(release): cut the v5.17.14 release
swagger-bot May 28, 2024
2fa1c33
chore(deps-dev): bump eslint-plugin-react from 7.34.1 to 7.34.2 (#9983)
dependabot[bot] May 28, 2024
dffdb78
chore(deps-dev): bump sass from 1.77.2 to 1.77.3 (#9988)
dependabot[bot] May 29, 2024
b3e447f
chore(deps-dev): bump sass from 1.77.3 to 1.77.4 (#9991)
dependabot[bot] May 30, 2024
2f3d453
chore(deps): bump dompurify from 3.1.4 to 3.1.5 (#9993)
dependabot[bot] Jun 1, 2024
c47be91
chore(deps): bump nginx from 1.26.0-alpine to 1.27.0-alpine (#9997)
dependabot[bot] Jun 3, 2024
967eb4c
chore(deps-dev): bump prettier from 3.2.5 to 3.3.1 (#10000)
dependabot[bot] Jun 5, 2024
6b86a61
chore(deps-dev): bump @pmmmwh/react-refresh-webpack-plugin (#9999)
dependabot[bot] Jun 5, 2024
730a151
chore(deps-dev): bump eslint-plugin-jest from 28.5.0 to 28.6.0 (#10003)
dependabot[bot] Jun 6, 2024
9515743
chore(deps-dev): bump @babel/preset-react from 7.24.1 to 7.24.7 (#10004)
dependabot[bot] Jun 6, 2024
cdacaec
chore(deps-dev): bump @babel/core from 7.24.5 to 7.24.7 (#10005)
dependabot[bot] Jun 7, 2024
8217c79
chore(deps): bump swagger-client from 3.28.1 to 3.28.2 (#10007)
dependabot[bot] Jun 7, 2024
b1d0976
chore(deps-dev): bump @babel/plugin-transform-runtime (#10008)
dependabot[bot] Jun 8, 2024
18c2739
chore(deps-dev): bump @babel/preset-env from 7.24.5 to 7.24.7 (#10010)
dependabot[bot] Jun 10, 2024
75f1cfd
chore(deps-dev): bump start-server-and-test from 2.0.3 to 2.0.4 (#10011)
dependabot[bot] Jun 10, 2024
32255e0
chore(deps-dev): bump @babel/cli from 7.24.5 to 7.24.7 (#10015)
dependabot[bot] Jun 11, 2024
fc9ef21
chore(deps): bump reselect from 5.1.0 to 5.1.1 (#10014)
dependabot[bot] Jun 11, 2024
2dae585
chore(deps): bump @babel/runtime-corejs3 from 7.24.5 to 7.24.7 (#10016)
dependabot[bot] Jun 13, 2024
a854f06
chore(deps-dev): bump sass from 1.77.4 to 1.77.5 (#10017)
dependabot[bot] Jun 13, 2024
41de6d5
chore(deps-dev): bump cssnano from 7.0.1 to 7.0.2 (#10018)
dependabot[bot] Jun 13, 2024
3553aec
chore(deps-dev): bump @babel/eslint-parser from 7.24.5 to 7.24.7 (#10…
dependabot[bot] Jun 13, 2024
3eb84d5
chore(deps-dev): bump prettier from 3.3.1 to 3.3.2 (#10020)
dependabot[bot] Jun 14, 2024
fd4849a
chore(deps-dev): bump cypress from 13.10.0 to 13.11.0 (#10021)
dependabot[bot] Jun 14, 2024
1c8284f
chore(deps-dev): bump sass from 1.77.5 to 1.77.6 (#10026)
dependabot[bot] Jun 17, 2024
b8d57d5
chore(deps-dev): bump lint-staged from 15.2.4 to 15.2.7 (#10027)
dependabot[bot] Jun 17, 2024
3a4f268
chore(deps-dev): bump ws from 8.17.0 to 8.17.1 (#10028)
dependabot[bot] Jun 17, 2024
6f4b2b8
chore(deps-dev): bump eslint-plugin-react from 7.34.2 to 7.34.3 (#10030)
dependabot[bot] Jun 18, 2024
a739619
chore(deps-dev): bump webpack from 5.91.0 to 5.92.0 (#10031)
dependabot[bot] Jun 18, 2024
d885765
chore(deps-dev): bump webpack from 5.92.0 to 5.92.1 (#10036)
dependabot[bot] Jun 19, 2024
bd67c31
chore(deps): bump @braintree/sanitize-url from 7.0.2 to 7.0.3 (#10037)
dependabot[bot] Jun 19, 2024
2f642c7
chore(deps-dev): bump cssnano from 7.0.2 to 7.0.3 (#10039)
dependabot[bot] Jun 20, 2024
0d3ff7f
chore(deps-dev): bump cypress from 13.11.0 to 13.12.0 (#10040)
dependabot[bot] Jun 20, 2024
0ce792c
chore(deps-dev): bump release-it from 17.3.0 to 17.4.0 (#10043)
dependabot[bot] Jun 21, 2024
8ead47c
chore(deps-dev): bump release-it from 17.4.0 to 17.4.1 (#10053)
dependabot[bot] Jul 1, 2024
b6524e4
chore(deps-dev): bump postcss from 8.4.38 to 8.4.39 (#10052)
dependabot[bot] Jul 1, 2024
ef14123
chore(deps-dev): bump postcss-preset-env from 9.5.14 to 9.5.15 (#10055)
dependabot[bot] Jul 2, 2024
87a8970
chore(deps): bump @braintree/sanitize-url from 7.0.3 to 7.0.4 (#10056)
dependabot[bot] Jul 2, 2024
6940b97
chore(deps-dev): bump cypress from 13.12.0 to 13.13.0 (#10058)
dependabot[bot] Jul 3, 2024
b58d502
chore(deps): bump dependabot/fetch-metadata from 2.1.0 to 2.2.0 (#10060)
dependabot[bot] Jul 4, 2024
8c3cb13
chore(deps): bump dompurify from 3.1.5 to 3.1.6 (#10061)
dependabot[bot] Jul 5, 2024
4696d62
chore(deps-dev): bump cssnano from 7.0.3 to 7.0.4 (#10062)
dependabot[bot] Jul 5, 2024
a2ea374
chore(deps-dev): bump postcss-preset-env from 9.5.15 to 9.6.0 (#10066)
dependabot[bot] Jul 8, 2024
8e6824c
chore(deps-dev): bump release-it from 17.4.1 to 17.5.0 (#10070)
dependabot[bot] Jul 9, 2024
d545f4d
chore(deps-dev): bump webpack from 5.92.1 to 5.94.0 (#10115)
dependabot[bot] Aug 31, 2024
1a811a6
chore(deps): bump axios from 1.7.1 to 1.7.6 (#10116)
dependabot[bot] Aug 31, 2024
37b8c1a
chore(deps-dev): bump @75lb/deep-merge from 1.1.1 to 1.1.2 (#10117)
dependabot[bot] Aug 31, 2024
ff034bd
chore(deps): bump send and express (#10133)
dependabot[bot] Sep 16, 2024
d111183
chore(deps): bump serve-static and express (#10134)
dependabot[bot] Sep 16, 2024
4d9ec4f
chore(deps): bump nginx from 1.27.0-alpine to 1.27.2-alpine (#10163)
dependabot[bot] Oct 7, 2024
c0a1ca4
chore(deps): bump cookie, swagger-client and express (#10167)
dependabot[bot] Oct 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
29 changes: 29 additions & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
[node-production]
maintained node versions

[node-development]
node 20.3.0

[browser-production]
> 1%
last 2 versions
Firefox ESR
not dead

[browser-development]
last 1 chrome version
last 1 firefox version
last 1 safari version

[isomorphic-production]
> 1%
last 2 versions
Firefox ESR
not dead
maintained node versions

[isomorphic-development]
last 1 chrome version
last 1 firefox version
last 1 safari version
node 20.3.0
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
dist/
node_modules/
test/e2e-selenium/
6 changes: 2 additions & 4 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ extends:
- plugin:react/recommended
plugins:
- react
- mocha
- import
- jest
settings:
Expand All @@ -23,7 +22,7 @@ settings:
rules:
semi: [2, never]
strict: 0
quotes: [2, double, { allowTemplateLiterals: true }]
quotes: [2, double, { avoidEscape: true, allowTemplateLiterals: true }]
no-unused-vars: 2
no-multi-spaces: 1
camelcase: 1
Expand All @@ -35,6 +34,5 @@ rules:
react/jsx-no-bind: 1
react/jsx-no-target-blank: 2
react/display-name: 0
mocha/no-exclusive-tests: 2
import/no-extraneous-dependencies: 2
react/jsx-filename-extension: 2
react/jsx-filename-extension: 2
47 changes: 33 additions & 14 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,35 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
commit-message:
prefix: "chore"
include: "scope"
open-pull-requests-limit: 6
ignore:
# node-fetch must be synced manually
- dependency-name: "node-fetch"
- dependency-name: "release-it"
- dependency-name: "@release-it/conventional-changelog"

- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
time: "23:00"
commit-message:
prefix: "chore"
include: "scope"
open-pull-requests-limit: 3
ignore:
# node-fetch must be synced manually
- dependency-name: "node-fetch"

- package-ecosystem: "docker"
# Look for a `Dockerfile` in the `root` directory
directory: "/"
# Check for updates once a week
schedule:
interval: "weekly"
time: "23:00"

- package-ecosystem: "github-actions"
target-branch: "master"
directory: "/"
schedule:
interval: "daily"
time: "23:00"
commit-message:
prefix: "chore"
include: "scope"
open-pull-requests-limit: 3


63 changes: 63 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ "master" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "master" ]
schedule:
- cron: '16 04 * * 2'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Use only 'java' to analyze code written in Java, Kotlin or both
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support

steps:
- name: Checkout repository
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.

# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality
config: |
paths-ignore:
- 'dist/'

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
37 changes: 26 additions & 11 deletions .github/workflows/dependabot-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,39 @@ name: Merge me!

on:
pull_request_target:
branches: [ master, next ]

permissions:
contents: read

jobs:
merge-me:
name: Merge me!
if: github.actor == 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- name: 'Wait for status checks'
id: waitforstatuschecks
uses: WyriHaximus/github-action-wait-for-status@v1
# This first step will fail if there's no metadata and so the approval
# will not occur.
- name: Dependabot metadata
id: dependabot-metadata
uses: dependabot/fetch-metadata@v2.2.0
with:
ignoreActions: Merge me!
checkInterval: 180
github-token: "${{ secrets.GITHUB_TOKEN }}"
# Here the PR gets approved.
- name: Approve a PR
if: ${{ steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major' }}
run: gh pr review --approve "$PR_URL"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Merge me!
if: steps.waitforstatuschecks.outputs.status == 'success'
uses: ahmadnassri/action-dependabot-auto-merge@v2
PR_URL: ${{ github.event.pull_request.html_url }}
GITHUB_TOKEN: ${{ secrets.SWAGGER_BOT_GITHUB_TOKEN }}
# Finally, tell dependabot to merge the PR if all checks are successful
- name: Instruct dependabot to squash & merge
if: ${{ steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major' }}
uses: mshick/add-pr-comment@v2
with:
target: minor
github-token: ${{ secrets.SWAGGER_BOT_GITHUB_TOKEN }}
repo-token: ${{ secrets.SWAGGER_BOT_GITHUB_TOKEN }}
allow-repeats: true
message: |
@dependabot squash and merge
env:
GITHUB_TOKEN: ${{ secrets.SWAGGER_BOT_GITHUB_TOKEN }}
143 changes: 143 additions & 0 deletions .github/workflows/docker-build-push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@
# inspired by https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
name: Build & Push SwaggerUI multi platform Docker image

on:
workflow_dispatch:
inputs:
git_ref:
description: Git branch, tag or SHA to checkout.
type: string
required: true
docker_tag:
description: Docker tag associated with the `git_ref`
type: string
required: true

repository_dispatch:
type: [docker_build_push]

env:
REGISTRY_IMAGE: swaggerapi/swagger-ui

jobs:
inputs:
name: Normalize inputs
runs-on: ubuntu-latest
outputs:
git_ref: ${{ steps.workflow_dispatch.outputs.git_ref || steps.repository_dispatch.outputs.git_ref }}
docker_tag: ${{ steps.workflow_dispatch.outputs.docker_tag || steps.repository_dispatch.outputs.docker_tag }}

steps:
- name: Normalize inputs of `workflow_dispatch` event
id: workflow_dispatch
if: ${{ github.event_name == 'workflow_dispatch' }}
run: |
echo "git_ref=${{ inputs.git_ref }}" >> "$GITHUB_OUTPUT"
echo "docker_tag=${{ inputs.docker_tag }}" >> "$GITHUB_OUTPUT"

- name: Normalize inputs of `repository_dispatch` event
id: repository_dispatch
if: ${{ github.event_name == 'repository_dispatch' }}
run: |
echo "git_ref=${{ github.event.client_payload.git_ref }}" >> "$GITHUB_OUTPUT"
echo "docker_tag=${{ github.event.client_payload.docker_tag }}" >> "$GITHUB_OUTPUT"



build:
name: Build & Push SwaggerUI platform specific Docker images
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
platform:
# linux/amd64 is already built by Jenkins
- linux/arm/v6
- linux/arm64
- linux/386
- linux/ppc64le
needs:
- inputs

steps:
- uses: actions/checkout@v4
with:
ref: ${{ needs.inputs.outputs.git_ref }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Log in to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_SB_USERNAME }}
password: ${{ secrets.DOCKERHUB_SB_PASSWORD }}

- name: Build and push by digest
id: build
uses: docker/build-push-action@v5
with:
context: .
platforms: ${{ matrix.platform }}
provenance: false
outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=true

- name: Export digest
run: |
mkdir -p /tmp/digests
digest="${{ steps.build.outputs.digest }}"
touch "/tmp/digests/${digest#sha256:}"

- name: Sanitize platform variable
id: sanitize_platform
run: |
SANITIZED_PLATFORM="${{ matrix.platform }}" # Assuming direct usage for simplicity
SANITIZED_PLATFORM="${SANITIZED_PLATFORM//[^a-zA-Z0-9_-]/}" # Remove special chars
echo "SANITIZED_PLATFORM=${SANITIZED_PLATFORM}" # Echo for debug
echo "::set-output name=sanitized_platform::${SANITIZED_PLATFORM}"

- name: Upload digest
uses: actions/upload-artifact@v4
with:
name: digest-${{ steps.sanitize_platform.outputs.sanitized_platform }}
path: /tmp/digests/*
if-no-files-found: error
retention-days: 1

merge:
name: Merge platform specific Docker image into multi platform image
runs-on: ubuntu-latest
needs:
- inputs
- build

steps:
- name: Download digests
uses: actions/download-artifact@v4
with:
pattern: digest-*
path: /tmp/digests
merge-multiple: true

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_SB_USERNAME }}
password: ${{ secrets.DOCKERHUB_SB_PASSWORD }}

- name: Create manifest list and push
working-directory: /tmp/digests
run: |
docker buildx imagetools create -t ${{ env.REGISTRY_IMAGE }}:${{ needs.inputs.outputs.docker_tag }} \
${{ env.REGISTRY_IMAGE }}:${{ needs.inputs.outputs.docker_tag }} \
$(printf '${{ env.REGISTRY_IMAGE }}@sha256:%s ' *)

- name: Inspect image
run: |
docker buildx imagetools inspect ${{ env.REGISTRY_IMAGE }}:${{ needs.inputs.outputs.docker_tag }}
23 changes: 23 additions & 0 deletions .github/workflows/docker-image-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Security scan for docker image

on:
workflow_dispatch:
schedule:
- cron: '30 4 * * *'

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
with:
image-ref: 'docker.io/swaggerapi/swagger-ui:unstable'
format: 'table'
exit-code: '1'
ignore-unfixed: true
vuln-type: 'os,library'
severity: 'CRITICAL,HIGH'
Loading