Skip to content

Commit 35b6371

Browse files
author
Moritz Clasmeier
committed
Update README
1 parent 2df6f4b commit 35b6371

1 file changed

Lines changed: 2 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)