Merge pull request #25707 from dims/fix-issue-14071

Automatic merge from submit-queue

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;
This commit is contained in:
Kubernetes Submit Queue
2016-08-05 11:06:44 -07:00
committed by GitHub
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>