Open mnahkies opened 11 months ago
Expected Behavior A valid openapi: "3.1.0" document should pass initial validation against the openapi 3.1 specification without errors.
openapi: "3.1.0"
Actual Behavior Validation fails with confusing / obtuse error messages.
Cause It seems that ajv does not support some of the keywords used in defining the specification properly, causing it to fail:
The best thing to do is probably wait for ajv to improve support for $dynamicAnchor, and skip validation for 3.1 specifications in the meantime.
ajv
$dynamicAnchor
Expected Behavior A valid
openapi: "3.1.0"
document should pass initial validation against the openapi 3.1 specification without errors.Actual Behavior Validation fails with confusing / obtuse error messages.
Cause It seems that ajv does not support some of the keywords used in defining the specification properly, causing it to fail:
The best thing to do is probably wait for
ajv
to improve support for$dynamicAnchor
, and skip validation for 3.1 specifications in the meantime.