Closed fmulero closed 1 year ago
Signed-off-by: Fran Mulero fmulero@vmware.com
Description of the change
This change removes the empty type for unknown array items in JSON schemas:
"someProperty": { "type": "array", ... "items": {} }
Benefits
Valid JSON schemas are generated.
Possible drawbacks
Empty items type might be there for some practical reason that is unknown to me, and this change might break some logic somewhere?
Applicable issues
Checklist
package.json
package-lock.json
tests
npm test
Signed-off-by: Fran Mulero fmulero@vmware.com
Description of the change
This change removes the empty type for unknown array items in JSON schemas:
Benefits
Valid JSON schemas are generated.
Possible drawbacks
Empty items type might be there for some practical reason that is unknown to me, and this change might break some logic somewhere?
Applicable issues
42
34
Checklist
package.json
andpackage-lock.json
according to semver.tests
foldernpm test