Commit Graph

1890 Commits

Author SHA1 Message Date
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
56ad8443b7
docs: add note about peerDependencies
closes #662
2018-10-04 11:15:55 +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
Roman Hotsiy
aeda21bcd5
chore: upgrade marked to 0.5.1 2018-10-04 10:48:37 +03:00
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
533733bc7f
chore(cli): redoc-cli v0.6.4 2018-09-28 17:10:51 +03:00
Roman Hotsiy
4ab97c1316
chore(cli): redoc-cli v0.6.3 2018-09-28 16:53:26 +03:00
Roman Hotsiy
2d63fa0ba0
fix(cli): add styled-components to dependencies 2018-09-28 16:52:20 +03:00
Roman Hotsiy
d0c38cd158
chore: inconsistent local and travis, Revert "tests: add basic screenshot test for schema view"
This reverts commit 10ab7dabc0.
2018-09-28 16:49:34 +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
10ab7dabc0
tests: add basic screenshot test for schema view 2018-09-27 11:31:08 +03:00
Roman Hotsiy
955be200b8
chore: do not emit declarations for demo build 2018-09-19 10:08:24 +03:00
Roman Hotsiy
5a192dbf74
chore: fix demo on IE
closes #647
2018-09-19 09:59:14 +03:00
Roman Hotsiy
ab98ab0cb2
chore: Release 2.0.0-alpha.39 🔖 2018-09-14 09:59:52 +03:00
Roman Hotsiy
cd981117b0
chore: move styled-components to peerDependencies
fixes #626
2018-09-14 09:58:05 +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
822d038190
chore(cli): redoc-cli v0.6.2 2018-08-24 17:35:28 +03:00
Sérgio Ramos
82a038bf61 chore(cli): update cli dependencies (#620) 2018-08-24 17:34:34 +03:00
Roman Hotsiy
f7acc7bb8d
chore: Release 2.0.0-alpha.38 🔖 2018-08-24 13:22:39 +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
kmbenitez
a5f9f6b2cc chore: Update readme color customization example (#619)
[ci skip]
2018-08-23 18:58:13 +03:00
Roman Hotsiy
f958571c0a
chore: Release 2.0.0-alpha.37 🔖 2018-08-22 13:23:36 +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
a87440113b
chore: downgrade ts-jest due to broken coverage 2018-08-18 16:31:26 +03:00
Roman Hotsiy
528b8fbebc
chore: prettier all 2018-08-18 16:23:33 +03:00
Roman Hotsiy
93e844c3d0
chore: update babel to latest rc 2018-08-18 16:21:32 +03:00
Roman Hotsiy
0292b77d51
chore: downgrade marked 2018-08-17 17:26:20 +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