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
Describe the bug
Optic is not failing when linting specs that have $ref and sibling properties specified:
field:
$ref: ...type: object
The values are all getting merged. This happens at the dereference stage for some reason. The validation schema is working on a dereferenced spec, so it never sees a $ref.
Describe the bug
Optic is not failing when linting specs that have
$ref
and sibling properties specified:The values are all getting merged. This happens at the dereference stage for some reason. The validation schema is working on a dereferenced spec, so it never sees a $ref.
Expected behavior
Should fail when linting
Not allowed in OpenAPI https://swagger.io/docs/specification/using-ref/
Screenshots
If applicable, add screenshots to help explain your problem.
Details (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: