Skip to content
Permalink
Browse files

Fix OpenAPI deprecated endpoints in Kubernetes 1.14 (#14608)

  • Loading branch information...
aerialls authored and k8s-ci-robot committed May 30, 2019
1 parent 9c8845c commit da76416973d237f97e78b9ba70e661bb723b2941
Showing with 3 additions and 3 deletions.
  1. +3 −3 content/en/docs/concepts/overview/kubernetes-api.md
@@ -4,7 +4,7 @@ reviewers:
title: The Kubernetes API
content_template: templates/concept
weight: 30
card:
card:
name: concepts
weight: 30
---
@@ -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)

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**:

@@ -59,7 +59,7 @@ GET /swagger-2.0.0.pb-v1.gz | GET /openapi/v2 **Accept**: application/com.github

Kubernetes implements an alternative Protobuf based serialization format for the API that is primarily intended for intra-cluster communication, documented in the [design proposal](https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/protobuf.md) and the IDL files for each schema are located in the Go packages that define the API objects.

Prior to 1.14, the Kubernetes apiserver also exposes an API that can be used to retrieve
Prior to 1.14, the Kubernetes apiserver also exposes an API that can be used to retrieve
the [Swagger v1.2](http://swagger.io/) Kubernetes API spec at `/swaggerapi`.
This endpoint is deprecated, and will be removed in Kubernetes 1.14.

0 comments on commit da76416

Please sign in to comment.
You can’t perform that action at this time.