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
If you have an operation schema that somewhere deep inside contains a $ref to another operation then when you reduce that operation it won't carry along the referenced operation, resulting in a corrupted schema.
For example:
Reducing GET /anything in this case will exclude POST /anything, resulting in a corrupted schema for GET /anything.
There is a broken and skipped test for this use case now in
If you have an operation schema that somewhere deep inside contains a
$ref
to another operation then when you reduce that operation it won't carry along the referenced operation, resulting in a corrupted schema.For example:
Reducing
GET /anything
in this case will excludePOST /anything
, resulting in a corrupted schema forGET /anything
.There is a broken and skipped test for this use case now in
oas/packages/oas/test/reducer/index.test.ts
Lines 185 to 195 in b373f99
The text was updated successfully, but these errors were encountered: