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

Multi line parameter comments are not handled. #5294

Comments

@aneeshafedo
Copy link

Description:

Sample OpenAPI snippet

      - name: stream
        in: query
        description: "A flag indicating whether to stream events for the fine-tune\
          \ job. If set to true,\r\n            events will be sent as data-only server-sent\
          \ events as they become available. The stream will terminate with\r\n  \
          \          a data: [DONE] message when the job is finished (succeeded, cancelled,\
          \ or failed).\r\n            If set to false, only events generated so far\
          \ will be returned.."
        schema:
          type: boolean

Generated Code

image

code contains errors.

Steps to reproduce:

Affected Versions:

OS, DB, other environment details and versions:

Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

@github-actions
Copy link

This issue is NOT closed with a proper Reason/ label. Make sure to add proper reason label before closing. Please add or leave a comment with the proper reason label now.

      - Reason/EngineeringMistake - The issue occurred due to a mistake made in the past.
      - Reason/Regression - The issue has introduced a regression.
      - Reason/MultipleComponentInteraction - Issue occured due to interactions in multiple components.
      - Reason/Complex - Issue occurred due to complex scenario.
      - Reason/Invalid - Issue is invalid.
      - Reason/Other - None of the above cases.

@lnash94 lnash94 transferred this issue from ballerina-platform/openapi-tools Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment