Skip to content

[BUG][Ruby] AnyType does not work #10190

Description

@InTheCloudDan

Bug Report Checklist

  • Have you provided a full/minimal spec to reproduce the issue?
  • Have you validated the input using an OpenAPI validator (example)?
  • Have you tested with the latest master to confirm the issue still exists?
  • Have you searched for related issues/PRs?
  • What's the actual output vs expected output?
  • [Optional] Sponsorship to speed up the bug fix or feature request (example)
Description

When using a spec that includes {} for a property a corresponding AnyType is created. But when going to run code from the Ruby client generator we are getting this error:
``const_get': uninitialized constant LaunchDarklyApi::AnyType (NameError)```

openapi-generator version

5.2.1

OpenAPI declaration file content or url

https://app.launchdarkly.com/api/v2/openapi.json

Generation Details
Steps to reproduce

Generate the ruby client then try to run it with one of the models that use AnyType

Related issues/PRs
Suggest a fix

Similar issue for Kotlin that is closed
#10036

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions