Fix OpenAPI deprecated endpoints in Kubernetes 1.14 (#14608)

This commit is contained in:
Julien Brochet
2019-05-30 03:06:18 +02:00
committed by Kubernetes Prow Robot
parent 9c8845c5fd
commit da76416973
@@ -47,7 +47,7 @@ Accept | `application/json`, `application/com.github.proto-openapi.spec.v2@v1.0+
Accept-Encoding | `gzip` (not passing this header is acceptable) Accept-Encoding | `gzip` (not passing this header is acceptable)
Prior to 1.14, format-separated endpoints (`/swagger.json`, `/swagger-2.0.0.json`, `/swagger-2.0.0.pb-v1`, `/swagger-2.0.0.pb-v1.gz`) Prior to 1.14, format-separated endpoints (`/swagger.json`, `/swagger-2.0.0.json`, `/swagger-2.0.0.pb-v1`, `/swagger-2.0.0.pb-v1.gz`)
serve the OpenAPI spec in different formats. These endpoints are deprecated, and will be removed in Kubernetes 1.14. serve the OpenAPI spec in different formats. These endpoints are deprecated, and are removed in Kubernetes 1.14.
**Examples of getting OpenAPI spec**: **Examples of getting OpenAPI spec**: