Avoid returning nil responseKind in v1beta1 aggregated discovery
This commit is contained in:
4
pkg/generated/openapi/zz_generated.openapi.go
generated
4
pkg/generated/openapi/zz_generated.openapi.go
generated
@@ -4428,7 +4428,7 @@ func schema_k8sio_api_apidiscovery_v2beta1_APIResourceDiscovery(ref common.Refer
|
||||
},
|
||||
"responseKind": {
|
||||
SchemaProps: spec.SchemaProps{
|
||||
Description: "responseKind describes the group, version, and kind of the serialization schema for the object type this endpoint typically returns. APIs may return other objects types at their discretion, such as error conditions, requests for alternate representations, or other operation specific behavior. This value will be null if an APIService reports subresources but supports no operations on the parent resource",
|
||||
Description: "responseKind describes the group, version, and kind of the serialization schema for the object type this endpoint typically returns. APIs may return other objects types at their discretion, such as error conditions, requests for alternate representations, or other operation specific behavior. This value will be null or empty if an APIService reports subresources but supports no operations on the parent resource",
|
||||
Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionKind"),
|
||||
},
|
||||
},
|
||||
@@ -4556,7 +4556,7 @@ func schema_k8sio_api_apidiscovery_v2beta1_APISubresourceDiscovery(ref common.Re
|
||||
},
|
||||
"responseKind": {
|
||||
SchemaProps: spec.SchemaProps{
|
||||
Description: "responseKind describes the group, version, and kind of the serialization schema for the object type this endpoint typically returns. Some subresources do not return normal resources, these will have null return types.",
|
||||
Description: "responseKind describes the group, version, and kind of the serialization schema for the object type this endpoint typically returns. Some subresources do not return normal resources, these will have null or empty return types.",
|
||||
Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionKind"),
|
||||
},
|
||||
},
|
||||
|
Reference in New Issue
Block a user