Skip to content

Conversation

@aide-cloud
Copy link

  • Add support for nested enums and avoid naming conflicts
  • Generate enum values for all enum types, regardless of enum_type setting
  • Use enum field names instead of numeric values
  • Change default type to "string" for enum schema
  • Maintain backwards compatibility with enum_type parameter
  • Update enum handling in reflector and generator

- Add support for nested enums and avoid naming conflicts
- Generate enum values for all enum types, regardless of `enum_type` setting
- Use enum field names instead of numeric values
- Change default type to "string" for enum schema
- Maintain backwards compatibility with `enum_type` parameter
- Update enum handling in reflector and generator
- Remove redundant enum naming functions and logic
- Simplify enum schema creation for nested and file-level enums
- Consolidate enum naming logic in the reflector
- Update generator to use the new enum naming approach
@aide-cloud aide-cloud requested a review from a team as a code owner August 21, 2025 16:05
@google-cla
Copy link

google-cla bot commented Aug 21, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

…ility

- Rename and restructure enum processing functions for better clarity
- Optimize code comments for improved understanding
- Simplify function calls and remove redundant comments
- Add support for generating enumeration values in OpenAPI documentation
- Use field names instead of numeric values for enumerations
- Change default type from "integer" to "string" for enumerations
- Maintain backward compatibility with `enum_type` parameter
- Improve handling of nested enumerations and naming conflicts
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