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

[ruby|client] Fix unmarshalling errors of enums inside other objects #16900

Merged

Commits on Oct 25, 2023

  1. [ruby|client] Fix unmarshalling errors of enums inside other objects

    Ruby|Client autogenerated model classes for Enums do not expose openapi_one_of
    method. Instead they expose openapi_any_of method like:
    
          # List of class defined in anyOf (OpenAPI v3)
          def openapi_any_of
            [
              :String
            ]
          end
    
    Both types (objects and enums) do respond to build() method.
    isimluk committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    4ee5b78 View commit details
    Browse the repository at this point in the history
  2. Regenerate samples

    isimluk committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    0d6a746 View commit details
    Browse the repository at this point in the history