-
Notifications
You must be signed in to change notification settings - Fork 46
-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Instructions to running openapi generator #8
Comments
Hi @jiria There are 2 methods to re-run the openapi generator.
mvn clean package
java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generate -i ${kubernetes-client-c-dir}/kubernetes/swagger.json -g c -o ../kubernetes-client-c --skip-validate-spec You can try it for your case. I have not test for CRD yet. |
Do we support to add user's CRD openapi/swagger spec to the swagger.json? by manual or by kubernetes-client/gen ? Or users only can create/query/update/delete CustomResourceDefinition by kuberntes-client/c |
There are example instructions here: For the Java client, we could do something similar for C |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale This defect traces the client for CRD. |
Thank you for the pointers. I had to switch to the C# SDK due to existing dependencies, so did not really get too far here. But I hope other folks will find this useful as well. Not closing in case you want to track this further. |
The best method to support CRD is generic client now. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
/close |
@ityuhui: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Hello,
Can you please provide instructions/script on rerunning the openapi generator? Specifically, trying to target some CRDs with the C client.
The text was updated successfully, but these errors were encountered: