mirror of
https://github.com/yannh/kubeconform.git
synced 2026-02-11 14:09:21 +00:00
migrate openapi2jsonschema to scripts/
This commit is contained in:
parent
423b9536da
commit
81e57782f4
2 changed files with 1 additions and 1 deletions
|
|
@ -158,7 +158,7 @@ first needs to be converted to JSON Schema. A script is provided to convert thes
|
|||
to JSON schema. Here is an example how to use it:
|
||||
|
||||
```
|
||||
$ ./cmd/openapi2jsonschema/main.py https://raw.githubusercontent.com/aws/amazon-sagemaker-operator-for-k8s/master/config/crd/bases/sagemaker.aws.amazon.com_trainingjobs.yaml > fixtures/registry/trainingjob-sagemaker-v1.json
|
||||
$ ./scripts/openapi2jsonschema.py https://raw.githubusercontent.com/aws/amazon-sagemaker-operator-for-k8s/master/config/crd/bases/sagemaker.aws.amazon.com_trainingjobs.yaml > fixtures/registry/trainingjob-sagemaker-v1.json
|
||||
```
|
||||
|
||||
### Credits
|
||||
|
|
|
|||
Loading…
Reference in a new issue