Skip to content
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

Use Object instead ERROR_UNKNOWN as default value for empty names #12327

Merged
merged 1 commit into from
Jan 24, 2024

Conversation

HugoMario
Copy link
Contributor

PR checklist

  • [ x] Read the contribution guidelines.
  • [ x] Ran the shell script under ./bin/ to update Petstore sample so that CIs can verify the change. (For instance, only need to run ./bi/{LANG}-petstore.sh and ./bin/security/{LANG}-petstore.sh if updating the {LANG} (e.g. php, ruby, python, etc) code gen\erator or {LANG} client's mustache templates). Windows batch files can be found in .\bin\windows\.
  • [ x] Filed the PR against the correct branch: 3.0.0 branch for changes related to OpenAPI spec 3.0. Default: master.
  • [ x] Copied the technical committee to review the pull request if your PR is targeting a particular programming language.

Description of the PR

The ERROR_UNKNOWN "keyword" for empty names was causing build errors on output code given that is not a "keyword" known by any language. Instead, Object is being used now.

@HugoMario HugoMario self-assigned this Jan 24, 2024
@HugoMario HugoMario merged commit 16f539d into master Jan 24, 2024
12 of 13 checks passed
@HugoMario HugoMario deleted the issue-12305 branch January 24, 2024 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant