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
Bug Report 🐛 The JSON Schema generated from a concerto model is incorrect for scalar array types.
Consider the below model:
scalar SSN extends String default="000-00-0000" regex=/\d{3}-\d{2}-\d{4}/
concept Product identified by sku
{
o Double d1
o Double[] d2
o SSN[] ssn
o SSN ssn2
}
Generating a JSONSchema for the above works fine for all except the SSN[] type.
Bug Report 🐛 The JSON Schema generated from a concerto model is incorrect for
scalar array
types.Consider the below model:
Generating a JSONSchema for the above works fine for all except the
SSN[]
type.Both
SSN
andSSN[]
types are generated asstring
andstring array
inSSN[]
case.Expected Behavior
The
Scalar Array
types should be generated asarray
types correctly in the JSON Schema output.Current Behavior
Sclar array
is generated asscalar
type without the array modifier.Context (Environment)
The text was updated successfully, but these errors were encountered: