diff --git a/wasm/app.go b/wasm/app.go index 7615a7a..c273cfc 100644 --- a/wasm/app.go +++ b/wasm/app.go @@ -344,7 +344,7 @@ func parseCRD(properties map[string]v1beta1.JSONSchemaProps, version string, req return nil, err } p.Properties = out - case properties[k].AdditionalProperties != nil: + case properties[k].AdditionalProperties != nil && properties[k].AdditionalProperties.Schema != nil: requiredList = v.Required out, err := parseCRD(properties[k].AdditionalProperties.Schema.Properties, version, properties[k].AdditionalProperties.Schema.Required, minimal) if err != nil { diff --git a/wasm/index.html b/wasm/index.html index d30d50e..ac30968 100644 --- a/wasm/index.html +++ b/wasm/index.html @@ -1,5 +1,5 @@ - +
@@ -13,22 +13,22 @@