IBM / openapi-validator

Configurable and extensible validator/linter for OpenAPI documents
Apache License 2.0
481 stars 88 forks source link

fix(ibm-api-symmetry): maintain paths when resolving reference schemas #658

Closed dpopp07 closed 5 months ago

dpopp07 commented 5 months ago

PR summary

The ibm-api-symmetry code is losing track of the path to the canonical schema when "reference" schemas are resolved during processing, leading to false positives. This resolves the issue.

PR Checklist

General checklist

Please make sure that your PR fulfills the following requirements: