stoplightio / spectral

A flexible JSON/YAML linter for creating automated style guides, with baked in support for OpenAPI v3.1, v3.0, and v2.0 as well as AsyncAPI v2.x.
https://stoplight.io/spectral
Apache License 2.0
2.37k stars 228 forks source link

feat(rulesets): add scope validation to oas{2,3}-operation-security-defined rules #2538

Closed P0lip closed 10 months ago

P0lip commented 10 months ago

Closes #2529

TBH we should probably rename that rule since it also validates top-level securities.

Checklist

Does this PR introduce a breaking change?

mnaumanali94 commented 10 months ago

Do we consider renaming a breaking change? 🤔

P0lip commented 10 months ago

Do we consider renaming a breaking change? 🤔

That's what we used to do in the past.

stoplight-bot commented 9 months ago

:tada: This PR is included in version 1.18.0 :tada:

The release is available on @stoplight/spectral-rulesets-1.18.0

Your semantic-release bot :package::rocket: