-
Notifications
You must be signed in to change notification settings - Fork 5
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
New enums or enum values in API break end user workflows #113
Comments
The generator offers an option that may be helpful here:
|
Semi-related, we can improve the documentation in the Java SDK for enums by taking advantage of Redocly will also take advantage of this in certain editions: |
Noting for search purposes that the status field enum value that triggered this discussion is |
The I chatted with some folks in the openapi-generator Slack and the consensus there was that plain strings should be used instead of enums (on response models, at least) because of this particular behavior. The downside of plain strings is that it can have a negative impact on rendered docs. That said, our own docs for |
When new enum values are added to the upstream Equinix Metal API, they can cause issues with tooling that expects every enum to exist in the SDK.
We need to investigate how to more automatically add new enum values to the SDK.
The text was updated successfully, but these errors were encountered: