File: README.md

package info (click to toggle)
golang-k8s-sigs-structured-merge-diff 6.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 2,608 kB
  • sloc: sh: 105; makefile: 4
file content (14 lines) | stat: -rw-r--r-- 440 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Generating schemas
==================

This folder contains a few schemas, which are generally generated by
using `k8s.io/kube-openapi/cmd/openapi2smd`.

For example, to generate the `k8s-schema.yaml` file, the following
command can be used:

```
$ go run k8s.io/kube-openapi/cmd/openapi2smd@latest < \
  <(curl --silent https://raw.githubusercontent.com/kubernetes/kubernetes/master/api/openapi-spec/swagger.json) \
  >k8s-schema.yaml
```