Commit Graph

2585 Commits

Author SHA1 Message Date
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
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