Commit Graph

4 Commits

Author SHA1 Message Date
Vladyslav Maikan
f8e10e7f5d feat: rule/assertion message (#1123)
* feat: updated assertion/rule error message

* feat: updated tests and assertionId definition
2023-06-12 14:20:26 +03:00
Andrew Tatomyr
fe405781c5 chore: update stale syntax (#1085) 2023-05-18 09:21:40 +02:00
volodymyr-rutskyi
224565b316 feat: adjust assertions syntax (#662)
* Support new assertions syntax

* chore: update assertions syntax in tests

* feat: get assertionId from assertion name

* docs: update assertion docs

* chore: run prettier

* test: update snapshots

* fix: do not mutate original rules object

* Update __tests__/lint/assertions-casing-camel-case-error/.redocly.yaml

Co-authored-by: Adam Altman <adam@redoc.ly>

* Update __tests__/lint/assertions-casing-snake-case-error/.redocly.yaml

Co-authored-by: Adam Altman <adam@redoc.ly>

* Update __tests__/lint/assertions-defined-error/.redocly.yaml

Co-authored-by: Adam Altman <adam@redoc.ly>

* test: update snapshots

* code style suggestion

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

* fix: correctly handle nested configs with assertions

* test: correctly merged assertions nested config

* chore: fix types

* chore: run prettier

Co-authored-by: Volodymyr Rutskyi <volodymyrrutskyi@Volodymyrs-MacBook-Pro-2.local>
Co-authored-by: Adam Altman <adam@redoc.ly>
Co-authored-by: Andrew Tatomyr <andrew.tatomyr@gmail.com>
2022-05-11 09:42:11 +03:00
Oleksii Horbachevskyi
ffb8c40fb3 feat: assertions rules (#489)
Co-authored-by: Anastasiia <anastasiia@redocly.com>
Co-authored-by: Adam Altman <adam@redoc.ly>
Co-authored-by: Ivana Isadora Devcic <33730345+skadinna@users.noreply.github.com>
2022-04-04 10:53:02 +03:00