crd-to-openapi

command module
v0.0.0-...-7a5ccf9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

README

CRD To OpenAPI

Read CRD from stdin and write OpenAPI spec to stdout.

Usage:
   [flags]

Flags:
      --crd-version string   set crd version
  -h, --help                 help for this command
      --output-openapi-v2    output in OpenAPI v2 format, the default format is OpenAPI v3

Example:

go install github.com/negz/crd-to-openapi@latest
kubectl get crd applications.app.k8s.io -o yaml | crd-to-openapi

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL