Commit Graph

2059 Commits

Author SHA1 Message Date
Roman Hotsiy
c69f6de4c9
chore: remove global Dict<T> and replace it with Record<string, T> 2020-05-25 16:37:45 +03:00
Roman Hotsiy
9dd129d90b
fix: proper search-index dispose 2020-05-25 16:37:45 +03:00
Roman Hotsiy
8d1d4c82e1
fix: keep 3-column layout on 13-inch mbp 2020-05-25 16:37:45 +03:00
JoBrad
b6414f4e43
Updated x-servers link to point to valid location. (#1267) 2020-05-24 23:06:08 +03:00
Daniel Schosser
4512436f1d
fix: add security headers to Docker nginx config (#1244)
* Add security headers to nginx config

Increase the security of the nginx server and the served page, by adding the following security headers to the nginx config:
- X-Frame-Options (Disables click jacking by disallowing the page to be run in a frame/iframe)
- X-XSS-Protection (Enables cross site scripting filtering)
- X-Content-Type-Options (Disables MIME sniffing and forces browser to use the type given in Content-Type.)
- Content-Security-Policy (Controls resources the user agent is allowed to load for a given page.)
- Referrer-Policy (Governs which referrer information sent in the Referer header should be included with requests made.)

Additional headers that could be added optionally:
- Strict-Transport-Security (Enforce HTTPS over HTTP)
2020-05-14 10:33:09 +03:00
Roman Hotsiy
05e0a3f06b
chore(cli): redoc-cli@0.9.8 2020-05-10 22:25:34 +03:00
Roman Hotsiy
2c6e3b6595
chore: Release 2.0.0-rc.29 🔖 2020-05-10 22:12:16 +03:00
Roman Hotsiy
becc2f5856
fix: depreacate x-code-samples, rename to x-codeSamples for consistency 2020-05-10 22:11:01 +03:00
Roman Hotsiy
6e607b9a29
fix: do not crash on incompatible allOf, console.warn instead
fixes #1156
2020-05-10 21:59:53 +03:00
Roman Hotsiy
846065916d
fix: fix broken md headings with ampersand
fixes #1173
2020-05-10 21:56:37 +03:00
Roman Hotsiy
c88c41b9b5
chore: fix node typing issue
fixes #1233
2020-05-09 15:46:43 +03:00
Roman Hotsiy
b59faada82
fix: download button opens in new tab instead of downloading
fixes #1247
2020-05-09 14:54:13 +03:00
Roman Hotsiy
40a4e5fa47
chore: enable untrustedSpec in demo 2020-05-09 14:41:38 +03:00
Neel Kamath
63ec3d120c
Update README.md (#1130) 2020-05-09 14:32:27 +03:00
Zakary Kamal Ismail
10414fc6d5
feat(cli): add the --title option to the serve subcommand (#1160) 2020-05-09 14:31:54 +03:00
Peter
1c7fc1a261
demo: new URL for GraphHopper (#1165) 2020-05-09 14:31:25 +03:00
Roman Hotsiy
18dbd6270c
chore: Release 2.0.0-rc.28 🔖 2020-04-27 19:52:18 +03:00
Roman Hotsiy
62c01da420
fix: encode URLs in json samples linkify (xss)
thanks to @masatokinugawa
2020-04-27 19:47:32 +03:00
Roman Hotsiy
ffa216ea87
chore: Release 2.0.0-rc.27 🔖 2020-04-20 16:29:37 +03:00
Oleksiy Kachynskyy
57e93ec435
feat: add callbacks support (#1224)
Co-authored-by: Jonathan Bailey <jonathan_bailey@bose.com>
Co-authored-by: Roman Hotsiy <gotsijroman@gmail.com>
2020-04-08 14:04:58 +03:00
Roman Hotsiy
5bd2e6227b
chore: Release 2.0.0-rc.26 🔖 2020-03-29 20:20:46 +03:00
Roman Hotsiy
3908a7c464
fix: crash to wrong spelling in localeCompare
fixes #1218
2020-03-29 20:19:25 +03:00
Roman Hotsiy
89054dae6c
chore: Release 2.0.0-rc.25 🔖 2020-03-27 19:01:18 +02:00
Roman Hotsiy
a0bd27c754
fix: improve names for some theme settings 2020-03-27 18:35:07 +02:00
Mohamed Zenadi
ac4f915494
fix: sort discriminator entries by mapping order (#1216)
* sort discriminator entries by mapping order

* fix string compare
2020-03-27 13:09:51 +02:00
Mohamed Zenadi
ea5b0aabf9
feat: add x-explicitMappingOnly extension (#1215) 2020-03-27 12:09:44 +02:00
Oleksiy Kachynskyy
830371b5d1
fix: do not collapse top level on Collapse All in json samples (#1209)
* fix: update collapseAll method
to avoid collapsing whole object/array

* fix: remove extra "slice()" call
2020-03-20 15:05:07 +02:00
GreenHedgehog
c6eaa0281b
fix: fix passing boolean value to showExtensions options (#1211)
Co-authored-by: Alef <aleksey.pavlov@corp.mail.ru>
2020-03-20 14:37:22 +02:00
Roman Hotsiy
afc7a95f13
docs: update usages examples 2020-03-17 16:46:43 +02:00
Roman Hotsiy
6ad9f72dcd
chore(cli): redoc-cli@0.9.7 2020-03-17 14:13:50 +02:00
Roman Hotsiy
e675f57e9a
chore(cli): update redoc 2020-03-17 14:13:06 +02:00
Roman Hotsiy
972dc373fd
chore: Release 2.0.0-rc.24 🔖 2020-03-17 14:01:21 +02:00
Roman Hotsiy
11377c903c
chore: fix ts error, use name but cannot be named 2020-03-17 13:41:55 +02:00
Roman Hotsiy
7ba3de2e28
chore: fix lint issues 2020-03-17 13:18:23 +02:00
Roman Hotsiy
54eb2a0dce
chore: prettier all 2020-03-17 12:01:32 +02:00
Roman Hotsiy
4ab2d0556d
chore: migrate tslint -> eslint 2020-03-17 11:52:33 +02:00
Roman Hotsiy
a24142b3fa
chore: migrate yarn -> npm 2020-03-17 11:06:03 +02:00
Roman Hotsiy
6fd6da0c37
chore: fix tslint and tests 2020-03-16 19:15:40 +02:00
Roman Hotsiy
641898ceca
chore: upgrade deps 2020-03-16 16:58:38 +02:00
Roman Hotsiy
8c053cc474
fix: fix major search performance due to wrong marker element
fixes #1109
2020-03-16 16:58:38 +02:00
Roman Hotsiy
7608800d0a
feat: new option expandSingleSchemaField 2020-03-16 16:58:28 +02:00
Faheem Abrar
373f018d0c
fix: Add debounce for 300 ms when searching (#1089)
Co-authored-by: Roman Hotsiy <gotsijroman@gmail.com>
2020-03-16 16:01:21 +02:00
Nick Oliver
af415e89e8
fix: do not load SearchWorker if disableSearch is true (#1191)
Blob URLs may be disabled by CORS (ex: #764) but should not block execution when the disableSearch option is true
2020-03-01 12:38:15 +08:00
Roman Hotsiy
c05db38576
chore(cli): redoc-cli@0.9.6 2020-02-09 21:19:27 +07:00
Roman Hotsiy
88f8d7475f
chore: Release 2.0.0-rc.23 🔖 2020-02-09 21:01:44 +07:00
Roman Hotsiy
1a2a7dd833
fix: fix broken sticky sidebar in Chrome 80
fixes #1167
2020-02-09 20:59:17 +07:00
Roman Hotsiy
4289eb0bee
chore: Release 2.0.0-rc.22 🔖 2020-01-15 23:08:12 +02:00
Roman Hotsiy
56ddce1b11
chore: minor perf optimizations 2020-01-15 23:05:51 +02:00
Roman Hotsiy
5248415791
fix: do not process oneOf if inherited from parent with discriminator 2020-01-14 22:53:45 +02:00
Kryštof Korb
27a4af7076 feat: add HTTP syntax highlighting (#1157) 2020-01-14 09:59:05 +02:00