[Ruby] Incorrect return types if multiple responses are defined (reopened)

Merge conflicts
PL
2y ago
+664-302

Description

If you define multiple responses, the codegen will only support the first one (typically 200).

Previous PR

https://github.com/OpenAPITools/openapi-generator/pull/7634