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 #1

Open
wants to merge 197 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
197 commits
Select commit Hold shift + click to select a range
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
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ updates:
directory: "/"
schedule:
interval: daily
time: "23:00"
commit-message:
prefix: "chore"
include: "scope"
Expand All @@ -18,6 +19,7 @@ updates:
# Check for updates once a week
schedule:
interval: "weekly"
time: "23:00"

- package-ecosystem: "github-actions"
target-branch: "master"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependabot-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
# will not occur.
- name: Dependabot metadata
id: dependabot-metadata
uses: dependabot/fetch-metadata@v1.6.0
uses: dependabot/fetch-metadata@v2.2.0
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
# Here the PR gets approved.
Expand Down
3 changes: 0 additions & 3 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,8 @@
!dist/swagger-ui.js
!dist/swagger-ui.js.map
!dist/swagger-ui-bundle.js
!dist/swagger-ui-bundle.js.map
!dist/swagger-ui-standalone-preset.js
!dist/swagger-ui-standalone-preset.js.map
!dist/swagger-ui-es-bundle.js
!dist/swagger-ui-es-bundle.js.map
!dist/swagger-ui-es-bundle-core.js
!dist/swagger-ui-es-bundle-core.js.map
!dist/swagger-ui.css
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# We don't declare them here — take a look at our docs.
# https://github.com/swagger-api/swagger-ui/blob/master/docs/usage/configuration.md

FROM nginx:1.25.4-alpine
FROM nginx:1.27.0-alpine

RUN apk add "nodejs"
RUN apk update && apk add --no-cache "nodejs>=18.20.1-r0 "

LABEL maintainer="char0n"

Expand Down
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,25 +48,25 @@ The OpenAPI Specification has undergone 5 revisions since initial creation in 20
## Documentation

#### Usage
- [Installation](docs/usage/installation.md)
- [Configuration](docs/usage/configuration.md)
- [CORS](docs/usage/cors.md)
- [OAuth2](docs/usage/oauth2.md)
- [Deep Linking](docs/usage/deep-linking.md)
- [Limitations](docs/usage/limitations.md)
- [Version detection](docs/usage/version-detection.md)
- [Installation](https://github.com/swagger-api/swagger-ui/blob/HEAD/docs/usage/installation.md)
- [Configuration](https://github.com/swagger-api/swagger-ui/blob/HEAD/docs/usage/configuration.md)
- [CORS](https://github.com/swagger-api/swagger-ui/blob/HEAD/docs/usage/cors.md)
- [OAuth2](https://github.com/swagger-api/swagger-ui/blob/HEAD/docs/usage/oauth2.md)
- [Deep Linking](https://github.com/swagger-api/swagger-ui/blob/HEAD/docs/usage/deep-linking.md)
- [Limitations](https://github.com/swagger-api/swagger-ui/blob/HEAD/docs/usage/limitations.md)
- [Version detection](https://github.com/swagger-api/swagger-ui/blob/HEAD/docs/usage/version-detection.md)

#### Customization
- [Overview](docs/customization/overview.md)
- [Plugin API](docs/customization/plugin-api.md)
- [Custom layout](docs/customization/custom-layout.md)
- [Overview](https://github.com/swagger-api/swagger-ui/blob/HEAD/docs/customization/overview.md)
- [Plugin API](https://github.com/swagger-api/swagger-ui/blob/HEAD/docs/customization/plugin-api.md)
- [Custom layout](https://github.com/swagger-api/swagger-ui/blob/HEAD/docs/customization/custom-layout.md)

#### Development
- [Setting up](docs/development/setting-up.md)
- [Scripts](docs/development/scripts.md)
- [Setting up](https://github.com/swagger-api/swagger-ui/blob/HEAD/docs/development/setting-up.md)
- [Scripts](https://github.com/swagger-api/swagger-ui/blob/HEAD/docs/development/scripts.md)

#### Contributing
- [Contributing](https://github.com/swagger-api/.github/blob/master/CONTRIBUTING.md)
- [Contributing](https://github.com/swagger-api/.github/blob/HEAD/CONTRIBUTING.md)

##### Integration Tests

Expand Down
11 changes: 6 additions & 5 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@ If you believe you've found an exploitable security issue in Swagger UI,
This is the list of versions of `swagger-ui` which are
currently being supported with security updates.

| Version | Supported | Notes |
| -------- | ------------------ | ---------------------- |
| 4.x | :white_check_mark: | |
| 3.x | :x: | End-of-life as of November 2021 |
| 2.x | :x: | End-of-life as of 2017 |
| Version | Supported | Notes |
|---------|--------------------|---------------------------------|
| 5.x | :white_check_mark: | Active LTS |
| 4.x | :x: | End-of-life as of August 2023 |
| 3.x | :x: | End-of-life as of November 2021 |
| 2.x | :x: | End-of-life as of 2017 |

## Reporting a vulnerability

Expand Down
3 changes: 1 addition & 2 deletions dist/swagger-ui-bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/swagger-ui-bundle.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/swagger-ui-es-bundle-core.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/swagger-ui-es-bundle-core.js.map

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions dist/swagger-ui-es-bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/swagger-ui-es-bundle.js.map

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions dist/swagger-ui-standalone-preset.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/swagger-ui-standalone-preset.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/swagger-ui.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/swagger-ui.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/swagger-ui.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/swagger-ui.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/customization/add-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ SwaggerUI({
})
```

Or if you're updating the core plugins.. you'll add it to the base preset: [src/core/presets/base.js](https://github.com/swagger-api/swagger-ui/blob/master/src/core/presets/base.js)
Or if you're updating the core plugins.. you'll add it to the base preset: [src/core/presets/base/index.js](https://github.com/swagger-api/swagger-ui/blob/master/src/core/presets/base/index.js)

Each Plugin is a function that returns an object. That object will get merged with the `system` and later bound to the state.
Here is an example of each `type`
Expand Down
4 changes: 0 additions & 4 deletions docs/customization/plugin-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -388,10 +388,6 @@ const MyWrapComponentPlugin = function(system) {
}
```

**Note:**

If you have multiple plugins wrapping the same component, you may want to change the [`pluginsOptions.pluginLoadType`](/docs/usage/configuration.md#Plugins-options) parameter to `chain`.

#### `rootInjects`

The `rootInjects` interface allows you to inject values at the top level of the system.
Expand Down
7 changes: 4 additions & 3 deletions docs/development/setting-up.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ Swagger UI includes a development server that provides hot module reloading and

1. `git clone https://github.com/swagger-api/swagger-ui.git`
2. `cd swagger-ui`
3. `npm run dev`
4. Wait a bit
5. Open http://localhost:3200/
3. `npm install`
4. `npm run dev`
5. Wait a bit
6. Open http://localhost:3200/

### Using your own local api definition with local dev build

Expand Down
14 changes: 3 additions & 11 deletions docs/usage/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@

### How to configure

Swagger UI accepts configuration parameters in four locations.
Swagger UI accepts configuration parameters in three locations.

From lowest to highest precedence:
- The `swagger-config.yaml` in the project root directory, if it exists, is baked into the application
- configuration object passed as an argument to Swagger UI (`SwaggerUI({ ... })`)
- configuration document fetched from a specified `configUrl`
- configuration items passed as key/value pairs in the URL query string
Expand Down Expand Up @@ -40,16 +39,9 @@ Read more about the plugin system in the [Customization documentation](/docs/cus
Parameter name | Docker variable | Description
--- | --- | -----
<a name="layout"></a>`layout` | _Unavailable_ | `String="BaseLayout"`. The name of a component available via the plugin system to use as the top-level layout for Swagger UI.
<a name="pluginsOptions"></a>`pluginsOptions` | _Unavailable_ | `Object`. A Javascript object to configure plugin integration and behaviors (see below).
<a name="plugins"></a>`plugins` | _Unavailable_ | `Array=[]`. An array of plugin functions to use in Swagger UI.
<a name="presets"></a>`presets` | _Unavailable_ | `Array=[SwaggerUI.presets.ApisPreset]`. An array of presets to use in Swagger UI. Usually, you'll want to include `ApisPreset` if you use this option.

##### Plugins options

Parameter name | Docker variable | Description
--- | --- | -----
<a name="pluginLoadType"></a>`pluginLoadType` | _Unavailable_ | `String=["legacy", "chain"]`. Control behavior of plugins when targeting the same component with wrapComponent.<br/>- `legacy` (default) : last plugin takes precedence over the others<br/>- `chain` : chain wrapComponents when targeting the same core component, allowing multiple plugins to wrap the same component

##### Display

<table role="table">
Expand Down Expand Up @@ -213,11 +205,11 @@ Parameter name | Docker variable | Description
<td><em>Unavailable</em></td>
<td>Set to <code>false</code> to deactivate syntax highlighting of
payloads and cURL command, can be otherwise an object with the
<code>activate</code> and <code>theme</code> properties.
<code>activated</code> and <code>theme</code> properties.
</td>
</tr>
<tr>
<td><a name="user-content-syntaxhighlight.activate"></a><code>syntaxHighlight.activate</code>
<td><a name="user-content-syntaxhighlight.activated"></a><code>syntaxHighlight.activated</code>
</td>
<td><em>Unavailable</em></td>
<td><code>Boolean=true</code>. Whether syntax highlighting should be
Expand Down
Loading
Loading