Roman Hotsiy
974bc7ddb0
fix: remove extra-padding caused by empty group sections
2018-10-05 10:49:46 +03:00
Roman Hotsiy
505463f5ab
feat: new theme options spacing-> sectionHorizontal and sectionVertical
2018-10-05 10:49:23 +03:00
Roman Hotsiy
5924cd7ea2
chore: refactor components parsing in markdown
2018-10-04 10:49:43 +03:00
Ingo Claro
e9610e92d4
feet: add the option to render vendor extensions ( #552 )
...
* add the option to render vendor extensions
* refactor Extensions, move Redoc extension list to utils file
* feat: new option showExtensions (support list of extensions)
2018-10-03 10:02:30 +03:00
Roman Hotsiy
cb79271ae4
chore: render section instead of throw
2018-09-14 09:55:02 +03:00
Roman Hotsiy
cbc9eab00a
chore: minor fix after dense->compact rename
2018-09-10 18:41:36 +03:00
Matthias Mohr
893c83ed07
feat: externalDocumentation rendered for tags, operations and schema fields ( #595 )
...
The externalDocs were missing for tags, schemata and operations. Added them with this pull requests. Solves #550 .
Additionally, fixes that the URL in External Documentation Object was specified to be optional, which is not correct according to OpenAPI spec.
2018-09-10 18:23:17 +03:00
Fredrik Lengstrand
4b3b5ba974
fix: Increase badge size slightly so that "PATCH" method fits inside ( #632 )
2018-09-05 09:44:47 +03:00
Roman Hotsiy
0dd1c800c1
chore: update deps + fix deprecation warnings
2018-08-24 12:27:53 +03:00
Roman Hotsiy
865f3ced4b
fix: addd indent to array schema internals
2018-08-24 12:27:53 +03:00
Roman Hotsiy
1ba8a4cf7b
chore: remove class active from group items + fix e2e tests
2018-08-22 13:22:58 +03:00
Roman Hotsiy
5d84bd4656
fix: make http badges font-based instead of inline png
2018-08-19 16:50:15 +03:00
Roman Hotsiy
528b8fbebc
chore: prettier all
2018-08-18 16:23:33 +03:00
Roman Hotsiy
3ccc9c4ea6
chore: update to typescript@3
2018-08-17 16:57:32 +03:00
Roman Hotsiy
43a22f5531
chore: refactor links
2018-08-17 14:54:28 +03:00
Roman Hotsiy
d3d35189f5
chore: refactor, move allowedMdComponents to options
2018-08-17 14:41:22 +03:00
Roman Hotsiy
0cf7191144
chore: various small refactorings
2018-08-16 12:36:51 +03:00
Roman Hotsiy
eae11682b8
chore: sections/markdown refactor
2018-08-16 09:56:47 +03:00
Roman Hotsiy
d13fe13eb8
fix: fix auth requirements font size
2018-08-09 08:53:35 +03:00
Roman Hotsiy
334f9047a8
fix: download button downloads index.html instead of spec with CLI
...
fixes #594
2018-08-08 12:03:55 +03:00
Roman Hotsiy
23559fbece
fix: preserve md heading level in description
2018-08-08 11:42:07 +03:00
Roman Hotsiy
597688e720
fix: add some spacing between operation description and parameters
2018-08-07 18:08:43 +03:00
Roman Hotsiy
2ecc8bc58e
fix: fix Authentication section is not rendered
...
fixes #590
2018-08-07 18:08:43 +03:00
Roman Hotsiy
8fb9cd6bac
fix: fix linebreaks in multiparagraph field descriptions
2018-08-07 18:08:43 +03:00
Sheila Kelly
568ce74077
feat: Add x-logo alt text support ( #584 )
...
Fixes #546
2018-08-02 15:27:38 +03:00
Roman Hotsiy
00bd966797
feat: support label for x-code-samples
...
fixes #586
2018-08-01 10:20:16 +03:00
Roman Hotsiy
ba22b1e352
fix: show examples for response headers
...
fixes #575
2018-07-31 16:55:06 +03:00
Roman Hotsiy
15dfe44d4e
fix: allow word-break in code strings in md
2018-07-31 16:45:56 +03:00
Roman Hotsiy
d99e9188fd
fix: long endpoint url overflow
2018-07-31 16:14:12 +03:00
Roman Hotsiy
a4f79bf8c2
chore: refactor, separate active and expanded state for menu items
2018-07-31 15:55:35 +03:00
Roman Hotsiy
5ebab5f942
chore: perfect scrollbar wrapper to maintain initial offset
2018-07-31 15:36:30 +03:00
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
59e05fbe75
chore: fix typo SecurityRequirement
...
fixes #571
2018-07-23 11:20:56 +03:00
Roman Hotsiy
2ff726649c
chore: run prettier
2018-07-23 11:17: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
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
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
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
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
49feddaa10
chore: update snapshots
2018-06-25 14:00:08 +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
Jérémy Derussé
4694b6f9ca
fix: Use item's title in array definition ( #526 )
2018-06-21 13:10:10 +03:00
Roman Hotsiy
c8a5f36f17
fix: fix IE11 crash + remove unused polyfills
...
fixes #448
2018-06-20 19:57:52 +03:00
Jérémy Derussé
35f83e491a
chore: escape HTML ( #527 )
2018-06-18 15:58:26 +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
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
6ea2b7b0e6
fix: fix font-weight inconsistency
...
fixes #506
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
f8b793d2dc
feat: new theme colors: code and codeBg
2018-05-28 21:47:37 +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
e13d172502
chore: allow for children in MenuItemTitle
2018-05-18 15:09:30 +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
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
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
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
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
5b136c1a2f
tests: prefer attributes over classes in e2e tests
2018-03-19 16:33:26 +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
e0223494c2
feat: use new Context API for options
2018-03-17 22:04:37 +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