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.
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
ajvto improve support for$dynamicAnchor, and skip validation for 3.1 specifications in the meantime.