Support field names which aren't legal typescript identifiers.

Closed
BR
2mo ago
+94-23

See:

https://github.com/kubernetes-client/javascript/issues/2962


Summary by cubic

Generated TypeScript serializers now fall back to a field’s baseName when its JSON name is not a legal TypeScript identifier, instead of dropping the value.

  • An explicitly provided name value takes precedence when both names are present.
  • Updates generated samples and integration-test expectations; deserialization is unchanged.