diff --git a/api/swagger-spec/logs.json b/api/swagger-spec/logs.json index 971cc9a5b70..e8fae7c9a2c 100644 --- a/api/swagger-spec/logs.json +++ b/api/swagger-spec/logs.json @@ -16,7 +16,16 @@ "type": "void", "method": "GET", "nickname": "logFileHandler", - "parameters": [] + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "logpath", + "description": "path to the log", + "required": true, + "allowMultiple": false + } + ] } ] }, diff --git a/pkg/api/resource/generated.proto b/pkg/api/resource/generated.proto index bdc091d98d4..c26921d57d5 100644 --- a/pkg/api/resource/generated.proto +++ b/pkg/api/resource/generated.proto @@ -87,6 +87,7 @@ option go_package = "resource"; // +protobuf.embed=string // +protobuf.options.marshal=false // +protobuf.options.(gogoproto.goproto_stringer)=false +// +k8s:openapi-gen=true message Quantity { optional string string = 1; } diff --git a/pkg/runtime/generated.proto b/pkg/runtime/generated.proto index 0e602abe1b3..17951fd3086 100644 --- a/pkg/runtime/generated.proto +++ b/pkg/runtime/generated.proto @@ -71,6 +71,7 @@ option go_package = "runtime"; // // +k8s:deepcopy-gen=true // +protobuf=true +// +k8s:openapi-gen=true message RawExtension { // Raw is the underlying serialization of this object. // @@ -91,6 +92,7 @@ message RawExtension { // // +k8s:deepcopy-gen=true // +protobuf=true +// +k8s:openapi-gen=true message TypeMeta { optional string apiVersion = 1; @@ -105,6 +107,7 @@ message TypeMeta { // // +k8s:deepcopy-gen=true // +protobuf=true +// +k8s:openapi-gen=true message Unknown { optional TypeMeta typeMeta = 1; diff --git a/pkg/util/intstr/generated.proto b/pkg/util/intstr/generated.proto index dd508e1c8fa..4dc4e994a7e 100644 --- a/pkg/util/intstr/generated.proto +++ b/pkg/util/intstr/generated.proto @@ -32,6 +32,7 @@ option go_package = "intstr"; // // +protobuf=true // +protobuf.options.(gogoproto.goproto_stringer)=false +// +k8s:openapi-gen=true message IntOrString { optional int64 type = 1; diff --git a/pkg/watch/versioned/generated.proto b/pkg/watch/versioned/generated.proto index 8d5506552d9..340e18dad8f 100644 --- a/pkg/watch/versioned/generated.proto +++ b/pkg/watch/versioned/generated.proto @@ -30,6 +30,7 @@ option go_package = "versioned"; // Event represents a single event to a watched resource. // // +protobuf=true +// +k8s:openapi-gen=true message Event { optional string type = 1;