Skip to content

Commit 0248153

Browse files
authored
Include openshift-4.12 schema (#200)
* Include openshift-4.12 schema. This is coming from the most recent 4.12.z release (currently 4.12.87). Generated using oc get --raw /openapi/v2 | jq --sort-keys 'del(.parameters, .paths[], .security, .securityDefinitions)' | sed -Ee 's/(Authorization: Bearer sha256)~[^ ]*/\1~REDACTED/;' * Update README --------- Co-authored-by: Moritz Clasmeier <mclasmeier@redhat.com>
1 parent f48c059 commit 0248153

2 files changed

Lines changed: 89505 additions & 0 deletions

File tree

internal/schemas/openapi-schemas/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
- OpenShift 4.18 schema source:
66
- Install openshift
77
- `oc get --raw /openapi/v2 | jq --sort-keys 'del(.parameters, .paths[], .security, .securityDefinitions)' > openshift-${version}.json`
8+
- You might need to pipe the `oc` output through `sed -Ee 's/(Authorization: Bearer sha256)~[^ ]*/\1~REDACTED/;'` to satisfy
9+
checks against credential leaking, because the in-line documentation might contain example tokens.
810
- Update the `.info` in the resulting file
911
- `gzip -9 openshift-${version}.json`
1012

0 commit comments

Comments
 (0)