Commit Graph

2124 Commits

Author SHA1 Message Date
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
Chris Bojemski
e84a6cd9a0 Load things into DOM when visiting tag or operation link. 2020-02-25 11:59:59 -08:00
Chris Bojemski
4a9c3b6763 Fix split 2020-02-24 11:50:12 -08:00
Chris Bojemski
c906187a56 Fixes a bug wherein going to a URL for a specific tag or operation did not load the section nor scroll to the operation. Checks upon app load if the user is at the homepage. If not, decide if url is for tag or operation, then load into DOM. On componentDidUpdate, will scroll to specific operation if URL specifies it. Also, bumped debounce in search box to 1s because it was terrible to type in. 2020-02-21 16:46:40 -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
Chris Bojemski
124377fc2c Make clicked search selections render their sections and scroll to item. Search box should no longer delete some inputs while typing. 2020-01-14 13:22:50 -08: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
Chris Bojemski
8d982ae27d Only load sections into the DOM if their tag is clicked. 2020-01-10 16:12:52 -08:00
Roman Hotsiy
1f05af52ff
chore(cli): redoc-cli@0.9.5 2020-01-10 17:27:04 +02:00
Roman Hotsiy
1967c25f31
chore(cli): update redoc 2020-01-10 17:26:48 +02:00
Roman Hotsiy
236822d2af
chore(cli): upgrade handlebars in yarn.lock 2020-01-10 17:04:53 +02:00
Roman Hotsiy
45c337b382
chore: Release 2.0.0-rc.21 🔖 2020-01-10 17:04:53 +02:00
Roman Hotsiy
1030e88aa3
tests: fix tests for empty servers 2020-01-10 17:04:13 +02:00
Roman Hotsiy
ca80b7ea57
chore: fix travis export vars 2020-01-10 16:28:10 +02:00
Roman Hotsiy
ed1db0c902
fix: empty servers behaviour per OAS spec
fixes #1151
2020-01-10 15:54:16 +02:00
Roman Hotsiy
a260c8414c
fix: fix duplicated content in tags when using md headings
fixes #1150, fixes #1152
2020-01-10 15:19:05 +02:00
Zakary Kamal Ismail
6d9a401b3b chore(cli): Lint and prettify cli/index.ts (#1074) 2020-01-10 14:29:09 +02:00
Anna Stasiuk
41a9b3c182 fix: use mobile menu background color value from theme (#1144) 2019-12-16 11:59:22 +02:00
Roman Hotsiy
284474322b
chore(cli): redoc-cli@0.9.4 2019-12-13 19:32:19 +02:00
Roman Hotsiy
fd581261f3
chore: Release 2.0.0-rc.20 🔖 2019-12-13 19:27:08 +02:00
Roman Hotsiy
942d782b5a
fix: fix missing parameters
fixes #1142
2019-12-13 19:25:31 +02:00
Roman Hotsiy
aa26d9c0c3
chore(cli): redoc-cli@0.9.3 2019-12-13 12:08:15 +02:00
Roman Hotsiy
91c6a118b6
chore: update npm token for travis deploy 2019-12-13 12:02:28 +02:00
Roman Hotsiy
32ce57712d
chore: Release 2.0.0-rc.19 🔖 2019-12-13 11:48:11 +02:00
Nan Yan
d92434d11b fix: fix sortByRequired (stabilise sort) (#1136)
fixes #1104
fixes #1121
fixes #1061
2019-12-13 11:34:41 +02:00
Roman Hotsiy
1bf490c05b
fix: search-box use theme 2019-12-13 11:29:12 +02:00
Roman Hotsiy
eaaa99d68e
feat: new option payloadSampleIdx 2019-12-12 19:12:50 +02:00
Roman Hotsiy
448b1b48c8
chore: refactor request samples 2019-12-12 18:37:47 +02:00
Roman Hotsiy
cbb9f50fa0
fix: remove implicit discriminator mapping when explicit is present 2019-12-12 18:05:37 +02:00
Roman Hotsiy
11cc4c4c3e
feat: new option hideSchemaTitles 2019-12-12 17:32:03 +02:00
Roman Hotsiy
4a25aaef69
fix: python comment stripped in headings
fixes #1116
2019-12-12 17:32:02 +02:00
Roman Hotsiy
7ed1a7ef0e
fix: h2 padding on mobile
fixes #1118
2019-12-12 17:32:02 +02:00
Roman Hotsiy
094ce914e3
fix: remove hardcoded fontFamily for oneOf labels
fixes #1120
2019-12-12 17:32:02 +02:00
Roman Hotsiy
6e390f9c79
fix: support discriminator mapping 1-n
fixes #1111
2019-12-12 17:32:02 +02:00
Roman Hotsiy
81a44a239a
chore: remove react-hot-loader from deps
fixes #1133
2019-12-12 17:32:02 +02:00
Roman Hotsiy
5d81abeb28
feat: enable menuToggle by default 2019-12-12 17:32:02 +02:00
Roman Hotsiy
4bb59d5d4d
chore: upgrade deps 2019-12-12 17:32:02 +02:00
Roman Hotsiy
6aeb0bf68d
fix: do not URI-encode parameter values for better readability
fixes #1138
2019-12-12 17:32:02 +02:00
Zakary Kamal Ismail
e01eea445c feat(cli): Fallback on the spec's title before falling back on… (#1073) 2019-12-12 17:31:08 +02:00
Chris Faulkner
42696a01ba doc: fix some typos (#1117) 2019-12-10 08:13:37 +02:00
Alex
76a8988a1b docs: fixed example slack api url (#1077) 2019-12-10 08:09:40 +02:00
torbenw
289c8e6ae1 fix: change the title of "Security Scheme Type" to match "HTTP Authorization Scheme" (#1126) 2019-12-10 08:04:42 +02:00
bwjohnson-ss
7cabd4b90d docs: fix link to x-nullable docs from README (#1135) 2019-12-10 08:03:46 +02:00