Created
January 20, 2024 14:44
-
-
Save ushitora-anqou/33601140bb82ac64e7bcd0ba97e5e243 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/bash | |
if [ $(basename "$1") = "io_k8s_apiextensions_apiserver_pkg_apis_apiextensions_v1_json_schema_props.ml" ]; then | |
sed -i "s/Io_k8s_apiextensions_apiserver_pkg_apis_apiextensions_v1_json_schema_props.//g" "$1" | |
fi | |
# OCAML_POST_PROCESS_FILE="$PWD/postprocess.sh" java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generate -i https://raw.githubusercontent.com/kubernetes/kubernetes/release-1.29/api/openapi-spec/swagger.json -g ocaml -o out/ocaml --enable-post-process-file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment