Commit Graph

543 Commits

Author SHA1 Message Date
romanhotsiy
3ba622f3ab
fix: add includes polyfill
fixes #1530
2021-02-15 14:51:25 +02:00
Roman Hotsiy
8270481e9f
fix: false-positive recursive tag case when using oneOf + allOf (#1534) 2021-02-15 14:50:35 +02:00
Anton Kozachuk
d288165a4e
fix: background-color in search results (#1531)
* fix: background-color in search results

* Delete some changes
2021-02-15 14:14:54 +02:00
Anton Kozachuk
c874a5942c
fix: pass boolean and number values as a string in highlight function (#1512) 2021-01-30 14:19:18 +02:00
romanhotsiy
0dce880dce
fix: crash on multiple examples on parameter object
fixes #1485
2021-01-28 11:21:25 +02:00
romanhotsiy
040ce72a8a
fix: fix SourceCodeWithCopy component to be non-pure 2020-12-11 11:14:01 +02:00
Anna Stasiuk
8c559bcbcd
fix: add missed labels to elements (#1445) 2020-11-30 12:51:27 +02:00
Anna Stasiuk
bb4594ee58
feat: add new option hideSchemaPattern (#1475)
* feat: add new option hideSchemaPattern
* chore: add hideSchemaPattern option to readme
2020-11-30 11:54:46 +02:00
Roman Hotsiy
d12e410d99
feat: support multiple examples for parameters (#1470) 2020-11-23 14:00:17 +02:00
romanhotsiy
d09e744d15
fix: limit autogen json samples depth to 10 2020-11-17 11:26:04 +02:00
Anna Stasiuk
702fea0f41
feat: add tabTextColor option for responses (#1451) 2020-11-05 15:23:05 +02:00
Anna Stasiuk
6bedcf94b2
fix: fix arrow color in responses (#1452) 2020-11-05 15:22:42 +02:00
Anna Stasiuk
4729fc3d8f
fix: remove duplicated slash if hideHostname option enabled (#1448) 2020-11-03 14:47:23 +02:00
Michael Huynh
c0ae9de607
feat: add field constraint indicator for uniqueItems (#1423)
* Add field constraint indicator for uniqueItems

Resolves #1353

* Update src/components/Fields/FieldContstraints.tsx

Co-authored-by: Roman Hotsiy <gotsijroman@gmail.com>
2020-10-27 10:51:44 +02:00
Anna Stasiuk
e2de5b065e
fix: increase colors contrast to make them more accessible (#1433) 2020-10-27 10:44:06 +02:00
Dávid Kaya
c11f679f82
fix: fix the name of OpenID Connect security scheme (#1425)
The official name of the OpenID Connect security scheme does not contain a space between 'Open' and 'ID', see https://openid.net/connect/.
2020-10-27 10:42:26 +02:00
romanhotsiy
0703f73f79
feat: new extensions hook PropertyDetailsCell + wrap property name into span 2020-10-16 18:24:26 +03:00
romanhotsiy
d4016b8142
chore: fix tests 2020-10-13 19:10:04 +03:00
Roman Hotsiy
26c407bd0f
fix: fix broken observable after mobx upgrade (#1415) 2020-10-13 18:59:58 +03:00
Roman Hotsiy
c90245598e
chore: update test snapshot (#1414) 2020-10-13 17:13:35 +03:00
Roman Hotsiy
a0f15d99f0
chore: upgrade to mobx@6 (#1412) 2020-10-13 16:58:27 +03:00
Roman Hotsiy
84ab95ddc7
fix: make schema layout more responsive on small screen (#1411) 2020-10-13 16:21:36 +03:00
Anna Stasiuk
146b38c9d0
fix: make samples accessible by keyboard (#1401)
* fix: make samples accessible by keyboard

* chore: set outline-width and padding to collapser
2020-10-13 14:56:03 +03:00
Anna Stasiuk
6632d84453
fix: hide dropdown input on IE 11 (#1403) 2020-10-13 14:50:00 +03:00
Roman Hotsiy
38ac792b85
chore: do not use single-letter tokens in search 2020-09-24 14:04:58 +03:00
Roman Hotsiy
346b10f173
feat: load external search index 2020-09-24 14:04:58 +03:00
Roman Hotsiy
9730c4ee1c
feat: support for ignoring specified named schemas 2020-09-24 14:04:57 +03:00
Roman Hotsiy
a5468fb7bb
fix: fix displaying top-level object without any properties 2020-09-24 14:04:57 +03:00
Anna Stasiuk
f3e8ab4f8e
fix: fix displaying response title (#1376) 2020-09-08 16:14:39 +03:00
Anna Stasiuk
a6b41aa00b
fix: show long pattern and add toggle button (#1375) 2020-09-07 12:53:30 +03:00
Anna Stasiuk
c801b87d2a
fix: display response code at the top after adding a line break (#1374)
* fix: display response code at the top after adding a line break

* chore: rename component from Strong to Code
2020-09-03 14:18:42 +03:00
Roman Hotsiy
be07197e6d
fix: invalid discriminator dropdown behaviour with enum 2020-08-24 12:03:44 +03:00
Roman Hotsiy
d009e4a959
fix: broken dropdowns with SSR by using forked react-dropdown-aria 2020-08-22 14:57:31 +03:00
Anna Stasiuk
46eee7b70c
fix: make callbacks expandable by keyboard (#1354) 2020-08-20 17:06:55 +03:00
James Harris
fed9a061d5
fix: scale sideMenu labels according to computed font size (#1356) 2020-08-20 16:43:12 +03:00
Roman Hotsiy
addf8956e3
fix: do not crash for invalid parameter.in value
closes #1340
2020-08-19 13:16:05 +03:00
Anna Stasiuk
7e7d95fe18
chore: export dropdown components (#1351) 2020-08-18 13:11:13 +03:00
Anna Stasiuk
41f81b4d96
feat: add webhooks support (#1304) 2020-08-14 16:33:25 +03:00
Anna Stasiuk
171711f79c
chore: export parameters and example components (#1347)
* chore: export parameters and example components

* chore: export OpenAPIEncoding interface
2020-08-14 12:24:22 +03:00
Roman Hotsiy
7af2efe731
feat: new option simpleOneOfTypeLabel 2020-08-04 12:21:58 +03:00
Anna Stasiuk
2ce71895bc
fix: make elements accessible by keyboard navigation tools (#1339)
* fix: make api endpoint selectable

* fix: make response schema details selectable

* fix: update react-dropdown-aria to make dropdowns selectable
2020-08-04 12:19:01 +03:00
Roman Hotsiy
9fe8a4b685
chore: fix eslint errors 2020-07-25 20:15:14 +03:00
Roman Hotsiy
aedfa47ba4
chore: upgrade deps
closes #1316
2020-07-25 20:15:14 +03:00
Roman Hotsiy
1976dd4ee2
chore: minor refactor in theme.ts 2020-07-25 20:15:14 +03:00
Barış
c9596d4b6c
fix: highlight json keys using different color (#1287) 2020-07-25 19:52:27 +03:00
Oleksiy Kachynskyy
de27ac0308
fix: update EnumValues component (#1324) 2020-07-24 10:15:36 +03:00
Oleksiy Kachynskyy
14e7db9403
feat: add maxDisplayedEnumValues config and buttons for show/hide enums (#1322) 2020-07-21 16:54:17 +03:00
Roman Hotsiy
a96a11a4dc
feat: new option sortEnumValuesAlphabetically (#1321) 2020-07-21 16:10:48 +03:00
Roman Hotsiy
371f3dfc4e chore: fix tests 2020-07-13 11:29:53 +03:00
Anya Stasiuk
30a27c116b fix: update focus styling 2020-07-13 11:29:53 +03:00