Commit Graph

695 Commits

Author SHA1 Message Date
Roman Hotsiy
ff3bb2461a
fix: discriminator fix 2018-02-08 01:11:16 +02:00
Roman Hotsiy
ee822f6ebe
fix: filter out non-existing security schemas + warn 2018-02-08 00:51:00 +02:00
Roman Hotsiy
dead16199f
fix: crash in MarkdownRenderer on non-string 2018-02-08 00:50:26 +02:00
Roman Hotsiy
b95f665526
chore: make TS happy 2018-02-07 23:21:18 +02:00
Roman Hotsiy
f31a031a63
chore: fix lint errors and test 2018-02-07 23:06:07 +02:00
Roman Hotsiy
32cd670a89
chore: refactor MarkdownRenderer.extractHeadings 2018-02-07 22:54:55 +02:00
Roman Hotsiy
84d1c7b2f2
fix: resolve menu synchronization issue (use proper throttle) 2018-02-07 22:54:09 +02:00
Roman Hotsiy
29207cf0d2
fix: improve copy tooltip perf 2018-02-07 22:52:13 +02:00
Roman Hotsiy
a3cbb14f74
fix: fix tbody > tr nesting warning 2018-02-05 15:49:12 +02:00
Roman Hotsiy
a7e9254b6c
tests: rewrite test to not use useless snapshot 2018-01-30 16:48:15 +02:00
Roman Hotsiy
a6ae43a136
tests: filter out options object from snapshorts 2018-01-30 16:47:02 +02:00
Roman Hotsiy
3aab2d97d3
feat: responsive side menu 2018-01-30 15:38:16 +02:00
Roman Hotsiy
a29c3ccc2d
fix: basic responsiveness 2018-01-30 15:35:18 +02:00
Roman Hotsiy
fab4fee726
tests: add tests for md renderer 2018-01-29 13:09:51 +02:00
Roman Hotsiy
e9f23f76ae
fix: crash on 2-level md heading at the beginning 2018-01-29 10:51:45 +02:00
Roman Hotsiy
4b5df22fa0
fix: make active tab more clear 2018-01-24 12:32:25 +02:00
Roman Hotsiy
6c71a668f2
fix: wrap text in code samples 2018-01-24 11:53:21 +02:00
Roman Hotsiy
ef4e6d8ae2
tests: add SSR test 2018-01-24 11:52:05 +02:00
Roman Hotsiy
5bb0bdfd29
feat: port "copy to clipboard" / "expand/collapse all" functionality
closes #410
2018-01-23 18:49:45 +02:00
Roman Hotsiy
199f240e7c
fix: perfect scroll not working 2018-01-23 15:31:21 +02:00
Roman Hotsiy
dc18743df4
chore: add tslint + fix lint issues 2018-01-23 15:04:50 +02:00
Roman Hotsiy
3819ad7e6a
chore: update snapshots 2018-01-21 22:00:22 +02:00
Roman Hotsiy
12f79f081a
fix: use array items example
fixes #408
2018-01-21 21:59:17 +02:00
Josh Price
96fb7ce436 fix: courier misspelling (#409) 2018-01-21 21:36:37 +02:00
Roman Hotsiy
28d1cca2eb
chore: update snapshots 2018-01-16 17:27:07 +02:00
Roman Hotsiy
2d20d06500
fix: readonly/writeonly not respected in nested schemas 2018-01-16 17:11:23 +02:00
Roman Hotsiy
94789e3145
fix: definition name 2018-01-16 17:10:50 +02:00
Roman Hotsiy
1fb6967064
fix: first menu item keeps always selected 2018-01-16 16:33:43 +02:00
Roman Hotsiy
34a8fe4906
fix: handle scrollYOffset in ScrollService 2018-01-11 18:17:02 +02:00
Roman Hotsiy
0253c5d76d
fix: undo section id + some minor fixes 2018-01-10 19:20:35 +02:00
Roman Hotsiy
33678e647e
fix: crate spec as data/base64 link when ssr 2018-01-10 18:24:55 +02:00
Roman Hotsiy
975636411b
fix: example value is not showed if it is false 2018-01-10 18:23:53 +02:00
Roman Hotsiy
174345399f
fix: add id attr to headers to work before react is loaded if ssr 2018-01-10 18:23:14 +02:00
Roman Hotsiy
480c4a8425
update snapshots 2018-01-10 16:13:28 +02:00
Roman Hotsiy
0b0bc99f73
fix: move title propagation to the correct place 2018-01-10 13:02:32 +02:00
Roman Hotsiy
9d0f2a9273
move required label to the left column 2018-01-10 13:01:20 +02:00
Roman Hotsiy
bfee3ed269
fix: owerwrite text-align to left 2018-01-09 19:01:37 +02:00
Roman Hotsiy
d67852f9c4
do not crashe when used in node (isomorphic) 2018-01-09 19:00:17 +02:00
Roman Hotsiy
50e2a5868d
feat: initial display security requirements 2017-12-15 12:18:15 +02:00
Roman Hotsiy
87a88c5ee5
chore: update snapshots 2017-12-07 19:37:25 +02:00
Roman Hotsiy
17da7b74db
fix: improve rendering of types 2017-12-07 19:12:34 +02:00
Roman Hotsiy
435cccd72f
fix: allOf and deref exit not only named refs 2017-12-07 18:39:27 +02:00
Roman Hotsiy
14f8408e8d
fix: do not ignore path level parameters 2017-12-07 17:17:23 +02:00
Roman Hotsiy
4ae1574c6c
fix: correct pointer for the schema 2017-12-07 13:54:34 +02:00
Roman Hotsiy
f1377da0d0
chore: update jest snapshots 2017-11-24 12:02:00 +02:00
Roman Hotsiy
c484411171
refactor: rename SecurityDefs to SecuritySchemes 2017-11-24 11:58:55 +02:00
Roman Hotsiy
426e5b67ab
fix: do not auto-append security-definitions if they are not in the spec 2017-11-24 11:58:55 +02:00
Roman Hotsiy
ca81b6dfaf
fix: don't display operations without tags as tag items in menu 2017-11-24 11:58:55 +02:00
Roman Hotsiy
3421be2ea3
fix: add ellipsis for menu items with long words 2017-11-24 11:58:55 +02:00
Roman Hotsiy
335deb983e
fix: crashes on some dereferencing/allOf merging cases 2017-11-24 11:58:47 +02:00
Roman Hotsiy
334a0a07da
fix: make oneOf not skip fields defined alongside 2017-11-23 16:22:02 +02:00
Roman Hotsiy
bdf60794f3
fix: crash when $ref is url encoded
reported by @mikunn
2017-11-23 16:08:39 +02:00
Roman Hotsiy
343f51a867
Fix security schemes representation 2017-11-23 15:40:26 +02:00
Roman Hotsiy
1994002685
Fix nested allOfs 2017-11-23 15:27:50 +02:00
Roman Hotsiy
86a7405ebf
Make conversion process more robust 2017-11-23 13:40:21 +02:00
Roman Hotsiy
359e57d189
Menu items styling update 2017-11-23 11:53:08 +02:00
Roman Hotsiy
14566b3e30
Center logo 2017-11-23 11:38:18 +02:00
Roman Hotsiy
0faa66b6e6
Minor fixes before alpha 2017-11-23 11:28:05 +02:00
Roman Hotsiy
52e7bfb347
remove extra console.log-s 2017-11-22 23:40:19 +02:00
Roman Hotsiy
cec37df7aa
Security Definitions component 2017-11-22 23:38:38 +02:00
Roman Hotsiy
ed13bb0528
Merge theme deeply 2017-11-22 14:00:42 +02:00
Roman Hotsiy
0bd8c66090
Update jest snapshots 2017-11-22 13:27:07 +02:00
Roman Hotsiy
07eef93820
Implement sanitization (aka untrustedSpec option) 2017-11-22 13:26:28 +02:00
Roman Hotsiy
37b6dff94b
Enhance ErrorBoundary component with stacktrace + version info 2017-11-22 13:02:56 +02:00
Roman Hotsiy
63dfdebf6a
Add version and revision to standalone bundle exports 2017-11-22 13:02:15 +02:00
Roman Hotsiy
57c424f6b5
Implement hideLoading + refactor Loading component 2017-11-22 12:42:57 +02:00
Roman Hotsiy
678cd9e536
Implement pathInMiddlePanel option 2017-11-22 10:57:51 +02:00
Roman Hotsiy
028e953f39
Implement nativeScrollbars option 2017-11-21 16:55:20 +02:00
Roman Hotsiy
0ab1c71cb6
Fix crash when content is empty map 2017-11-21 16:42:40 +02:00
Roman Hotsiy
f58ef3f0c9
fix crash for responses without content but with headers 2017-11-21 16:37:05 +02:00
Roman Hotsiy
f607b98866
Implement noAutoAuth option 2017-11-21 16:33:22 +02:00
Roman Hotsiy
a28e24ec92
Implement requiredPropsFirst opttion 2017-11-21 13:34:18 +02:00
Roman Hotsiy
f52a05a2b5
Implement expandResponses option 2017-11-21 13:00:33 +02:00
Roman Hotsiy
e85718225d
Implement hideHostname option 2017-11-20 22:36:21 +02:00
Roman Hotsiy
95f82b5e87
Fix sticky polyfill after moving it to StickySidebar component 2017-11-20 18:18:44 +02:00
Roman Hotsiy
8d84fa669c
Add validations to RedocStandalone component 2017-11-20 18:14:28 +02:00
Roman Hotsiy
c2f82cdc8b
Implement options and scrollYOffset option 2017-11-20 18:02:49 +02:00
Roman Hotsiy
6fbd47b340
Update Redoc Standalone API 2017-11-20 15:02:35 +02:00
Roman Hotsiy
5438770267
Filter readOnly and writeOnly fields from request/response 2017-11-20 12:54:27 +02:00
Roman Hotsiy
141b9f6551
Add polyfills for IE11 2017-11-20 12:06:10 +02:00
Roman Hotsiy
6d7fd547b1
Fix sticky on Edge + IE11 2017-11-20 12:05:54 +02:00
Roman Hotsiy
3e3a57402f
sticky sidebar 2017-11-20 02:18:43 +02:00
Roman Hotsiy
092d488a74
Fix setState run before mount 2017-11-20 01:00:43 +02:00
Roman Hotsiy
7c7294913d
Move playground + fix perf benchmark 2017-11-19 22:11:40 +02:00
Roman Hotsiy
ec45c8582a
umd bundle 2017-11-19 21:37:47 +02:00
Roman Hotsiy
6dae49ac5f
Standalone ReDoc bundle + v1.x basic compatibility 2017-11-19 12:51:59 +02:00
Roman Hotsiy
d896ebca4d
Clean up 2017-11-15 16:33:02 +02:00
Roman Hotsiy
bc1e06fe37
Remove crypto hack after swagger2openapi update 2017-11-15 16:16:28 +02:00
Roman Hotsiy
1c5730ca27
Update deps 2017-11-15 16:15:05 +02:00
Roman Hotsiy
bf255a4118
Add todo to Endpoint component 2017-11-14 23:41:20 +02:00
Roman Hotsiy
8e6b9e8380
Add OpenAPI 2.0 compatibility mode 2017-11-14 23:40:38 +02:00
Roman Hotsiy
109d135959
Make ReDoc render sync + separate standalone componenet
- refactored usage of store so now <Redoc> is sync
- other minor refactors
2017-11-14 17:49:56 +02:00
Roman Hotsiy
0061a87496
Fix some tests 2017-11-14 12:54:08 +02:00
Roman Hotsiy
162ad11497
Default response should be error if there is sucessfull response 2017-11-14 12:53:56 +02:00
Roman Hotsiy
4c3b4aa589
Initial React rewrite 2017-10-12 00:01:37 +03:00