You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current obtained Kubernetes schemas have flat objects, and nested objects are not inlined. Schemagen works fine on such upstream OpenAPI specs. However, CRDs tend to have inlined object definitions that schemagen will treat as an unstructured object, thus making the generated types lossy. We should enable recursive generating nested object types.
Affected area/feature
Codegen
The text was updated successfully, but these errors were encountered:
Issue details
The current obtained Kubernetes schemas have flat objects, and nested objects are not inlined. Schemagen works fine on such upstream OpenAPI specs. However, CRDs tend to have inlined object definitions that schemagen will treat as an unstructured object, thus making the generated types lossy. We should enable recursive generating nested object types.
Affected area/feature
Codegen
The text was updated successfully, but these errors were encountered: