Commit Graph

346 Commits

Author SHA1 Message Date
Cédric Bertolini
851b1337cb fix: change fontFamily for EndpointInfo (#866) 2019-03-27 22:16:11 +02:00
Roman Hotsiy
548fae3cbc
fix: remove huge space after Authentication section
fixes #872
2019-03-27 12:35:48 +02:00
Anton Komarev
4366a0d122 fix: ignore empty x-tagGroups array (#869) 2019-03-27 09:19:24 +02:00
Patrick Rodacker
2f65f051e0 chore: fixes typo in error message for detecting a circular dependency in theme.ts (#852) 2019-03-18 09:08:44 +02:00
Roman Hotsiy
dc77d8f25e
chore: minor refactor 2019-03-15 17:20:20 +02:00
Jon Nicholson
b21cd3d366 fix: tidy up non-redoc vendor extension presentation (#847) 2019-03-15 17:15:06 +02:00
tomjankes
56ca3716b3 feat: display requestBody description #833 (#838) 2019-03-15 12:09:07 +02:00
Roman Hotsiy
d81b63147c
fix: add extra deref step for anyOf/oneOf variants
fixes #810
2019-03-15 11:22:39 +02:00
Pete Nykänen
869a91ae4d chore: Remove duplicate re-export from index.ts (#842) 2019-03-15 09:07:39 +02:00
Roman Hotsiy
2cdfcd25cd
feat: support externalValue for examples
implements #551, related to #840
2019-03-11 17:14:14 +02:00
Roman Hotsiy
309901bd31
chore: update deps 2019-03-11 17:14:14 +02:00
unarist
70faca17b6 fix: escape backslashes in string literals (#823)
Follow up for #822 and 04731656 (only escape quotes).
2019-02-26 11:31:42 +02:00
Roman Hotsiy
3ce5bff438
fix: duplicate keys in request samples
fixes #815
2019-02-26 10:41:52 +02:00
Roman Hotsiy
4dd79cd840
fix: set last section min-height
fixes #820
2019-02-26 10:41:52 +02:00
Roman Hotsiy
04731656db
fix: escape quotes in string values
fixes #882
2019-02-26 10:41:52 +02:00
Roman Hotsiy
d197c0feda
fix: make syntax highlighting for md js code blocks same as for payload samples 2019-01-23 20:11:32 +07:00
Roman Hotsiy
007752dfc4
fix: make padding for md code blocks and code samples consistent 2019-01-23 19:55:14 +07:00
Roman Hotsiy
801fea0474
chore: remove info.version validation 2019-01-17 18:43:02 +02:00
Roman Hotsiy
8c9e3bdbe4
chore: fix lint issue 2019-01-17 17:32:47 +02:00
Patrick Niklaus
fb3cb3627b fix: Only display API version if present (#773)
* Only display API version if present
* Warn if `info.version` is omitted, error if `info` is missing.
2019-01-17 17:24:05 +02:00
Roman Hotsiy
fa39ce4eef
fix: make example/defaults badge consistent with code blocks 2019-01-17 13:19:17 +02:00
Roman Hotsiy
c7436f2cee
fix: pattern constrain spacing 2019-01-17 12:54:59 +02:00
Roman Hotsiy
c04f387378
fix: sidebar navigation issues when scrollYOffset is float number
fixes #748
2019-01-17 12:20:22 +02:00
Luigi Pinca
02f6e1820b chore: update marked to version 0.6.0 (#768)
The new release includes https://github.com/markedjs/marked/pull/1383.
2019-01-17 12:06:35 +02:00
Roman Hotsiy
25dc775443
chore: fix ts declarations 2018-11-27 13:32:12 +02:00
Roman Hotsiy
59eaa8d633
fix: false-positive recursive detection with oneOf
fixes #723, fixes #585
2018-11-27 12:54:52 +02:00
Roman Hotsiy
e2d0cd5b18
fix: theme improvments by @stasiukanya
squashed commit of the following:

commit 6b07dc7fa0
Author: Anya Stasiuk <stasiukanya@gmail.com>
Date:   Wed Nov 7 15:18:26 2018 +0200

    theme fixes
2018-11-27 12:07:52 +02:00
Roman Hotsiy
f2f6909835
fix: fix spacing with nested markdown lists
fixes #718
2018-11-27 11:47:34 +02:00
Roman Hotsiy
155d214509
feat: add support for markdown in Server Object 2018-11-27 11:43:31 +02:00
Roman Hotsiy
3673720497
fix: nested oneOf button spacing
fixes #719
2018-11-27 11:36:07 +02:00
Roman Hotsiy
27d195ef38
chore: update styled components typings 2018-11-27 11:28:13 +02:00
TATSUNO Yasuhiro
87fd7d7fdd feat: Add feature to specify href for logo explicitly (#645)
Closes https://github.com/Rebilly/ReDoc/issues/627
2018-11-27 11:27:10 +02:00
Roman Hotsiy
e77df0ca07
fix: onLoaded callback not run on spec error
fixes #690
2018-11-06 14:09:10 +02:00
lscholten
f40568b79e feat: Add support for minLength and maxLength constraint humanization (#700)
According to #42 , `minItems` and `maxItems` are not yet rendered in the documentation.
This pull request shows the humazined form of `minItems` and `maxItems` next to the type description.
The [suggestion of fgabolde](https://github.com/Rebilly/ReDoc/issues/42#issuecomment-371883853) is followed and "characters" is simply replaced with "items".

![image](https://user-images.githubusercontent.com/1814807/47999845-0a13f900-e104-11e8-9ddc-adab701ec0bb.png)

Some examples are added to the demo.
2018-11-05 16:14:57 +02:00
Roman Hotsiy
b5f32247be
fix: fix hideHostname also hiding basePath
fixes #677
2018-11-05 15:57:01 +02:00
Roman Hotsiy
a69c402d9b
fix: improve scrolling performance in Chrome with non-wrapped json examples 2018-11-05 15:57:01 +02:00
Roman Hotsiy
9a238e75eb
chore: fix lint issue 2018-10-18 14:19:30 +03:00
William Boman
6b7c5b7df3 fix: add null check in dispose method (#675) 2018-10-18 14:12:14 +03:00
Roman Hotsiy
ef520eacfa
chore: upgrade to styled-components@4 2018-10-18 12:14:40 +03:00
Roman Hotsiy
00846e1f55
chore: update dev deps 2018-10-18 11:27:28 +03:00
Roman Hotsiy
a4a40135ec
fix: extensionHook not being used
fixes #665
2018-10-08 11:54:09 +03:00
Roman Hotsiy
14acab32b2
chore: minor refactor 2018-10-05 16:48:08 +03:00
TATSUNO Yasuhiro
10bca66dce feat: New option onlyRequiredInSamples (#646)
* Add onlyRequiredInSamples option that let user to show only required fields in Request samples.
2018-10-05 16:14:40 +03:00
Roman Hotsiy
fbcec82275
fix: minor media print improvements 2018-10-05 15:57:12 +03:00
Roman Hotsiy
393681b99e
feat: turn off code-blocks wrapping
Can enable using `typography.code.wrap` theme option, fixes #658
2018-10-05 15:10:53 +03:00
Roman Hotsiy
f39fc98eab
fix: fix panel paddings on small screens 2018-10-05 10:54:15 +03:00
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
b87cf0d8d5
feat: new option sortPropsAlphabetically 2018-10-04 11:10:37 +03:00
Roman Hotsiy
5924cd7ea2
chore: refactor components parsing in markdown 2018-10-04 10:49:43 +03:00