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

Openapi generation type mismatch from string to byte[] #5072

Closed
niveathika opened this issue Oct 23, 2023 · 1 comment · Fixed by ballerina-platform/openapi-tools#1566
Closed

Comments

@niveathika
Copy link
Contributor

Description:
As per the API spec byte format of the string type is

byte – base64-encoded characters, for example, U3dhZ2dlciByb2Nrcw==

This should be mapped to ballerina string type as we are getting encoded bytestring.

Currently this is mapped to byte[] which results in an error.

Copy link

github-actions bot commented Nov 3, 2023

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 added the Reason/EngineeringMistake The issue occurred due to a mistake made in the past. label Nov 3, 2023
@lnash94 lnash94 added this to the 2201.8.3 milestone Nov 6, 2023
@lnash94 lnash94 moved this to Done in OpenAPI Tool Roadmap Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Status: Done
2 participants