Commit Graph

475 Commits

Author SHA1 Message Date
Roman Hotsiy
62c01da420
fix: encode URLs in json samples linkify (xss)
thanks to @masatokinugawa
2020-04-27 19:47:32 +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
3908a7c464
fix: crash to wrong spelling in localeCompare
fixes #1218
2020-03-29 20:19:25 +03: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
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
6fd6da0c37
chore: fix tslint and tests 2020-03-16 19:15:40 +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
1a2a7dd833
fix: fix broken sticky sidebar in Chrome 80
fixes #1167
2020-02-09 20:59:17 +07: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
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
Anna Stasiuk
41a9b3c182 fix: use mobile menu background color value from theme (#1144) 2019-12-16 11:59:22 +02:00
Roman Hotsiy
942d782b5a
fix: fix missing parameters
fixes #1142
2019-12-13 19:25:31 +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
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
Chris Faulkner
42696a01ba doc: fix some typos (#1117) 2019-12-10 08:13:37 +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
Dimitar Nanov
3e90133664 feat: display multipleOf constrains (#1065) 2019-12-08 11:54:07 +02:00
Andrii Tykhan
dc5430e53d fix: wrap json examples in code tag (#1064) 2019-10-22 16:37:32 +03:00
Roman Hotsiy
cd9fd61831
fix: add oneOf buttons vertical space when wrapped to new line 2019-10-16 17:21:32 +03:00
Roman Hotsiy
ce885f864a
fix: improve mime-type dropdown font 2019-10-16 17:19:42 +03:00
Roman Hotsiy
0a01e9a080
fix: active menu item scroll into view 2019-10-16 16:07:42 +03:00
Andrew Zhukevych
0c20e64178 fix: changed several components style font-family to monospace (#1063)
fixes #909
2019-10-16 16:02:50 +03:00
russellrobinson
b5af71da5f fix: no quotes for default values in header fields. (#1059) 2019-10-16 16:01:54 +03:00
Michael Huynh
4494f80dbc fix: types over-pluralization (#1057)
fixes #1053
2019-10-12 12:33:03 +03:00
Roman Hotsiy
d09c1c1086
fix: fix scrollYOffset when SSR 2019-09-30 14:39:58 +03:00
Roman Hotsiy
e318fb3381
fix: remove excessive whitespace between md sections on small screens
fixes #874
2019-09-30 13:10:35 +03:00
Roman Hotsiy
faa74d6002
fix: false-positive recursive detection with allOf at the same level 2019-09-30 12:56:09 +03:00