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
According to the OpenAPI spec: "The Schema Object allows the definition of input and output data types. These types can be objects, but also primitives and arrays."
However, ngx-form-generator crashes when the schema is of type array.
node_modules/@verizonconnect/ngx-form-generator/dist/generator-lib.js:52
const fields = Object.keys(definition.properties);
^
TypeError: Cannot convert undefined or null to object
...
A schema Object example from the OpenAPI spec with an array:
According to the OpenAPI spec: "The Schema Object allows the definition of input and output data types. These types can be objects, but also primitives and arrays."
However, ngx-form-generator crashes when the schema is of type array.
A schema Object example from the OpenAPI spec with an array:
Or:
Thanks,
Arjen
The text was updated successfully, but these errors were encountered: