Description of problem: Hi, ``` For some reason, the OpenAPI spec for EgressNetworkPolicy does not have a `properties` key: "io.openshift.network.v1.EgressNetworkPolicy": { "type": "object", "x-kubernetes-group-version-kind": [ { "group": "network.openshift.io", "kind": "EgressNetworkPolicy", "version": "v1" } ] }, ``` This spec is part of the output from `oc get —raw /apis`. I’ve been using the OpenAPI spec file as the basis for the API documentation, so the the information for EgressNetworkPolicy I have is incomplete. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Run `oc get —raw /apis` Typically, they look like this: ``` "io.k8s.api.extensions.v1beta1.NetworkPolicy": { "description": "DEPRECATED 1.9 - This group version of NetworkPolicy is deprecated by networking/v1/NetworkPolicy. NetworkPolicy describes what network traffic is allowed for a set of Pods", "type": "object", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" }, "spec": { "description": "Specification of the desired behavior for this NetworkPolicy.", "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.NetworkPolicySpec" } }, ```
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:0858
*** Bug 1777707 has been marked as a duplicate of this bug. ***
*** Bug 1812746 has been marked as a duplicate of this bug. ***