Commit Graph

2566 Commits

Author SHA1 Message Date
Roman Hotsiy
299a59faad
feat: new option menuToggle - fold active MenuItem if clicked (#963)
update: fold active MenuItem if clicked
2019-07-29 17:33:58 +03:00
Roman Hotsiy
1504ade0e2
chore: add docs 2019-07-29 17:33:22 +03:00
Roman Hotsiy
bfd703d2da
Merge branch 'master' into update/toggleMenuItem 2019-07-29 17:30:26 +03:00
Roman Hotsiy
2588160d7c
chore: refactor 2019-07-29 17:29:32 +03:00
Roman Hotsiy
f7248135b1
fix(cli): Add missing content type header on compressed responses of / 2019-07-29 17:18:51 +03:00
Roman Hotsiy
ac41f0bde5
feat: menu items from tags + md extension for Schema Definition (#681)
* add section menus for tags and object description

* bundle and test

* add depth calculation

* add object descriptions to test

* enable operations spacing for operations as well

* bring back section rule, as this could be solved better

* update read/writeonly filter rule to be able to filter both

* add showReadOnly and showWriteOnly options to object-description

* update demo to show use cases

* remove forgotten console.log

* adjust demo test with newly added items

* do the right match with the menu items :/

* chore: refactor + jsxify md tags

* chore: simplify demo spec

* fix: dropdown fixes related to object description
2019-07-29 17:17:16 +03:00
Roman Hotsiy
9bf45d810e
chore: rename ObjectDescription to SchemaDefinition 2019-07-29 17:14:39 +03:00
Roman Hotsiy
e4c3af6549
chore: fix addons in .travis.yml 2019-07-29 16:58:51 +03:00
Roman Hotsiy
6c48372aeb
chore: update travis config 2019-07-29 15:54:55 +03:00
Roman Hotsiy
a282b92024
chore: temporary disable bundlesize in Travis 2019-07-29 15:39:33 +03:00
Aleksandr Karo
d3f1c1677c feat: add sampleCollapseLevel option (#937)
* feat: add sampleCollapseLevel option

* fix: rename sampleCollapseLevel option to jsonSampleExpandLevel
Change README.md description

* fix: provide maxCollapseLevel option via argument

* fix: rename normalizer function and some vars
2019-07-29 15:26:16 +03:00
Roman Hotsiy
0504ad4b76
fix: dropdown fixes related to object description 2019-07-29 15:14:39 +03:00
Roman Hotsiy
7c06735c6d
chore: fix test 2019-07-29 14:39:21 +03:00
Roman Hotsiy
7883fad333
chore: simplify demo spec 2019-07-29 13:19:22 +03:00
Roman Hotsiy
00a0abf4a4
chore: refactor + jsxify md tags 2019-07-29 13:19:22 +03:00
Dimitar Nanov
8c27d31396
do the right match with the menu items :/ 2019-07-29 13:19:21 +03:00
Dimitar Nanov
e4d8fa23d7
adjust demo test with newly added items 2019-07-29 13:19:21 +03:00
Dimitar Nanov
413e1fad5b
remove forgotten console.log 2019-07-29 13:19:21 +03:00
Dimitar Nanov
51b5d04fcc
update demo to show use cases 2019-07-29 13:19:21 +03:00
Dimitar Nanov
6935b16964
add showReadOnly and showWriteOnly options to object-description 2019-07-29 13:19:21 +03:00
Dimitar Nanov
a8f70377ab
update read/writeonly filter rule to be able to filter both 2019-07-29 13:19:21 +03:00
Dimitar Nanov
5addc21cd8
bring back section rule, as this could be solved better 2019-07-29 13:19:21 +03:00
Dimitar Nanov
2f34b8ebaf
enable operations spacing for operations as well 2019-07-29 13:19:21 +03:00
Dimitar Nanov
e9f8bdb10c
add object descriptions to test 2019-07-29 13:19:21 +03:00
Dimitar Nanov
92ada2b895
add depth calculation 2019-07-29 13:19:21 +03:00
Dimitar Nanov
ffb70d2db2
bundle and test 2019-07-29 13:18:51 +03:00
Dimitar Nanov
4359724434
add section menus for tags and object description 2019-07-29 13:17:59 +03:00
Anna Stasiuk
7db7d4fc91 chore: refactor expandServerVariables function (#978) 2019-07-29 13:08:17 +03:00
Anna Stasiuk
afc7e36cf8 feat: Add option for skipping quotes in enums enumSkipQuotes (#968)
* feat: add option for skipping enum quotes
* chore: move enumSkipQuotes
2019-07-15 11:14:48 +03:00
leoliu
2f80394e3c add an option for menu toggle 2019-07-11 17:25:13 +08:00
Roman Hotsiy
7219344f2f
chore(cli): redoc-cli v0.8.5 2019-07-08 08:50:23 +03:00
Roman Hotsiy
685febb116
chore(cli): update deps 2019-07-08 08:50:05 +03:00
Roman Hotsiy
6dc54e9344
chore(cli): bump redoc 2019-07-08 08:44:11 +03:00
Roman Hotsiy
f2210fd86f
chore: Release 2.0.0-rc.10 🔖 2019-07-08 08:31:50 +03:00
Roman Hotsiy
12b7057055
fix: fix fields table overflow if deeply nested with long title 2019-07-08 08:30:04 +03:00
Roman Hotsiy
45c0c23c73
chore: prettier all 2019-07-07 23:34:09 +03:00
Roman Hotsiy
84e03e2d07
chore: prettier + export 2019-07-07 23:33:46 +03:00
Roman Hotsiy
f52d9e875b fix: markdown in examples descriptions + minor ui tweaks 2019-07-07 21:28:19 +03:00
Anya Stasiuk
995e557d6d fix: organize response examples in dropdown and display description 2019-07-07 21:28:19 +03:00
Roman Hotsiy
51d3b9b02b
fix: broken headings with single quote
fixes #955
2019-07-07 21:26:29 +03:00
Roman Hotsiy
4bd499f0e9
fix: hide empty example when it is not defined 2019-07-07 19:43:31 +03:00
leoliu
65ccebd9e2 update: collapse active MenuItem if clicked 2019-07-04 11:41:31 +08:00
Andrew Berry
c99d9f6983
Add missing content type header on compressed responses of / 2019-06-28 10:02:05 -04:00
Roman Hotsiy
027d83a88f
chore: Release 2.0.0-rc.9 🔖 2019-06-27 15:53:53 +03:00
Roman Hotsiy
5270737a98
chore: add core-js as peer-dep
fixes #814
2019-06-20 19:08:51 +03:00
Mathias Schreck
39392869f4 fix: serialize parameter example values according to the spec (#917) 2019-06-20 16:44:02 +03:00
Roman Hotsiy
888f04e872
fix: IE11, add missing Object.assign polyfill 2019-06-20 10:49:14 +03:00
David Beacham
0eb1e66a10 feat: add x-additionalPropertiesName (#622) (#944)
* Add x-additionalPropertiesName (#622)

Supply custom name to be displayed for property name of
`additionalProperties`.

* Include prettier output for Schema.ts
2019-06-18 11:41:48 +03:00
zhzxang
c488bbf305 fix: styled-component style error in tabs (#946) 2019-06-18 11:39:38 +03:00
Roman Hotsiy
753b013eee
chore: fix stars iframe after repo transfer 2019-06-04 16:02:16 +03:00