Commit Graph

275 Commits

Author SHA1 Message Date
Roman Hotsiy
c0c44bc4fe
fix: regression - broken urls for operations without operationId 2018-07-14 18:16:35 +03:00
Roman Hotsiy
9f0252e12e
chore: update security-requirement ui 2018-07-14 17:11:29 +03:00
Roman Hotsiy
e6ebdb7095
chore: refactor MediaTypesSwitch 2018-07-14 16:37:36 +03:00
Roman Hotsiy
e1c9e19fbc
fix: inline markdown regression 2018-06-30 00:41:31 +03:00
Roman Hotsiy
55bd8535b4
feat: theme hooks experimental hooks 2018-06-29 23:49:53 +03:00
Roman Hotsiy
c3da0a01d4
chore: minor refactor 2018-06-28 20:26:14 +03:00
Roman Hotsiy
06ef51c08c
feat: experimental temporary support for tags in md 2018-06-28 20:25:12 +03:00
Roman Hotsiy
aaaa8999bf
fix: fix link colors in json samples 2018-06-28 20:25:11 +03:00
Roman Hotsiy
78fa31225a
feat: display Value instead of Enum for one-item enum 2018-06-28 20:25:11 +03:00
Roman Hotsiy
1812775cd0
chore: remove unused EmptyDarkRightPanel 2018-06-28 20:25:11 +03:00
Roman Hotsiy
0d45cc26f1
fix: do not uppercase menu items by default 2018-06-26 09:46:16 +03:00
Roman Hotsiy
11947ed68e
fix: change default font weight to 400 2018-06-26 09:36:39 +03:00
Roman Hotsiy
49feddaa10
chore: update snapshots 2018-06-25 14:00:08 +03:00
Roman Hotsiy
761a2c1251
chore: fix lint issues 2018-06-25 13:59:11 +03:00
Roman Hotsiy
16313b8293
feat: pass error in init callback + onLoaded for RedocStandalone 2018-06-25 13:48:51 +03:00
Roman Hotsiy
637b493b41
chore: refactor StoreProvider to not use componentWillReceiveProps 2018-06-25 12:47:09 +03:00
Roman Hotsiy
4e5282e206
fix: default false not displaying
fixes #544
2018-06-25 09:10:44 +03:00
Roman Hotsiy
83fca7d9ff
fix: use pushState instead of hash replace
fixes #542
2018-06-21 13:47:53 +03:00
Jérémy Derussé
4694b6f9ca fix: Use item's title in array definition (#526) 2018-06-21 13:10:10 +03:00
Roman Hotsiy
4c76d52cc6
fix: fix subsections ids so subsections with the same name are allowed
fixes #529
2018-06-20 19:57:52 +03:00
Roman Hotsiy
c8a5f36f17
fix: fix IE11 crash + remove unused polyfills
fixes #448
2018-06-20 19:57:52 +03:00
Roman Hotsiy
5dae267a54
fix: discriminator field doesn't change in examples
fixes #524
2018-06-20 19:57:52 +03:00
Oleg Vaskevich
133f9f0d12 chore: Add x-code-samples to TS types (#533) 2018-06-20 19:09:16 +03:00
Lev Pachmanov
070dc5c0a8 feat: support for x-discriminator-value for 2.0 as alternative to mapping (#534)
Add vendor extension `x-discriminator-value `used by swagger-codegen for Swagger 2.0 as an alternative to OpenAPI 3.0 mapping feature.
2018-06-20 19:08:19 +03:00
Jérémy Derussé
35f83e491a chore: escape HTML (#527) 2018-06-18 15:58:26 +03:00
Roman Hotsiy
c0b0cd49b5
fix: support wildcard status codes
fixes #531
2018-06-18 15:56:31 +03:00
Roman Hotsiy
d38f2f2a5a
fix: add ReDoc attribution link which was present in 1.x 2018-06-01 19:44:34 +03:00
Roman Hotsiy
209c6caca0
fix: non-json sample crash in some cases
fixes #456
2018-06-01 18:20:28 +03:00
Roman Hotsiy
63ae2e8e94
feat: support x-summary for response objects
fixes #500
2018-06-01 16:50:07 +03:00
Roman Hotsiy
bde08f1283
fix: fix vertical line misaligned in firefox
closes #503
2018-05-31 15:41:57 +03:00
Roman Hotsiy
d957ad762d
fix: fix typings on npm 2018-05-31 15:41:57 +03:00
Jérémy Derussé
47b2177f58 fix: MergeAll takes items into account (#511) 2018-05-31 12:59:55 +03:00
Roman Hotsiy
2eb1952875
fix: HEAD http verb support in menu badges
fixes #493
2018-05-29 18:58:37 +03:00
Roman Hotsiy
3698598d60
chore: update deps 2018-05-29 18:44:03 +03:00
Roman Hotsiy
3c6de2cafc
fix: more descriptive message for wrong discriminator use
fixes #505
2018-05-29 17:58:57 +03:00
Roman Hotsiy
aaff311a3e
feat: support x-discriminator for OpenAPI 2
related to #496
2018-05-29 17:51:50 +03:00
Roman Hotsiy
6ea2b7b0e6
fix: fix font-weight inconsistency
fixes #506
2018-05-29 17:51:50 +03:00
Roman Hotsiy
d162babe19
feat: add new experimental option unstable_ignoreMimeParameters 2018-05-29 17:51:50 +03:00
Roman Hotsiy
64801b039f
fix: specify caption-side
fixes #509
2018-05-28 21:54:02 +03:00
Roman Hotsiy
57a32ba116
chore: update deps 2018-05-28 21:50:26 +03:00
Roman Hotsiy
f8b793d2dc
feat: new theme colors: code and codeBg 2018-05-28 21:47:37 +03:00
Roman Hotsiy
782ef77080
feat: new theme option: nestingSpacing 2018-05-28 21:45:34 +03:00
Roman Hotsiy
6b1e8e75b0
fix: replace "oops" with field name 🙈 2018-05-18 17:30:21 +03:00
Roman Hotsiy
a1fa4b47a8
fix: reduce search index size 2018-05-18 15:13:46 +03:00
Roman Hotsiy
8afae474c7
chore: fix declarations 2018-05-18 15:10:55 +03:00
Roman Hotsiy
e13d172502
chore: allow for children in MenuItemTitle 2018-05-18 15:09:30 +03:00
Roman Hotsiy
59571596c0
refactor: move styled.d.ts patch to typings 2018-05-18 13:47:35 +03:00
Roman Hotsiy
2654cefd75
refactor: minor refactor 2018-05-17 11:41:51 +03:00
Roman Hotsiy
08253ee1b1
chore: enable tslint for test files 2018-05-16 13:08:27 +03:00
Roman Hotsiy
9115be8378
feat: export TypeScript typings 2018-05-16 12:44:44 +03:00
Roman Hotsiy
0d6deff8c8
feat: display scope description as markdown, fixes #466 2018-05-14 11:48:11 +03:00
Roman Hotsiy
2cf4c3cd7b
fix: path parameters are not correctly override, fixes #481 2018-05-14 11:37:19 +03:00
Roman Hotsiy
6d1a9e589c
fix: limit height of discriminator dropdown, fixes #484 2018-05-14 11:04:56 +03:00
Roman Hotsiy
3829aca046
chore: fix lint issues 2018-05-14 11:00:43 +03:00
Roman Hotsiy
42cf18edb3
fix: fix prism lang dependencies, fixes #467 2018-05-14 09:51:57 +03:00
Roman Hotsiy
afb11d6a4f
fix: fix @observer on PureComponent warning 2018-05-14 09:50:35 +03:00
Roman Hotsiy
126c6a689a
fix: change look of additionalProperties 2018-05-14 09:33:09 +03:00
Morgan Terry
64119c44d4 fix: fix spelling in error message (#455) 2018-04-17 08:51:07 +03:00
Roman Hotsiy
1aa7d5d279
tests: add JsonViewer basic unit tests 2018-03-26 23:09:09 +03:00
Roman Hotsiy
04251a581a
tests: move tests to parent folder 2018-03-26 22:33:46 +03:00
Roman Hotsiy
29a7f299a1
tests: workaround perfectscroll importing issue in jest 2018-03-26 22:24:47 +03:00
Roman Hotsiy
83af48112c
tests: add standalone component test 2018-03-26 22:24:39 +03:00
Roman Hotsiy
deffdc548e
chore: remove worker from main bundle for browser/standalone build 2018-03-26 18:24:19 +03:00
Roman Hotsiy
33eaf77dc5
refactor: rename isBrowser to IS_BROWSER + use only it for detection 2018-03-26 18:15:54 +03:00
Roman Hotsiy
5cab571f78
chore: fix lint issues 2018-03-26 13:58:20 +03:00
Roman Hotsiy
d5286fc5bb
chore: exclude some rarely-used langs for APIs (-4Kb) 2018-03-26 13:57:39 +03:00
Roman Hotsiy
09cbe884b5
fix: disable chrome tap-highlight on mobiile 2018-03-23 16:17:01 +02:00
Roman Hotsiy
fefe571d29
chore: add babel-plugin-styled-components (smaller bundle size) 2018-03-23 16:16:29 +02:00
Roman Hotsiy
384c883bb8
fix: fix logo width 2018-03-22 18:50:31 +02:00
Roman Hotsiy
4b15a1702d
chore: run prettier 2018-03-22 18:23:32 +02:00
Roman Hotsiy
d92ed428f9
chore: fix deme on mobile 2018-03-22 18:22:11 +02:00
Roman Hotsiy
d1d80422a4
fix: scroll to section sooner when SSR + simplify item ids 2018-03-22 17:46:30 +02:00
Roman Hotsiy
a0845325d9
fix: fix second-level heading in description 2018-03-21 19:59:55 +02:00
Roman Hotsiy
d27e61a1f7
fix: make field type color more dark (closes #439) 2018-03-20 16:18:25 +02:00
Roman Hotsiy
cbce28aec3
feat: add more options to theme 2018-03-20 16:15:36 +02:00
Roman Hotsiy
5f1e553ef4
chore: fix lint issues 2018-03-20 11:52:08 +02:00
Roman Hotsiy
05403a7aa9
fix: css fix + update theme 2018-03-20 11:17:59 +02:00
Roman Hotsiy
5b136c1a2f
tests: prefer attributes over classes in e2e tests 2018-03-19 16:33:26 +02:00
Roman Hotsiy
cb39a4b6cd
chore: try deploying cli from Travis 2018-03-18 11:40:15 +02:00
Roman Hotsiy
ed20ac1298
fix: prefer extend of styled to make styles more predictable 2018-03-18 11:13:08 +02:00
Roman Hotsiy
9026795b9f
tests: add MarkerService tests 2018-03-17 23:23:14 +02:00
Roman Hotsiy
e0223494c2
feat: use new Context API for options 2018-03-17 22:04:37 +02:00
Roman Hotsiy
2c320d229b
chore: setup coverage + coveralls 2018-03-17 20:57:45 +02:00
Roman Hotsiy
6c70d1a345
chore: migrate to webpack 4 2018-03-17 17:58:28 +02:00
Roman Hotsiy
e27d421f8a
chore: migrate to ts-loader 2018-03-17 15:16:56 +02:00
Roman Hotsiy
053248e8ab
chore: update to the latest react-hot-loader@4 2018-03-17 14:17:09 +02:00
Roman Hotsiy
d3655161fc
chore: fix lint issues 2018-03-16 23:58:25 +02:00
Roman Hotsiy
6018042180
fix: fix broken css after installing polished 2018-03-16 23:56:53 +02:00
Roman Hotsiy
1df690a964
feat: more advanced theme engine 2018-03-16 17:07:49 +02:00
Roman Hotsiy
7769ba84fd
fix: fix CLI crash + build it on travis 2018-03-15 22:26:07 +02:00
Roman Hotsiy
fe3245a7a6
feat: arrow navigation in search results 2018-03-15 20:50:26 +02:00
David Revay
5dc21af281 fix: A couple minor bug fixes (#436)
* Fix so deref always returns an object.
* Fix SelectOnClick so it does not crash
* chore: fix demo's webpack.config.ts
* Fix space
2018-03-14 08:05:57 +02:00
Roman Hotsiy
390f6c1324
feat: ReDoc CLI 2018-03-13 16:56:38 +02:00
Roman Hotsiy
21447d22a1
chore: fix lint issues 2018-03-13 13:04:55 +02:00
Roman Hotsiy
28f239114b
fix: add logo width to the theme 2018-03-13 12:57:38 +02:00
Roman Hotsiy
0cb0af2cae
fix: make ReactStandalone react on props changes 2018-03-09 21:11:28 +02:00
Roman Hotsiy
18ec3ac17b
fix: align logo by center 2018-03-09 21:10:28 +02:00
Roman Hotsiy
49c23c9345
chore: ts-ignore import issue + fix lint errors 2018-03-09 12:10:08 +02:00
Roman Hotsiy
8dbe938195
feat: add hideDownloadButton option 2018-03-07 17:21:17 +02:00
Roman Hotsiy
0658b8ea67
chore: export hydrate from standalone build 2018-03-07 17:14:23 +02:00