-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Labels
libcodegenUsing the code generator as a library outside the context of k8s-openapiUsing the code generator as a library outside the context of k8s-openapi
Description
The API server exposes its spec at /openapi/v2
Is it worth allowing a user to run k8s-openapi-codegen against this endpoint to generate a custom API bindings crate?
Edit: Starting with v1.15, CRDs are also included in the spec:
beta: CustomResourceDefinition OpenAPI Publishing
OpenAPI specs for native types have been served at /openapi/v2 by kube-apiserver for a long time, and they are consumed by a number of components, notably kubectl client-side validation, kubectl explain and OpenAPI based client generators.
OpenAPI publishing for CRDs will be available with Kubernetes 1.15 as beta, yet again only for structural schemas.
DD5HT
Metadata
Metadata
Assignees
Labels
libcodegenUsing the code generator as a library outside the context of k8s-openapiUsing the code generator as a library outside the context of k8s-openapi