bitnami / readme-generator-for-helm

Auto generate READMEs for Helm Charts
https://bitnami.com
Apache License 2.0
212 stars 48 forks source link

Use empty items when array types cannot be identified #51

Closed fmulero closed 1 year ago

fmulero commented 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