mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-20 01:23:48 +00:00
Fix Incorrect response model for pods/{name}/log
The swagger spec for pods/{name}/log does not include "text/plain" as a possible content-type for the the response. So we implement ProducesMIMETypes to make sure "text/plain" gets added to the default list ot content-types. the v1.json was generated by running: hack/update-generated-swagger-docs.sh;./hack/update-swagger-spec.sh; Fixes #14071
This commit is contained in:
@@ -8817,6 +8817,7 @@
|
||||
}
|
||||
],
|
||||
"produces": [
|
||||
"text/plain",
|
||||
"application/json",
|
||||
"application/yaml",
|
||||
"application/vnd.kubernetes.protobuf"
|
||||
|
Reference in New Issue
Block a user