-
Notifications
You must be signed in to change notification settings - Fork 49
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
Support free-form objects #128
Support free-form objects #128
Conversation
kubernetes/model/object.c
Outdated
cJSON_Delete(item); | ||
return NULL; | ||
if (!object->temporary) { | ||
return cJSON_Parse("{}"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this actually correct? Wouldn't cJSON_Parse("null")
be more appropriate?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"null" is more appropriate. I updated this.
One minor comment wrt what the default value should be, otherwise LGTM. |
Thanks @brendandburns |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: brendandburns, ityuhui The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This PR merges the upstream PR OpenAPITools/openapi-generator#12557 to support
free-form
objects.And fixes #123