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
Menes will validate that items of this schema type are arrays, but it will not validate that the items in the array match the schema referred to.
It does correctly validate array item types if the schema is written out inline inside the items section. This appears to be specific to the use of $ref in this context.
It's possible there is a bug in Microsoft.OpenApi: the basic problem here is that the OpenApiSchema.Items property is not resolving the reference for us. In most cases, is does—there's very little (no?) code in Menes that explicitly resolves $ref references because on the Open API library normally seems to do it for us.
The text was updated successfully, but these errors were encountered:
Given a schema of this form:
Menes will validate that items of this schema type are arrays, but it will not validate that the items in the array match the schema referred to.
It does correctly validate array item types if the schema is written out inline inside the
items
section. This appears to be specific to the use of$ref
in this context.It's possible there is a bug in Microsoft.OpenApi: the basic problem here is that the
OpenApiSchema.Items
property is not resolving the reference for us. In most cases, is does—there's very little (no?) code in Menes that explicitly resolves$ref
references because on the Open API library normally seems to do it for us.The text was updated successfully, but these errors were encountered: