Skip to content

Commit

Permalink
Fix discovery document link in kubernetes-api.md (#45765)
Browse files Browse the repository at this point in the history
* Fix discovery document link in kubernetes-api.md

Removed an extra "v" in the link to fix the broken link.

* Fix minor broken links in  kubernetes-api.md

Anchor name mismatch in the same page
  • Loading branch information
prabhakhar committed Apr 3, 2024
1 parent 1b10575 commit d1232f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/en/docs/concepts/overview/kubernetes-api.md
Expand Up @@ -43,7 +43,7 @@ The two supported mechanisms are as follows:
detail specific schema for the resources. For reference about resource schemas,
please refer to the OpenAPI document.

- The [Kubernetes OpenAPI Document](#openapi-specification) provides (full)
- The [Kubernetes OpenAPI Document](#openapi-interface-definition) provides (full)
[OpenAPI v2.0 and 3.0 schemas](https://www.openapis.org/) for all Kubernetes API
endpoints.
The OpenAPI v3 is the preferred method for accessing OpenAPI as it
Expand Down Expand Up @@ -86,7 +86,7 @@ Without indicating the resource type using the `Accept` header, the default
response for the `/api` and `/apis` endpoint is an unaggregated discovery
document.

The [discovery document](https://github.com/kubernetes/kubernetes/blob/release-v{{< skew currentVersion >}}/api/discovery/aggregated_v2beta1.json)
The [discovery document](https://github.com/kubernetes/kubernetes/blob/release-{{< skew currentVersion >}}/api/discovery/aggregated_v2beta1.json)
for the built-in resources can be found in the Kubernetes GitHub repository.
This Github document can be used as a reference of the base set of the available resources
if a Kubernetes cluster is not available to query.
Expand Down

0 comments on commit d1232f1

Please sign in to comment.