Roman Hotsiy
3c8d6b623c
chore: fix lint issue + update readme
2018-10-03 11:02:13 +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
fe3383d1a3
fix: allOf inside oneOf overwritten and not rendered
...
fixes #660
2018-10-01 10:19:26 +03:00
Roman Hotsiy
355764dcd4
fix: server overriding didn't work on Path Item object
...
fixes #656
2018-09-27 18:21:24 +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
81c0df092a
chore: add tests for one of titles
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
39b930d0ee
fix: fix oneOf/anyOf titles
...
fixes #618 , #621
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
c8b7eed7f0
chore: add sql-syntax for prism.js
2018-08-22 12:47:35 +03:00
Roman Hotsiy
720e28284c
fix: do not inherit title in allOf
...
fixes #601
2018-08-22 12:27:13 +03:00
Roman Hotsiy
fb212128f9
fix: fix crash on empty media object
...
fixes #608
2018-08-22 12:25:02 +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
b9c1b49810
chore: minor fixes after refactor
2018-08-17 15:01:18 +03:00
Roman Hotsiy
43a22f5531
chore: refactor links
2018-08-17 14:54:28 +03:00
Roman Hotsiy
cfddb3afe1
chore: refactor HistoryService
2018-08-17 14:50:58 +03:00
Roman Hotsiy
d3d35189f5
chore: refactor, move allowedMdComponents to options
2018-08-17 14:41:22 +03:00
Roman Hotsiy
f903406c14
fix: use correct parent section for security definition
2018-08-17 14:20:02 +03:00
Roman Hotsiy
4ef4a971ce
chore: unify parsing components in md
2018-08-16 12:37:39 +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
8218a2694d
fix: broken rendering of code blocks with language in markdown
2018-08-11 23:15:05 +03:00
Roman Hotsiy
e660517a2a
fix: broken rendering of headings with regexp characters
2018-08-11 23:14:09 +03:00
Roman Hotsiy
d13fe13eb8
fix: fix auth requirements font size
2018-08-09 08:53:35 +03:00
Roman Hotsiy
58ae668f64
fix: crash on any backticks code block without lang specified
2018-08-09 08:44:01 +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
97e16208d5
fix: schemes without type: object are not expandable
...
fixes #599
2018-08-08 11:41:53 +03:00
Roman Hotsiy
597688e720
fix: add some spacing between operation description and parameters
2018-08-07 18:08:43 +03:00
Roman Hotsiy
9e69eedea0
chore: fix lint issues in tests
2018-08-07 18:08:43 +03:00
Roman Hotsiy
90ed717bb5
fix: description is not rendered if doesn't containt markdown headings
...
fixes #591
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
Matthias Mohr
f70ac081fe
fix: render additionalProperties set to true ( #597 )
...
fixes #596
2018-08-07 13:02:39 +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
7a35a4d0de
chore: tests crash fix after refactor
2018-07-31 16:58:44 +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
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
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
Roman Hotsiy
8757fa510a
fix: add extra null-check + warning
2018-03-07 16:43:56 +02:00
Roman Hotsiy
a78f9ab688
fix: fix right-panel blinking when scrolling + css improvements
2018-03-07 13:00:03 +02:00
Roman Hotsiy
4896346998
fix: fix worker import
2018-03-06 14:20:44 +02:00
Roman Hotsiy
29b0846e57
chore: add dead-simple example of SSR
2018-03-06 13:16:03 +02:00
Roman Hotsiy
1428fb52e0
fix: fix search-indexing for SSR
2018-03-06 13:12:14 +02:00
Roman Hotsiy
e94f84283d
feat: serialize search-index
2018-03-06 13:10:08 +02:00
Roman Hotsiy
61bb79e8b0
chore: fix lint issues
2018-03-05 17:58:19 +02:00
Roman Hotsiy
67e459f0c7
chore: do not prioritize tag elements over operations
2018-03-05 17:55:12 +02:00
Roman Hotsiy
825162e5d7
feat: add clear icon to searchbox
2018-03-05 17:52:50 +02:00
Roman Hotsiy
b797c965b2
fix: various search fixes
2018-03-05 17:48:34 +02:00
Roman Hotsiy
1ff2bd84cc
feat: add marker
2018-03-05 16:21:16 +02:00
Roman Hotsiy
ecf33d2dca
feat: reqired-first sort order for params
2018-03-05 16:18:39 +02:00
Roman Hotsiy
8bd71deebe
chore: update deps
2018-03-05 14:37:42 +02:00
Roman Hotsiy
6df8127e77
fix: skipReadOnly/skipWritOnly not passing down to nested array
2018-03-05 14:37:02 +02:00
Roman Hotsiy
8926dd457c
fix: merge inner properties of allOf
2018-03-05 14:08:27 +02:00
Roman Hotsiy
2462639f76
fix: skipReadOnly/skipWritOnly not passing down to nested OneOf
2018-03-05 13:31:27 +02:00
Roman Hotsiy
02c2413da8
fix: fix overflowing content in JSON samples
2018-03-05 13:14:26 +02:00
Roman Hotsiy
87abdf79d8
fix: writeOnly not respected in response samples
2018-03-05 13:04:49 +02:00
Roman Hotsiy
0f1b6a622e
fix: one-of dropdown not switching
2018-03-05 12:52:47 +02:00
Roman Hotsiy
bcf39dc2cf
fix: discriminator dropdown showing incorrect field if sorted
2018-03-05 12:50:25 +02:00
Cesar Landeros Delgado
3924d3c1be
fix: fix the media queries utils so it gets the values from the current theme ( #420 )
2018-02-25 12:13:42 +02:00
Roman Hotsiy
f30a92be82
chore: fix lint issue
2018-02-18 12:32:02 +02:00
Roman Hotsiy
b33b9543fa
chore: add a few more integration tests
2018-02-17 21:27:15 +02:00
Roman Hotsiy
13165fb8fc
fix: referenced header name is empty
2018-02-12 10:20:24 +02:00
Roman Hotsiy
e1b2065b2e
refactor: switch to simple Tooltip (🗜 yet another 83kB to bundle size)
2018-02-09 13:41:26 +02:00
Roman Hotsiy
213f85b719
refactor: switch to marked (🗜 -81kB to minified bundle size)
2018-02-09 13:30:33 +02:00
Roman Hotsiy
6990cd2f24
feat: basis search
2018-02-08 18:46:32 +02:00
Roman Hotsiy
71e189ffc5
chore: refactor ObjectSchema and Field, less rerenders on expand
2018-02-08 11:40:43 +02:00
Roman Hotsiy
1f7fc44292
fix: fix crash when referencing non-existing security scheme
2018-02-08 10:34:49 +02:00
Roman Hotsiy
1f3701d3a9
fix: fix oneOf title for array
2018-02-08 01:18:04 +02:00
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