Commit Graph

42 Commits

Author SHA1 Message Date
Ihor Karpiuk
ac9a494c92 fix: handle aborted request in docker and remove redundant call (#1161) 2023-07-07 18:15:06 +03:00
Andrew Tatomyr
0b3e605f37 fix: add timeout for unnecessary calls (#1150) 2023-07-06 11:20:01 +02:00
Andrew Tatomyr
ab82560217 chore: improve data obfuscation (#1143) 2023-07-06 10:32:54 +02:00
Ihor Karpiuk
04a826272f chore: clean organization id (#1142) 2023-06-26 20:29:16 +03:00
Andrew Tatomyr
f4ba6a7bdd chore: add command wrapper and telemetry (#1136) 2023-06-26 09:39:50 +02:00
Ihor Karpiuk
44554fe6fb fix: handle syntax errors from plugins (#1100) 2023-05-29 11:02:14 +03:00
Ihor Karpiuk
c7412bb3d1 feat: create update notifier for cli (#1090) 2023-05-24 12:39:15 +03:00
Andrew Tatomyr
fe405781c5 chore: update stale syntax (#1085) 2023-05-18 09:21:40 +02:00
Ihor Karpiuk
f5bf5f834a fix: show error if apis or rules not provided (#1055) 2023-05-08 16:07:18 +03:00
Ihor Karpiuk
e6fc526c0a fix: improve error handling (#1057) 2023-04-25 13:01:53 +03:00
Ihor Karpiuk
16dede9f10 fix: sort top level oas keys (#1053) 2023-04-24 15:09:39 +03:00
Charles Treatman
494dfb82be fix: support / separator in split command (#997) 2023-01-25 13:54:25 +02:00
Patrick
ff41eacdff fix: ignore case when inferring file extension from codeSample lang prop (#991) 2023-01-16 16:31:41 +02:00
Yevhen Smoliy
a1839e2976 feat: handle error if api does not exist (#887) 2022-12-20 12:52:17 +02:00
Roman Hotsiy
7685ce1445 fix: detect api from the list by the root file match (#903)
* fix: detect api from the list by the root file match

* chore: fix prettier
2022-10-10 12:56:58 -05:00
Andrew Tatomyr
331e47f900 Revert "feat: add notification about available new version (#853)" (#868)
This reverts commit 9b1551e208.
2022-09-13 17:50:11 +02:00
Anton Kozachuk
9b1551e208 feat: add notification about available new version (#853)
Co-authored-by: Anton Kozachuk <antonkozachuk@Antons-MacBook-Pro.local>
2022-09-12 15:16:46 +03:00
Ivan Osypov
06c9e392e4 fix: leave multiline strings in literal mode (#822) 2022-08-23 11:59:21 +03:00
Andrew Tatomyr
4dc87c3f18 Chore/configure eslint (#808) 2022-08-18 13:22:31 +02:00
Andrew Tatomyr
b325e6f503 chore: rename 'entrypoints' into 'apis' (#802) 2022-08-09 18:07:23 +02:00
Anton Kozachuk
0b7aec96f0 fix: incorrect return codes when exit with error (#798)
Co-authored-by: Anton Kozachuk <antonkozachuk@Antons-MacBook-Pro.local>
2022-08-08 18:16:14 +03:00
Andrew Tatomyr
99333861c0 chore: Setup and run Prettier (#797) 2022-08-08 09:20:23 +02:00
Roman Sainchuk
43d0f60955 chore: rename 'lint' to 'styleguide' (#790)
Co-authored-by: Andrew Tatomyr <andrew.tatomyr@redocly.com>
2022-08-05 13:53:51 +02:00
Roman Sainchuk
542b2b8fbf feat: check errors in the configuration file (#720)
* feat: check errors in the configuration file

feat: added --lint-config option for lint command

chore: added few test

chore: added UT's for handle lint

chore: added UT's for handle lint

* fix: fixed conflicts

* chore: resolv conflicts

* chore: add e2e test for lint-config, update coverageThreshold

* fix: fixed typo

* chore: lint missed part of code

fix: fix path in shapshot e2e test

fix: fix path in shapshot e2e test

* chore: update branch and resolve conflicts

* chore: PR comments and lint fix

* fix: fix typo in tests

Co-authored-by: SmoliyY <yevhen.smoliy@gmail.com>
2022-06-22 17:05:06 +03:00
Anton Kozachuk
0694e714f3 fix: escape symbols in the samples lang name (#703)
Co-authored-by: Anton Kozachuk <antonkozachuk@Antons-MacBook-Pro.local>
2022-05-25 17:31:25 +03:00
volodymyr-rutskyi
1f10c7cd77 feat: configurable filename separator for split command (#610)
* Make file path separator configurable in split command

* chore: add tests for the file name separator

* chore: update snapshots

* docs: split separator option description

* chore: code style fixes
2022-03-28 18:44:43 +03:00
Andrew Tatomyr
774712f30a feat: introduce new redocly.yaml config structure (#588)
* feat: introduce new config format

* feat: add new syntax for the push command (#581)

* chore: merge mockServer (#595)

Co-authored-by: Andriy Leliv <andrii.leliv@gmail.com>
Co-authored-by: Andrew Tatomyr <andrew.tatomyr@redocly.com>
Co-authored-by: Roman Hotsiy <gotsijroman@gmail.com>
2022-03-16 16:08:07 +01:00
Anton Kozachuk
98d6122a9f feat: support for webhooks to the split command (#550)
Co-authored-by: Anton_Kozachuk <anton.kozachuk@cloudmobilizd.com>
Co-authored-by: romanhotsiy <gotsijroman@gmail.com>
2022-02-17 16:22:45 +02:00
Roman Hotsiy
2d83c91cbf fix: fix ignore file on windows when used with linux then (#432) 2021-11-01 19:22:33 +02:00
Yaroslav Shuhailo
35fc48c667 feat: upgrade js-yaml package (#403)
* feat: upgraded js-yaml package from v.3 to v.4 with YAML 1.2 support

* feat: removed timestamp type from YAML schema
2021-10-12 11:52:08 +03:00
slavikbez
8996223035 bugfix: corrected output message for bundle command 2021-09-29 11:58:06 +03:00
Oleksii Horbachevskyi
b53e9e4acb fix: join command crash (#367)
* fix: resolve $ref and inline it into the resulting definition
* chore: tests updates
2021-09-20 11:48:17 +03:00
Ed Kelly
69a1580bc7 fix: do not expose files from parent folders via preview-docs server (#347) 2021-09-14 23:13:41 +03:00
Roman Hotsiy
9afd200fa8 chore: export an util function from openapi-core and move update-registry rule to decorators (#268) 2021-03-20 16:48:15 +02:00
Anatolii Sieryi
fc2e6deeaa fix: hide user input when logging in 2021-02-25 12:02:58 +02:00
Roman Hotsiy
be707fab1c fix: fix push uploads to the wrong path on windows (#240) 2021-01-09 20:03:02 +02:00
Andriy Leliv
091ca022fe feat: push command (#234)
* feat: wip push command
* chore: rebase to new structure
* chore: handle cli push arguments
* chore: get signed url; upload file to s3; create hash from files;
* chore: upsert logic
* upsert + version logic updated
* chore: multiple sign & upload files
* chore: improve destination arg validation
* chore: execution time
* fix: added isAuthorized client logic
* chore: extended upload files logic
* chore: default branch logic
* fix: naming and other corrections
* fix: destination arg regexp updated
* chore: check the existence of the organization
* fix: file path to s3 upload
* chore: refactor gathering files to upload
* fix: path resolve for root
* chore: add files output
* chore: fix files output
* chore: simplify findConfig
* fix: bundle definition before pushing
* fix: upload all related files to plugins
* fix: ignore file & naming corrections
* fix: bundling definition
* chore: minor cleanup

Co-authored-by: romanhotsiy <gotsijroman@gmail.com>
2021-01-06 11:34:21 +02:00
Andriy Leliv
be0a7e5e40 fix: assert node version (#229)
* assert node version

* chore: moved assert node fuction to separate file
2020-11-27 17:00:23 +02:00
Andriy Leliv
258820349b feat: bundle document before gathering stats (#227)
* feat: bundle document before gathering stats
* exitWithError moved to utils
2020-11-26 10:26:38 +02:00
Andriy Leliv
009db6f640 chore: refactored cli commands handlers 2020-11-23 12:53:34 +02:00
Andriy Leliv
a3f9430824 feat: join command (#221) 2020-11-16 17:22:35 +02:00
Andriy Leliv
9ec79d21ea refactor: split in two packages: core and cli (#223) 2020-11-13 21:13:47 +02:00