redocly-cli icon indicating copy to clipboard operation
redocly-cli copied to clipboard

Docs: `response contains property` guide

Open bandantonio opened this issue 2 years ago • 2 comments

What/Why/How?

This PR adds an updated guide on how to use a new built-in response-contains-property rule based on common examples

Deprecates #602

Reference

https://redocly.com/docs/cli/guides/response-contains-property/

Testing

Screenshots (optional)

Check yourself

  • [ ] Code is linted
  • [ ] Tested with redoc/reference-docs/workflows
  • [ ] All new/updated code is covered with tests

Security

  • [ ] Security impact of change has been considered
  • [ ] Code follows company security practices and guidelines

bandantonio avatar Jun 27 '22 19:06 bandantonio

Coverage report

Total coverage

Status Category Percentage Covered / Total
🟡 Statements 67.62% 2813/4160
🟡 Branches 60.7% 1546/2547
🔴 Functions 58.97% 447/758
🟡 Lines 67.88% 2610/3845

Status of coverage: 🟢 - ok, 🟡 - slightly more than threshold, 🔴 - under the threshold

Report generated by 🧪jest coverage report action from 67f207d083f4d725cc28c50bfe10e03ef972140f

github-actions[bot] avatar Jun 27 '22 19:06 github-actions[bot]

Coverage report

St.:grey_question:
Category Percentage Covered / Total
🟡 Statements 68.92% 2925/4244
🟡 Branches 62.15% 1614/2597
🟡 Functions 60.56% 473/781
🟡 Lines 68.76% 2712/3944

Test suite run success

473 tests passing in 81 suites.

Report generated by 🧪jest coverage report action from 5a3f2ef20fcda52634ac5e2682780907de6868ac

github-actions[bot] avatar Jul 23 '22 20:07 github-actions[bot]

Thanks @bandantonio 🎉 🎉

adamaltman avatar Aug 31 '22 01:08 adamaltman