172 Commits

Author SHA1 Message Date
Ihor Karpiuk
4769ca5579 fix: use separate resolvers for each file in join (#1291) 2023-10-13 11:45:44 +03:00
Adam Altman
eb82725463 fix: improve detection accuracy on no-server-example.com rule (#1270) 2023-09-22 08:05:03 -05:00
github-actions[bot]
e16f1fd3a2 chore: 🔖 release new versions (#1264) 2023-09-18 15:55:23 +02:00
Adam Altman
0a73f1f557 refactor: rename to API description for consistency (#1239) 2023-09-18 15:22:26 +02:00
Roman Hotsiy
680c431cbb AsyncAPI linting support (#1127)
* chore: progress on asyncapi

* chore: more progress

* chore: enable assertions

* Feat: Start adding protocol-specific channel bindings

* Feat: flesh out components fields

* Fix: remove link and x-code-sample, not supported for asyncapi

* Feat: Add solace protocol support

* chore: refactor channel/server bindings to define and add to collection

* chore: re-order nodes to group by protocol

* chore: re-order node listings to also group by protocol

* feat: add topicConfiguration for Kafka and fix a typo

* feat: rename ServerMap for clarity

* feat: Add message bindings, remove incomplete protocols

* fix: a few tests were failing after original refactoring

* feat: add MessageTrait object

* feat: Add operation bindings, export operation and message bindings

* Feat: add a few rules for asyncapi, create channels-kebab-case

* fix: Add messageBindings and operationBindings to components section

* feat: Add no-channel-trailing-slash rule for asyncapi

* fix: Update allowed/required list for httpAPIkey

* chore: add tests for new AsyncAPI rules

* Feat: Add sample asyncapi descriptions as tests

* chore: generate snapshot.js for async-api tests

* chore: fix some minor drift between main branch and this one after
rebasing

* docs: add a guide to linting AsyncAPI

* fix: broken links in guide

* chore: run prettier

* chore: update test snapshot

* chore: clean up comments and stray log message

* docs: Update from review feedback, and add a health warning

* Update packages/core/src/config/config-resolvers.ts

Co-authored-by: Andrew Tatomyr <andrew.tatomyr@redocly.com>

* fix: allow async2 as the only feature in custom plugins

* chore: add tests and tweak error messages for document type detection

* chore: fix tests and rename majorSpecVersion->getMajorSpecVersion

* chore: run prettier

* chore: Tidy and improve comments in main asyncapi types file

* chore: remove outdated comment

* fix: remove extraneous empty extends from guide and tests

* docs: Add changeset for AsyncAPI feature

* Update .changeset/quick-emus-punch.md

Co-authored-by: Andrew Tatomyr <andrew.tatomyr@redocly.com>

---------

Co-authored-by: Lorna Mitchell <lorna.mitchell@redocly.com>
Co-authored-by: SmoliyY <yevhen.smoliy@gmail.com>
Co-authored-by: Lorna Jane Mitchell <github@lornajane.net>
Co-authored-by: Andrew Tatomyr <andrew.tatomyr@redocly.com>
2023-09-15 13:52:03 +01:00
github-actions[bot]
b8bf0075ac chore: 🔖 release new versions (#1218) 2023-09-14 16:12:57 +02:00
Andrew Tatomyr
0ea1b59f7e fix: update redocly.yaml validation (#1259) 2023-09-14 10:38:57 +02:00
Andrew Tatomyr
58a567e96a chore: update changeset descriptions (#1257) 2023-09-13 14:14:50 +02:00
Arif Kurkchi
cb7e3edf42 feat: add ignoreCase for tags-alphabetical rule (#1258) 2023-09-13 12:18:07 +02:00
Andrew Tatomyr
6c1f7948e9 chore: update changeset descriptions (#1256) 2023-09-12 08:36:54 +02:00
Andrew Tatomyr
b0d4686a73 feat: add support for Redoc 2.1.2 (#1252) 2023-09-12 08:27:13 +02:00
Ihor Karpiuk
0928bde43f chore: remove assert-node-version after #1234 (#1235) 2023-09-08 14:29:17 +02:00
Ihor Karpiuk
c4c7e21880 fix: smoke tests and update redoc to v2.1 (#1242) 2023-08-22 17:57:57 +03:00
Andrew Tatomyr
3f78704898 Fix/wrong location in no trailing slash rule (#1226) 2023-08-15 13:42:33 +02:00
Barry Coughlan
2d7b87c629 feat: added join support for OAS 3.1 definitions (#1191) 2023-08-08 07:46:14 +02:00
jedelson-pagerduty
36b9da9dec fix: do not remove components which are only used via a reference to a child object. fixes #1207 (#1208) 2023-08-08 07:24:52 +02:00
github-actions[bot]
79820648b5 chore: 🔖 release new versions (#1217) 2023-08-07 19:15:18 +03:00
Andrew Tatomyr
205275a244 chore: add release changeset (#1216) 2023-08-07 17:54:42 +02:00
github-actions[bot]
c5c30bc2eb chore: 🔖 release new versions (#1213) 2023-08-07 14:27:59 +02:00
Andrew Tatomyr
dcdcb61e90 fix: remove assertions severity from default rulesets (#1192) 2023-08-07 13:55:14 +02:00
Ihor Karpiuk
1abc7af8b2 chore: add changeset for pr-1187 (#1212) 2023-08-07 13:07:55 +03:00
Andrew Tatomyr
499482d279 chore: enable chagesets (#1211) 2023-08-07 11:40:21 +02:00