You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the following cases, Vacuum incorrectly flags the schemas a, b, and c as false positives when using the oas3-unused-component rule with OpenAPI version 3.1.0.
Vacuum incorrectly flags example as unused when accessing a property within the schema:
`#/components/schemas/response` is potentially unused or has been orphaned | oas3-unused-component
The text was updated successfully, but these errors were encountered:
BentEngbers
changed the title
The oas3-unused-component rules produces false positives
False Positives in oas3-unused-component Rule for Schemas Referenced via oneOf, Vendor Extensions, and Property Access
Nov 13, 2024
In the following cases, Vacuum incorrectly flags the schemas
a
,b
, andc
as false positives when using theoas3-unused-component
rule with OpenAPI version3.1.0
.Cases
oneOf
SchemaVacuum incorrectly marks
a
as unused when referenced within aoneOf
structure.Vendor Extension
Vacuum mistakenly identifies
b
as unused when it is referenced alongside a vendor extension.Property Access
Vacuum incorrectly flags
example
as unused when accessing a property within the schema:The text was updated successfully, but these errors were encountered: