Closed jack4it closed 2 years ago
Managed to move further with the above @tg123's tip of fixing autorest to version 2. But hit a hard stop as the CRD I'm trying to generate a c# model is based on openapi v3 which the k8s openapi endpoint doesn't really support yet.
Sadly, a hard stop
see thread https://github.com/kubernetes-client/csharp/issues/563 too many breaking changes if move to other generator
you can find current c# generator script at https://dev.azure.com/farmer1992/opensources/_build?definitionId=16&_a=summary
Fixed by #201
Trying to follow the
python-crd-cmd.sh
and see if c# models can be generated, but failed with a mysterious error. Wish someone has experiences of this repo can shed some lights