Commit Graph

207 Commits

Author SHA1 Message Date
Andriy Zaleskyy
6c7685e5fa
fix: No maxLength label is displayed for arrays of items #1701 (#1765)
* fix: No maxLength label is displayed for arrays of items #1701

* Revert "fix: No maxLength label is displayed for arrays of items #1701"

This reverts commit 543ecc4d39.

* fix: No maxLength label is displayed for arrays of items #1701

* change array items display

* fix alignment

* remove theme font from labels

* update snapshot

Co-authored-by: Oprysk <vyacheslav@redocly.com>
2022-01-05 17:11:05 +02:00
Oprysk Vyacheslav
ace52f7e49
chore: update packages (#1824) 2021-12-09 12:38:03 +02:00
Andriy Zaleskyy
3b8d6441bd
fix: The number of items in the array in the array is incorrect #1762 (#1763) 2021-10-11 13:05:50 +03:00
Andriy Zaleskyy
a8e0c29685
fix: Schema for events incorrectly omits readOnly and includes writeOnly (#1720 #1540) 2021-08-31 15:39:55 +03:00
AlexVarchuk
cd2d6f76e8
fix: improve openapi 3.1 (#1700) 2021-08-03 13:36:06 +03:00
romanhotsiy
99618bbee7
chore: fix demo slack url 2021-07-01 12:53:49 +03:00
romanhotsiy
f944da0e7d
chore: change cors url in the demo 2021-07-01 12:31:20 +03:00
Roman Hotsiy
f4ea368f78
feat: merge refs oas 3.1 (#1640) 2021-06-09 15:43:52 +03:00
romanhotsiy
0a4d172333
chore: remove extra webpack resolver 2021-06-09 15:10:32 +03:00
Roman Hotsiy
c09cf9dbbe
chore: modernize build pipeline (#1635) 2021-06-09 14:57:36 +03:00
Roman Hotsiy
92387bc653
chore: upgrade dependencies (#1634) 2021-06-02 15:53:36 +03:00
AlexVarchuk
823be24b31
feat: add basic support openApi 3.1 (#1622) 2021-05-31 19:23:05 +03:00
Andriy Leliv
503394655d
chore: use openapi-core to bundle definition instead of json-schema-ref-parser (#1500)
* chore: use openapi-core to bundle definition instead of json-schema-ref-parser
* chore: update: root and demo webpack configs
* chore: refactor loadAndBundleSpec
* chore: update vesions: openapi-core, redoc
* chore: rolled back webpack.config(s) to previous version
* chore: changed the way of creating core Config for bundling definition
* fix: disable eslint react/display-name
* fix: update nodejs version to 12 in travis config
* chore: optimize verification: browser or server
* chore: add fetch only for browser
* Update src/utils/loadAndBundleSpec.ts
* chore: isBrowser verification improvment
Co-authored-by: Roman Hotsiy <gotsijroman@gmail.com>
2021-04-08 15:49:15 +03:00
Anna Stasiuk
8c559bcbcd
fix: add missed labels to elements (#1445) 2020-11-30 12:51:27 +02:00
Kostyantyn Pshenychnyy
f805271d90
chore: fix demo examples urls (#1400) 2020-10-02 11:46:27 +03:00
Roman Hotsiy
a3b98177a1
chore: fix demo webpack config 2020-08-18 13:05:51 +03:00
Anna Stasiuk
41f81b4d96
feat: add webhooks support (#1304) 2020-08-14 16:33:25 +03:00
Roman Hotsiy
aedfa47ba4
chore: upgrade deps
closes #1316
2020-07-25 20:15:14 +03:00
Roman Hotsiy
93d8f46cfe
chore: fix Github stars widget width on demo page 2020-07-24 19:54:15 +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
becc2f5856
fix: depreacate x-code-samples, rename to x-codeSamples for consistency 2020-05-10 22:11:01 +03:00
Roman Hotsiy
40a4e5fa47
chore: enable untrustedSpec in demo 2020-05-09 14:41:38 +03:00
Peter
1c7fc1a261
demo: new URL for GraphHopper (#1165) 2020-05-09 14:31:25 +03:00
Oleksiy Kachynskyy
57e93ec435
feat: add callbacks support (#1224)
Co-authored-by: Jonathan Bailey <jonathan_bailey@bose.com>
Co-authored-by: Roman Hotsiy <gotsijroman@gmail.com>
2020-04-08 14:04:58 +03:00
Roman Hotsiy
81a44a239a
chore: remove react-hot-loader from deps
fixes #1133
2019-12-12 17:32:02 +02:00
Chris Faulkner
42696a01ba doc: fix some typos (#1117) 2019-12-10 08:13:37 +02:00
Alex
76a8988a1b docs: fixed example slack api url (#1077) 2019-12-10 08:09:40 +02:00
Dimitar Nanov
3e90133664 feat: display multipleOf constrains (#1065) 2019-12-08 11:54:07 +02:00
russellrobinson
b5af71da5f fix: no quotes for default values in header fields. (#1059) 2019-10-16 16:01:54 +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
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
51b5d04fcc
update demo to show use cases 2019-07-29 13:19:21 +03:00
Dimitar Nanov
4359724434
add section menus for tags and object description 2019-07-29 13:17:59 +03:00
Roman Hotsiy
753b013eee
chore: fix stars iframe after repo transfer 2019-06-04 16:02:16 +03:00
Roman Hotsiy
d78029a04e
chore: move repo to Redocly org 2019-06-04 15:47:22 +03:00
Roman Hotsiy
6de3523eb0
chore: fix bundle after oas-kit update 2019-05-12 23:17:26 +03:00
Roman Hotsiy
5af6ba7191
chore: add simple parameter to playground to simplify local testing 2019-03-28 10:39:41 +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
Roman Hotsiy
27d195ef38
chore: update styled components typings 2018-11-27 11:28:13 +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
00846e1f55
chore: update dev deps 2018-10-18 11:27:28 +03:00
Roman Hotsiy
477c01a9de
chore: fix benchmark crashing 2018-10-18 10:40:26 +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
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