UNPKG

kubernetes-models

Version:
26 lines (25 loc) 749 B
import { register } from "@kubernetes-models/validate"; import { addSchema as IoK8sApiExtensionsV1beta1HTTPIngressRuleValue } from "./IoK8sApiExtensionsV1beta1HTTPIngressRuleValue.mjs"; const schema = { "properties": { "host": { "type": "string", "nullable": true }, "http": { "oneOf": [ { "$ref": "io.k8s.api.extensions.v1beta1.HTTPIngressRuleValue#" }, { "type": "null" } ] } }, "type": "object" }; export function addSchema() { IoK8sApiExtensionsV1beta1HTTPIngressRuleValue(); register("io.k8s.api.extensions.v1beta1.IngressRule", schema); }