Swagger and OpenAPI

The entire Kubernetes API was built using a Swagger specification. This has been evolving towards the OpenAPI initiative. It is extremely useful, as it allows, for example, to auto-generate client code. All the stable resources definitions are available on the documentation site.

You can browse some of the API groups via a Swagger UI on the OpenAPI Specification web page.

Last updated