Skip to content

[Ruby] multi line path description breaking gem if 'in' appears #781

@developersteve

Description

@developersteve
Description

Ruby generation breaking if 'in' is in any path multi line description, only seems to be ruby that has an issue language wise.

openapi-generator version

3.2.0

OpenAPI declaration file content or url
          description: |
            A JSON or XML payload containing the recipient's phone number and MMS message.
            The recipient number should be in the format '04xxxxxxxx' where x is a digit.
Steps to reproduce

Generate ruby lib then try to use it, for any description text on a new line the text wont be parsed

Suggest a fix/enhancement

Allow for multi line text to be parsed (check for CR)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions