[Ruby] Incorrect return types if multiple responses are defined

Merge conflicts
UY
2y ago
+664-302

Description

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

openapi-generator version

4.3.1 and higher

OpenAPI declaration file content or url

93476330-56d0d980-f902-11ea-8c1a-32a56a4508c3

Similar Issue for PHP

https://github.com/OpenAPITools/openapi-generator/issues/125

Similar Issue for Python

https://github.com/OpenAPITools/openapi-generator/issues/7426