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:
Davanum Srinivas
2016-05-16 21:20:46 -04:00
parent 7f528c67ca
commit e7a46a7c81
3 changed files with 14 additions and 0 deletions

View File

@@ -8817,6 +8817,7 @@
}
],
"produces": [
"text/plain",
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf"