ballerina-platform / ballerina-library

The Ballerina Library
https://ballerina.io/learn/api-docs/ballerina/
Apache License 2.0
136 stars 64 forks source link

Generate a single file for a specific mode in the OpenAPI tool #6662

Closed lnash94 closed 3 months ago

lnash94 commented 4 months ago

Description:

dilanSachi commented 4 months ago

Had an offline discussion with @HindujaB .

In this approach there can be 2 issues that may arise.

  1. If the file content is too much, there can be File too large errors at the codegen phase. But the current limit for this to happen is very high.
  2. And also there maybe some performance impact depending on the code. However, there is no specific impact.

Therefore, we can add a flag to enable this so that even if there are issues, users can generate the files in the default format without any issues.