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

@@ -8705,6 +8705,9 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
<div class="ulist">
<ul>
<li>
<p>text/plain</p>
</li>
<li>
<p>application/json</p>
</li>
<li>