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
TRAPI 1.3 validation was problematic with jsonschema (inside the reasoner-validator) due to the use of allOf OpenAPI schema property alongside nullable: true.
Review of the definitions for allOf versus oneOf suggest this is a reasonable revision, given that logically, one cannot satisfy both a concrete non-null JSON data model and a null value, at the same time, but rather, choosing one or the other (i.e non-empty schemaxornull, i.e. oneOf) is a more reasonable semantic expectation.
The text was updated successfully, but these errors were encountered:
TRAPI 1.3 validation was problematic with
jsonschema
(inside the reasoner-validator) due to the use ofallOf
OpenAPI schema property alongsidenullable: true
.Review of the definitions for allOf versus oneOf suggest this is a reasonable revision, given that logically, one cannot satisfy both a concrete non-null JSON data model and a null value, at the same time, but rather, choosing one or the other (i.e non-empty schema xor
null
, i.e.oneOf
) is a more reasonable semantic expectation.The text was updated successfully, but these errors were encountered: