Commit Graph

298 Commits

Author SHA1 Message Date
Roman Hotsiy
35ba10f759
chore: refactor, unify markdown headings 2018-07-31 15:35:35 +03:00
Roman Hotsiy
d731518c8c
chore: refactor, rename StoreProvider to StoreBuilder 2018-07-30 12:51:50 +03:00
Roman Hotsiy
873fe05a5d
chore: SideMenu accept className 2018-07-26 18:00:30 +03:00
Roman Hotsiy
d74578dc9b
fix: remove break-all from code samples 2018-07-26 17:51:47 +03:00
Roman Hotsiy
9361ead8c4
chore: refactor, simplify AppStore 2018-07-26 17:51:10 +03:00
Roman Hotsiy
f96c481b34
fix: wrong display when combining multiple auth requirements
fies #577
2018-07-25 13:11:26 +03:00
Roman Hotsiy
b5d0aca9ae
chore: fix lint issues 2018-07-23 13:22:24 +03:00
Roman Hotsiy
9d6b30c55a
feat: simple variable substitution support
fixes #565
2018-07-23 12:00:30 +03:00
Roman Hotsiy
59e05fbe75
chore: fix typo SecurityRequirement
fixes #571
2018-07-23 11:20:56 +03:00
Roman Hotsiy
21f34b1e59
chore: minor typings fix 2018-07-23 11:19:13 +03:00
Roman Hotsiy
2ff726649c
chore: run prettier 2018-07-23 11:17:31 +03:00
Roman Hotsiy
b41b181dd0
fix: server url contains spec name if not specified in the spec 2018-07-23 11:16:54 +03:00
Roman Hotsiy
cbfc226fa9
chore: minor css improvements 2018-07-19 17:12:31 +03:00
Roman Hotsiy
8c9304a719
Fix: unify code samples and json styling, stop using injectGlobal for prism
fixes #491
2018-07-19 17:07:11 +03:00
Roman Hotsiy
58bddc8811
feat: big theme update 2018-07-19 14:33:51 +03:00
Roman Hotsiy
7e5b6d9029
fix: properly host oneOf inside allOf
fixes #507
fixes #528
2018-07-18 13:03:42 +03:00
Roman Hotsiy
89aa754063
fix: different output of cli bundle and redoc
fixes #547
2018-07-18 11:51:34 +03:00
Roman Hotsiy
dcca44a92d
fix: fix non-scalar query/path/header params are not expandable
fixes #561
2018-07-17 15:50:14 +03:00
SeungWoon Maz Lee
8817d9c9db fix: use original tag name when slugified one is not valid (#553)
* use original tag name when slugified one is not valid

* use wrapper function when using slugify
2018-07-17 15:21:03 +03:00
Roman Hotsiy
c35925a332
fix: fix Download button url when spec as object was provided
+ do not output huge base64 encoded link when SSR, instead use button handler

fixes #462
related #540
2018-07-17 12:22:27 +03:00
Roman Hotsiy
edc77a2017
chore: update ts and enable noUnusedLocals 2018-07-17 12:15:22 +03:00
Roman Hotsiy
d4ab5adc17
feat: new option disableSearch 2018-07-17 11:07:49 +03:00
Roman Hotsiy
c7b3e47366
chore: remove unused imports after fix in TS@2.9.1 2018-07-16 18:28:36 +03:00
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