172 Commits

Author SHA1 Message Date
Jeremy Fiel
97302b8805 Remove unsupported keyword OAS 3.0.x typing - additionalItems (#1609)
Co-authored-by: Jeremy Fiel <jeremy.fiel@adp.com>
2024-07-11 14:13:49 +03:00
Dmytro Anansky
599b5fa04b feat: lint arazzo test descriptions (#1601)
* feat: lint arazzo test descriptions
2024-07-10 12:08:10 +03:00
github-actions[bot]
f94d5f03f5 chore: 🔖 release new versions (#1605) 2024-07-04 12:29:18 +03:00
Andrew Tatomyr
74802b0a43 chore: updgrade @redocly/config to v0.6.2 (#1604) 2024-07-03 14:29:09 +03:00
Jeremy Fiel
f807944bea fix: add JSON Schema 2019-09+ validation keyword - dependentRequired (#1600) 2024-07-03 11:06:54 +03:00
github-actions[bot]
aefb024a50 chore: 🔖 release new versions (#1596) 2024-07-01 17:55:47 +03:00
Ondřej Navrátil
6534300d7b fix: add contentSchema keyword (#1599) 2024-07-01 12:57:12 +03:00
Dmytro Anansky
c111952c2b chore: wip config validation, extend types before (#1520)
Co-authored-by: Roman Hotsiy <gotsijroman@gmail.com>
2024-06-25 16:55:29 +03:00
ArkBriar
9456460f77 chore: replace ➡️ with 🔀 to align the words (#1595)
* remove unexpected extra space before Path Items

Signed-off-by: arkbriar <arkbriar@gmail.com>

* Use 🔀 instead of ➡️

Signed-off-by: arkbriar <arkbriar@gmail.com>

* chore: add a changeset

---------

Signed-off-by: arkbriar <arkbriar@gmail.com>
Co-authored-by: Lorna Mitchell <lorna.mitchell@redocly.com>
2024-06-21 10:40:08 +01:00
github-actions[bot]
b0998dd507 chore: 🔖 release new versions (#1590) 2024-06-18 11:53:35 +03:00
Mateusz Lis
4c176991e4 fix: fix issues with https-agent-proxy for cli and openapi-core packages (#1493) 2024-06-18 08:53:02 +03:00
github-actions[bot]
5893961a45 chore: 🔖 release new versions (#1586) 2024-06-11 15:40:32 +03:00
Andrew Tatomyr
af0c8c6222 fix: falsy values in no-invalid-media-type-examples, no-invalid-parameter-examples, and no-invalid-schema-examples rules (#1582) 2024-06-11 14:00:20 +03:00
Andrew Tatomyr
6759e13c8f chore: upgrade Redoc to v2.1.5 (#1584) 2024-06-11 08:44:22 +03:00
Andrew Tatomyr
8d1f710661 chore: do not override theme.openapi with ConfigReferenceDocs node type (#1495)
* chore: do not override theme.openapi with ConfigReferenceDocs node type

* add changeset and fix tests

* updated Redocly config to v0.6.0

* run prettier
2024-06-10 16:11:38 +08:00
github-actions[bot]
1e5505793b chore: 🔖 release new versions (#1572) 2024-05-29 14:33:07 +03:00
Andrew Tatomyr
f6cce633d0 feat: add ability to exclude some operations from security-defined rule (#1570) 2024-05-29 09:13:24 +03:00
Andrew Tatomyr
a53bb35f00 chore: update error messages (#1571) 2024-05-28 18:32:44 +03:00
github-actions[bot]
b6756d3edc chore: 🔖 release new versions (#1563) 2024-05-23 16:40:47 +03:00
Lorna Jane Mitchell
546d482b03 feat: add markdown output format for lint command (#1559)
* feat: Add markdown output format for lint command

* feat: Tweak output and add a test

* fix: send markdown output to stdout to match existing json/checkstyle behaviour

* fix: Update snapshots

* fix: Check error count to determine success

* docs: Add markdown format docs to lint command page

* chore: Add changeset

* Apply suggestions from code review

Co-authored-by: Heather Cloward <heathercloward@gmail.com>

* docs: Update from review feedback

* fix: Add missing image, run prettier

* fix: Update test to match corrected code behaviour

---------

Co-authored-by: Heather Cloward <heathercloward@gmail.com>
2024-05-20 09:54:26 +01:00
github-actions[bot]
f0471c4f7f chore: 🔖 release new versions (#1556) 2024-05-09 18:47:52 +03:00
Andrew Tatomyr
71e4910164 fix: check if the config file exists (#1555) 2024-05-09 18:09:07 +03:00
github-actions[bot]
6681831b01 chore: 🔖 release new versions (#1553) 2024-05-09 15:39:50 +03:00
Andrew Tatomyr
a96ce09c0a fix: prevent loadConfig from failing in browser env and do not sent auth requests (#1552) 2024-05-09 14:18:24 +03:00
github-actions[bot]
f11ebcbe13 chore: 🔖 release new versions (#1537) 2024-04-25 16:08:06 +03:00
Oleksiy Kachynskyy
4cf08db490 feat: update push and push-status commands (#1481)
* feat(bh): make 'project' and 'domain' required for push command (CMS)

* chore: add OutputFormat type for 'format' parameter for push-status command

* feat: add 'format' parameter for 'push-status'
command

* feat: add 'markdown' to OutputFormat type

* feat: make domain not required for push-status

* refactor: simplify `handlePushStatus` function

* feat: add json format for push-status command

* feat: remove `async` from printPushStatus

* feat: improve printing json summary and exit with error

* feat: add 'format' option to cli push command

* feat: add push metadata to json output

* feat: add return data for push and pushStatus commands

* feat: update push status command

* tests: add new unit tests for push status

* refactor: remove json format for "push" and "push-status" commands

* feat: add "ignore-deployment-failures" option

* chore: replace "satisfies" with "as"

* chore: add changeset

* feat: add onTimeOutExceeded callback

* Apply suggestions from code review

Co-authored-by: Lorna Jane Mitchell <github@lornajane.net>

* Apply suggestions from code review

Co-authored-by: Andrew Tatomyr <andrew.tatomyr@redocly.com>
Co-authored-by: Roman Sainchuk <albuman32@gmail.com>

* chore: update return type for commandHandler

* tests: use expect.rejects instead of catching errors

* feat: rename 'ignore-deployment-failures' to 'continue-on-deployment-failures'

* feat: add onConditionNotMet callback

* tests: add unit tests

* chore: add comments

* refactor: rename "wait" to "pause" and move to utils

* refactor: change import type

* refactor: add explicit array length check

* fix: add correct wrapper type for argv params

* feat: update types for push status API

* chore: add "unit:watch" script to package.json

* test: fix unit tests

* tests: add tests for "onRetry" and "max-execution-time" parameters

* chore: restore museum.yaml

* feat: update API types for PushResponse

* refactor: rename "continue-on-deployment-failures" to "continue-on-deploy-failures"

* feat: update interface for `onRetry` function

* feat: remove "instanceof Promise" check

* refactor: reorder imports

* feat: increase maxExecutionTime to 20 min

---------

Co-authored-by: Lorna Jane Mitchell <github@lornajane.net>
Co-authored-by: Andrew Tatomyr <andrew.tatomyr@redocly.com>
Co-authored-by: Roman Sainchuk <albuman32@gmail.com>
2024-04-25 14:42:45 +03:00
Dmitri Trofimov
89af9c6eb2 fix: wildcards on Windows (Issue: #1521) (#1522) 2024-04-23 19:18:57 +03:00
Andrew Tatomyr
cb5328c309 fix: resolve config extensions using only one resolver (#1527) 2024-04-17 13:01:37 +03:00
github-actions[bot]
90a79eeab9 chore: 🔖 release new versions (#1508) 2024-04-04 16:16:45 +03:00
Dmytro Anansky
b0b50da1e8 feat: remove --lint, --preprocess, and --decorate options from the join command (#1507) 2024-04-04 15:50:07 +03:00
Felix Boehm
db21d90a9f fix: remove unused components transitively (#1472) 2024-04-03 10:30:43 +03:00
mbehboodian
b76716134a Ignore validating example with externalValue against schema (#1509) 2024-04-02 21:44:55 +03:00
Dmytro Anansky
9343b35cdd feat: drop linting option from bundle command (#1503) 2024-04-02 12:12:16 +03:00
Raymond Jelierse
2d16014b67 feat(lint): add support for GitHub Actions output format (#1497)
* feat(format): add support for GitHub Actions output format

* feat(lint): add support for GitHub Action output format

* doc: add changeset

* style: language hint on codeblock

* fix: include dependency in correct package

* refactor: remove dependency on @actions/core, do formatting of messages internally

* test: add coverage for github-actions output format

* style: format with prettier

* test: update snapshot for lint help output

* chore: update changeset to indicate minor version bump

* fix: undo local reference to @redocly/openapi-core

* Update .changeset/tame-gifts-tease.md

---------

Co-authored-by: Lorna Jane Mitchell <github@lornajane.net>
2024-03-27 15:58:22 +00:00
github-actions[bot]
a7299534a3 chore: 🔖 release new versions (#1498)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-26 14:34:47 +08:00
Andrew Tatomyr
7ed4dd6bd6 fix: add type tree for metadata-schema rule (#1504) 2024-03-26 07:50:39 +02:00
Dmytro Anansky
bd82bcdd93 feat: command for linting Redocly config itself (#1491)
* feat: linting redocly config itself
2024-03-22 17:31:03 +02:00
github-actions[bot]
a094e8ea54 chore: 🔖 release new versions (#1489) 2024-03-19 14:22:48 +02:00
Andrew Tatomyr
4ea64ab2ad chore: update the license (#1488) 2024-03-19 12:39:09 +02:00
github-actions[bot]
cbbea93bd1 chore: 🔖 release new versions (#1477) 2024-03-14 15:02:44 +02:00
volodymyr-rutskyi
b5b3d76e3a fix: allow additional properties in theme.openapi (#1482) 2024-03-14 14:49:46 +02:00
Andrew Tatomyr
f2cc3f28be fix: prevent failing in worker (#1478) 2024-03-14 13:52:25 +02:00
Andrew Tatomyr
fe56a9e567 chore: fix changeset description to align with other changelog entries (#1479) 2024-03-14 11:25:45 +02:00
volodymyr-rutskyi
c8bca54e7b fix: fix preview command on windows (#1476) 2024-03-13 16:38:48 +02:00
github-actions[bot]
24faf72183 chore: 🔖 release new versions (#1469) 2024-03-04 17:06:49 +02:00
Andrew Tatomyr
f1a6f356ea chore: revert 1.10.2 (#1468)
* Revert "fix: fix issues with https-agent-proxy for cli and openapi-core packages (#1461)"

This reverts commit 7ec5cfcd37.
2024-03-04 16:52:07 +02:00
github-actions[bot]
87a455ca83 chore: 🔖 release new versions (#1467) 2024-03-04 16:24:26 +02:00
Mateusz Lis
7ec5cfcd37 fix: fix issues with https-agent-proxy for cli and openapi-core packages (#1461)
* Reapply "fix: add https-proxy-agent to fetch requests (#1433)" (#1458)
* fix: add https-proxy-agent package to browser excluded packages
2024-03-04 11:02:00 +01:00
github-actions[bot]
120611cce1 chore: 🔖 release new versions (#1460)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-29 23:19:29 +08:00
Roman Hotsiy
b3fd091ff0 chore: bump version (#1459) 2024-02-29 23:17:46 +08:00