UNPKG

kubernetes-models

Version:
21 lines (20 loc) 584 B
import { register } from "@kubernetes-models/validate"; import { addSchema as IoK8sApiNetworkingV1HTTPIngressPath } from "./IoK8sApiNetworkingV1HTTPIngressPath.mjs"; const schema = { "properties": { "paths": { "items": { "$ref": "io.k8s.api.networking.v1.HTTPIngressPath#" }, "type": "array" } }, "required": [ "paths" ], "type": "object" }; export function addSchema() { IoK8sApiNetworkingV1HTTPIngressPath(); register("io.k8s.api.networking.v1.HTTPIngressRuleValue", schema); }