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

fix(rulesets): oasExample should clean id fields from non-schema objects #2561

Closed P0lip closed 7 months ago

P0lip commented 7 months ago

Fixes #2081

Checklist

Does this PR introduce a breaking change?

stoplight-bot commented 7 months ago

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

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

Your semantic-release bot :package::rocket: