Commit Graph

504 Commits

Author SHA1 Message Date
Roman Hotsiy
a260c8414c
fix: fix duplicated content in tags when using md headings
fixes #1150, fixes #1152
2020-01-10 15:19:05 +02:00
Anna Stasiuk
41a9b3c182 fix: use mobile menu background color value from theme (#1144) 2019-12-16 11:59:22 +02:00
Roman Hotsiy
942d782b5a
fix: fix missing parameters
fixes #1142
2019-12-13 19:25:31 +02:00
Nan Yan
d92434d11b fix: fix sortByRequired (stabilise sort) (#1136)
fixes #1104
fixes #1121
fixes #1061
2019-12-13 11:34:41 +02:00
Roman Hotsiy
1bf490c05b
fix: search-box use theme 2019-12-13 11:29:12 +02:00
Roman Hotsiy
eaaa99d68e
feat: new option payloadSampleIdx 2019-12-12 19:12:50 +02:00
Roman Hotsiy
448b1b48c8
chore: refactor request samples 2019-12-12 18:37:47 +02:00
Roman Hotsiy
cbb9f50fa0
fix: remove implicit discriminator mapping when explicit is present 2019-12-12 18:05:37 +02:00
Roman Hotsiy
11cc4c4c3e
feat: new option hideSchemaTitles 2019-12-12 17:32:03 +02:00
Roman Hotsiy
4a25aaef69
fix: python comment stripped in headings
fixes #1116
2019-12-12 17:32:02 +02:00
Roman Hotsiy
7ed1a7ef0e
fix: h2 padding on mobile
fixes #1118
2019-12-12 17:32:02 +02:00
Roman Hotsiy
094ce914e3
fix: remove hardcoded fontFamily for oneOf labels
fixes #1120
2019-12-12 17:32:02 +02:00
Roman Hotsiy
6e390f9c79
fix: support discriminator mapping 1-n
fixes #1111
2019-12-12 17:32:02 +02:00
Roman Hotsiy
5d81abeb28
feat: enable menuToggle by default 2019-12-12 17:32:02 +02:00
Roman Hotsiy
4bb59d5d4d
chore: upgrade deps 2019-12-12 17:32:02 +02:00
Roman Hotsiy
6aeb0bf68d
fix: do not URI-encode parameter values for better readability
fixes #1138
2019-12-12 17:32:02 +02:00
Chris Faulkner
42696a01ba doc: fix some typos (#1117) 2019-12-10 08:13:37 +02:00
torbenw
289c8e6ae1 fix: change the title of "Security Scheme Type" to match "HTTP Authorization Scheme" (#1126) 2019-12-10 08:04:42 +02:00
Dimitar Nanov
3e90133664 feat: display multipleOf constrains (#1065) 2019-12-08 11:54:07 +02:00
Andrii Tykhan
dc5430e53d fix: wrap json examples in code tag (#1064) 2019-10-22 16:37:32 +03:00
Roman Hotsiy
cd9fd61831
fix: add oneOf buttons vertical space when wrapped to new line 2019-10-16 17:21:32 +03:00
Roman Hotsiy
ce885f864a
fix: improve mime-type dropdown font 2019-10-16 17:19:42 +03:00
Roman Hotsiy
0a01e9a080
fix: active menu item scroll into view 2019-10-16 16:07:42 +03:00
Andrew Zhukevych
0c20e64178 fix: changed several components style font-family to monospace (#1063)
fixes #909
2019-10-16 16:02:50 +03:00
russellrobinson
b5af71da5f fix: no quotes for default values in header fields. (#1059) 2019-10-16 16:01:54 +03:00
Michael Huynh
4494f80dbc fix: types over-pluralization (#1057)
fixes #1053
2019-10-12 12:33:03 +03:00
Roman Hotsiy
d09c1c1086
fix: fix scrollYOffset when SSR 2019-09-30 14:39:58 +03:00
Roman Hotsiy
e318fb3381
fix: remove excessive whitespace between md sections on small screens
fixes #874
2019-09-30 13:10:35 +03:00
Roman Hotsiy
faa74d6002
fix: false-positive recursive detection with allOf at the same level 2019-09-30 12:56:09 +03:00
Roman Hotsiy
4649683785
fix: clicking on group title breaks first tag
fixes #1034
2019-09-30 12:56:09 +03:00
Roman Hotsiy
67e2a8fb79
fix: left menu item before group is not highligted
fixes #1033
2019-09-30 12:56:09 +03:00
Roman Hotsiy
5aa7784307
fix: auth section appears twice
fixes #818
2019-09-30 12:56:09 +03:00
Roman Hotsiy
e787d9e276
fix: do not crash on empty scopes
fixes #1044
2019-09-30 12:56:09 +03:00
Antherkiv
0360dcee5a feat: new option expandDefaultServerVariables (#1014)
Recover server expanding default variables

This reverts commit 7849f7f6b7.
2019-09-30 09:39:19 +02:00
Roman Hotsiy
f0c2181bd1
chore: upgrade deps 2019-09-30 10:34:49 +03:00
Roman Hotsiy
21258a5b61
fix: fix scrollYOffset when SSR 2019-09-30 10:31:18 +03:00
Peter Wessels
32a464aaa8 fix: use url-template dependency (#1008)
Fixes #1007
2019-09-30 09:12:26 +02:00
Anthony Porthouse
350649d8b3 chore: correct typo of expolde to explode (#1009) 2019-09-25 18:11:53 +02:00
Roman Hotsiy
58cb20d4b2
fix: fix escaping JSON string values
fixes #999
2019-08-07 12:02:25 +03:00
Anya Stasiuk
7849f7f6b7 fix: revert expanding default server variables 2019-08-07 11:41:50 +03:00
Roman Hotsiy
1367380a88
fix: support json serialization for parameter examples
fixes #934
2019-08-01 11:20:44 +03:00
Roman Hotsiy
2afc2e4921
fix: unify accordion icons for responses section
fixes #975
2019-08-01 10:41:13 +03:00
Roman Hotsiy
9e3375d12d
fix: update to core.js 3
fixes #997
2019-08-01 10:35:32 +03:00
Roman Hotsiy
bfbb0c1787
fix: enum list doesn't wrap
fixes #993
2019-08-01 10:32:11 +03:00
Roman Hotsiy
aba45dbbe6
fix: incorrect serialization of some parameter samples
fixes #992
2019-08-01 10:31:41 +03:00
Roman Hotsiy
cb5c19781c
chore: add more exports 2019-07-30 19:53:47 +03:00
Roman Hotsiy
4496622438
fix: rename ObjectDescription to SchemaDefinition as discussed 2019-07-30 19:51:27 +03:00
Roman Hotsiy
70d1ee9edd
fix: do not add extra slashes to pattern
fixes #983
2019-07-30 10:54:40 +03:00
Roman Hotsiy
12e7394ea3
chore: update deps 2019-07-29 18:41:57 +03:00
Roman Hotsiy
f7dd658a01
fix: incorrect serialization of parameter sample with hypen 2019-07-29 18:40:47 +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
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
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
00a0abf4a4
chore: refactor + jsxify md tags 2019-07-29 13:19:22 +03:00
Dimitar Nanov
413e1fad5b
remove forgotten console.log 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
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
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
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
d78029a04e
chore: move repo to Redocly org 2019-06-04 15:47:22 +03:00
Roman Hotsiy
f29a4fe2ee
fix: fix regression double slashes added to full URL display 2019-05-13 23:23:37 +03:00
Roman Hotsiy
3d52b39274
fix: crash with empty servers with redoc-cli 2019-05-13 15:49:54 +03:00
Roman Hotsiy
4e12b5dbd6
fix: fix broken CLI again 2019-05-13 13:08:26 +03:00
Roman Hotsiy
81896d32b8
fix: fix logo gutter bg 2019-05-13 12:18:15 +03:00
Roman Hotsiy
4c59628e14
fix: fix logo gutter bg 2019-05-13 12:16:54 +03:00
Roman Hotsiy
8df2b97a66
fix: crash in node due to broken URL parsing 2019-05-13 12:07:31 +03:00
Roman Hotsiy
3f6765078e
chore: fix react keys warning 2019-05-13 12:06:26 +03:00
Roman Hotsiy
2491d970de
fix: deep linking sometimes not working when sent over messengers 2019-05-13 09:51:58 +03:00
Roman Hotsiy
3a74b745b1
fix: broken schema talbes with long enums 2019-05-13 09:50:51 +03:00
Roman Hotsiy
a3d7d7a32c
fix: discriminator and oneOf title fix 2019-05-13 00:31:41 +03:00
Roman Hotsiy
d2ce1bd928
fix: IE11 add missing fetch and URL polyfills
fixes #875
2019-05-13 00:07:26 +03:00
Roman Hotsiy
7d7b4e3fb8
fix: incorrect detected schema title for deeply inherited schemas 2019-05-12 23:18:17 +03:00
Roman Hotsiy
b0e660eca0
feat: basic UI labels configuration
This can be used for translations later
2019-05-12 23:18:17 +03:00
Roman Hotsiy
fdcac30829
fix: pluralize arrray of types 2019-05-12 23:17:26 +03:00
Roman Hotsiy
5c187f34c9
fix: remove tabs top margin 2019-05-12 23:17:26 +03:00
Roman Hotsiy
6de3523eb0
chore: fix bundle after oas-kit update 2019-05-12 23:17:26 +03:00
Roman Hotsiy
5297fdf01a
chore: minor refactor of example values 2019-05-12 23:17:26 +03:00