-
Notifications
You must be signed in to change notification settings - Fork 206
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
Fix handling of "empty" types #1474
Comments
|
It's a complex type with a single read-only property according to Swagger. It looks like the JSON schema code generator just makes it out to be a really weird object because it's all readonly. |
This isn't exactly fixed by Azure/k8s-infra#203 but is side-stepped a little - we exclude all of the packages that generate |
This was un-fixed with the introduction of support for We may need the Swagger data. |
Moving to |
We still need to confirm that #2084 fixes this. I think it should but will leave this open until we can confirm. |
There are a number of these that are due to conversion from Swagger where all of the fields of a type are read-only:
For example:
Both of the above are types that are entirely readonly
This causes at least a few errors when controller-gen runs that come out looking like this:
The text was updated successfully, but these errors were encountered: